Commit Graph

439 Commits

Author SHA1 Message Date
Jiang Jiang Jian
12535d6d75 Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)

See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
Jiang Jiang Jian
640b86025b Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)

See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
xiongweichao
6fdd8552da Fixed incorrect parameters in switching to BTC context 2022-12-12 11:26:39 +08:00
xiongweichao
c0392d3dd9 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-12-12 11:26:34 +08:00
xiongweichao
f9732cb65f bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-12 11:26:26 +08:00
Jin Cheng
a1de1bfd3c correct the SR_mode selection when konw nothing about Peripheral 2022-12-09 10:24:24 +08:00
xiongweichao
654e198464 bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init() 2022-12-07 09:38:24 +00:00
xiongweichao
c2c9b090c7 bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM 2022-12-07 09:38:24 +00:00
xiongweichao
6d57e7878d bt: Keep the maximum number of credits unchanged 2022-12-07 09:38:24 +00:00
xiongweichao
aa25c4391c bt: Replaced the tx queue in SPP VFS mode with ringbuffer 2022-12-07 09:38:24 +00:00
xiongweichao
6d9987f4c8 bt: Split SPP application layer data packets according to the MTU of the peer 2022-12-07 09:38:24 +00:00
xiongweichao
bce0e93b73 bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size 2022-12-07 09:38:24 +00:00
zwj
7884457d1f Reduce the stack consumption of BTU_TASK 2022-12-05 17:12:27 +08:00
Wang Meng Yang
755ee147bd Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
Support bluedroid host maximum number of connections to 9 (backport v5.0)

See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
Jiang Jiang Jian
316e0e2295 Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]

See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
Jiang Jiang Jian
f83a531929 Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v5.0' into 'release/v5.0'
component_bt: Fixed a2dp failing to connect again after disconnect(v5.0)

See merge request espressif/esp-idf!21342
2022-12-02 20:38:13 +08:00
Jiang Jiang Jian
d92765bf9c Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
bt/optimized a2dp_sink audio datapath (v5.0)

See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
Jiang Jiang Jian
52b0a5a1d5 Merge branch 'bugfix/fix_hfp_clcc_parser_bug_5.0' into 'release/v5.0'
Bugfix/Fix HFP client parse CLCC command response bug[backport 5.0]

See merge request espressif/esp-idf!21155
2022-12-02 20:34:18 +08:00
Jiang Jiang Jian
6442112bb9 Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)

See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
Jiang Jiang Jian
af7322aed5 Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
fixed the issue iOS devices cannot initiate connection (v5.0)

See merge request espressif/esp-idf!21063
2022-12-02 20:32:03 +08:00
zhiweijian
2a76e35ed1 bluedroid host supports the maximum number of connections to 9 2022-12-02 12:18:40 +08:00
liqigan
ad43b04898 fix HID device can not remove virtually cabled device without a connection
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
xiongweichao
d47bf56850 Fixed a2dp failing to connect again after disconnect 2022-11-30 18:46:59 +08:00
Jin Cheng
75b2e639e1 optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
zwj
0af189b012 Fixed errors reported by CI clang_tidy_check 2022-11-21 10:33:35 +08:00
zwj
2e0a5b3111 Fixed sometimes BTU task overflow when doing read and write performance test 2022-11-21 10:33:35 +08:00
liqigan
2539529360 fix HFP client parse CLCC command response bug 2022-11-18 19:38:58 +08:00
Jin Cheng
650b665384 fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:45:34 +08:00
xiongweichao
cb647b5198 bt: Fixed SPP VFS mode not being able to send data 2022-10-26 16:41:09 +08:00
xiongweichao
47232f54a8 bt: Fixed esp_spp_write() crash when len is 0
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:40:56 +08:00
Jin Cheng
3314fcfdf7 Revert "fixed the issue iOS devices cannot initiate connection"
This reverts commit da44fc9cbe.
2022-10-18 19:47:10 +08:00
Jin Cheng
dec4052ed7 fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-14 03:28:18 +00:00
Jiang Jiang Jian
d3ae5ed08f Merge branch 'backport/cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs on bluedroid (backport v5.0)

See merge request espressif/esp-idf!20510
2022-10-11 17:47:26 +08:00
chenjianhua
a207f218ea bluedroid: configurable max gattc cache characteristic count 2022-10-09 17:07:53 +08:00
chenjianhua
3f3ca8bf60 fix ble adv tx power map 2022-10-09 17:07:53 +08:00
chenjianhua
548cce624c bluedroid: fix ble rpa generate and update by host 2022-10-09 17:07:53 +08:00
chenjianhua
e9dd8a6bf5 Revert "component/bt: add local irk to controller"
This reverts commit 95c35288bc.
2022-10-09 17:07:53 +08:00
chenjianhua
f96e38a70d Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
This reverts commit 1cc0f6aac5.
2022-10-09 17:07:53 +08:00
chenjianhua
03832cceeb Bluedroid: Configurable option to modify max gatt service attributes count 2022-10-09 17:07:53 +08:00
zwj
2fe4ff7031 allow bluedroid host to report adv_ind separately 2022-10-08 14:53:53 +08:00
Jiang Jiang Jian
096fdb8bb4 Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
Bugfix/bludroid debug esp32c2

See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
cjin
a5c543a7a9 fix err using rpa for confirmation calculation 2022-09-20 18:06:45 +08:00
cjin
3112c8b954 mbuf copy hci data error fix 2022-09-20 18:06:45 +08:00
cjin
143a572b55 fix on data len change cmd malfunction 2022-09-20 18:06:45 +08:00
Jiang Jiang Jian
b585bdd739 Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err_v5.0' into 'release/v5.0'
Fixed extend adv tx power range error (backport v5.0)

See merge request espressif/esp-idf!20226
2022-09-20 16:07:26 +08:00
zwj
07c4eb8841 Fixed extend adv tx power range error 2022-09-19 16:21:22 +08:00
xiongweichao
09cc360b43 Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-09-15 11:35:25 +00:00
satish.solanke
622bfa3e28 updating doc for the issue doc_3566 2022-09-09 10:32:53 +05:30
Jiang Jiang Jian
cb508c7d6a Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v5.0' into 'release/v5.0'
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v5.0)

See merge request espressif/esp-idf!19950
2022-09-08 17:25:24 +08:00
zwj
dc010b701b fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-06 21:28:06 +08:00