Commit Graph

2457 Commits

Author SHA1 Message Date
zhanghaipeng
f28b457554 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 17:20:15 +08:00
zhanghaipeng
a949b43e53 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-26 17:19:54 +08:00
zhanghaipeng
48701401fe fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:48:51 +08:00
chenjianhua
2d1e936062 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-17 16:36:45 +08:00
chenjianhua
a88e680fc8 bluedroid: fixed gatt tcb free when disconnecting 2023-07-17 16:36:45 +08:00
chenjianhua
2a9ded6195 bluedroid: fixed compile warning when optimize for performance 2023-07-17 16:36:45 +08:00
zhanghaipeng
a2c9469e6c fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:20:51 +08:00
zhanghaipeng
ad3414cbd6 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:20:50 +08:00
xiongweichao
4630164d81 bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-04 15:39:42 +08:00
chenjianhua
f92bfe15f2 Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-07-04 15:39:35 +08:00
xiongweichao
0292dc50cf components/bt: Fix crash due to NULL point 2023-07-04 15:39:30 +08:00
wangmengyang
5ebe45433f bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-06-26 15:35:24 +08:00
Jiang Jiang Jian
4c0206c156 Merge branch 'bugfix/hfp_packet_type_err_v4.3' into 'release/v4.3'
Revised (e)SCO configuration parameter sets (v4.3)

See merge request espressif/esp-idf!24355
2023-06-26 10:22:36 +08:00
Jiang Jiang Jian
3fddf4a761 Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v4.3' into 'release/v4.3'
bugfix/Fixed the issue of alarm leak (v4.3)

See merge request espressif/esp-idf!24354
2023-06-26 10:21:57 +08:00
Jin Cheng
988892e0d6 Fixed the issue of alarm leak in hf-ag 2023-06-21 15:36:09 +08:00
Jin Cheng
d817d66d5f Fixed the issue of alarm leak in A2DP 2023-06-21 15:35:59 +08:00
Jin Cheng
3a91557f4e Revised (e)SCO configuration parameter sets 2023-06-21 14:50:20 +08:00
Rahul Tank
c429ef9a97 Nimble:Added change to expose addr resolution API outside stack 2023-06-20 20:00:47 +05:30
chenjianhua
7c916516a8 Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 18:03:12 +08:00
chenjianhua
ea39667b84 Fixed crash when controller initialization fails due to insufficient memory 2023-06-16 18:02:30 +08:00
chenjianhua
bff2748b35 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit a7c1fd9f60.
2023-06-16 17:55:44 +08:00
chenjianhua
8aad580431 bluedroid: fixed default extended connection params 2023-06-16 17:55:21 +08:00
Jiang Jiang Jian
cac7fb93e4 Merge branch 'bugfix/hf_cind_ind_index_v4.3' into 'release/v4.3'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v4.3)

See merge request espressif/esp-idf!23563
2023-06-01 19:44:38 +08:00
Jiang Jiang Jian
eb56474d53 Merge branch 'bugfix/hfp_ag_idx_invalid_v4.3' into 'release/v4.3'
bt: Fixed out of bounds access due to variable length array(v4.3)

See merge request espressif/esp-idf!23668
2023-06-01 19:43:39 +08:00
Jiang Jiang Jian
fabd11b320 Merge branch 'bugfix/s3_compile_error' into 'release/v4.3'
bt: Fixed compilation errors for ESP32S3(v4.3)

See merge request espressif/esp-idf!23957
2023-06-01 19:42:30 +08:00
Rahul Tank
6445a2cc54 Blufi: Fix compilation issue for blufi over NimBLE 2023-06-01 12:56:31 +05:30
xiongweichao
674593177c bt: Fixed compilation errors for ESP32S3 2023-05-30 06:14:02 +00:00
zhiweijian
9e2e3f8d19 Update libphy for ble 1M/2M switch and ble track on ESP32-C3 2023-05-23 11:10:34 +08:00
chenjianhua
87aaf07b0f Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-19 15:58:42 +08:00
chenjianhua
bb1b696e69 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-19 15:57:45 +08:00
chenjianhua
7893c5f479 bluedroid: fix ble adv data construct for device name 2023-05-19 15:57:38 +08:00
chenjianhua
e3594aca70 bluedroid: fix ble smp key distribution setting 2023-05-19 15:57:32 +08:00
chenjianhua
a7c1fd9f60 bluedroid: report disconnect event after BLE link closed 2023-05-19 15:57:25 +08:00
zhiweijian
0f0ea746a9 Fixed BLE disconnection failure on ESP32 2023-05-11 20:18:40 +08:00
zwj
cd4a4a6bb5 Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-05-11 20:18:31 +08:00
zwj
2098472085 Fixed no error report when own address type is rpa_random and no random address setting 2023-05-11 20:18:21 +08:00
zhiweijian
60c5d952db Fixed battery profile wrong condition 2023-05-11 20:18:12 +08:00
xiongweichao
08e3ff3f77 bt: Deleted some redundant variables in HFP_AG 2023-05-10 10:28:38 +08:00
xiongweichao
a21f801eba bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-10 10:28:34 +08:00
xiongweichao
979d63de4d bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-05-10 10:28:29 +08:00
xiongweichao
d2ce8548cd bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:20:08 +08:00
Jiang Jiang Jian
551de84c52 Merge branch 'bugfix/improve_scan_performance_when_scan_and_sync_coexist_v4.3' into 'release/v4.3'
Fixed some ESP32C3/S3 BLE bugs 23-04-22(backport v4.3)

See merge request espressif/esp-idf!23368
2023-04-24 11:09:39 +08:00
Jiang Jiang Jian
f3c5763f0e Merge branch 'bugfix/fix_some_ble_bug_v4.3' into 'release/v4.3'
Fixed some BLE bugs (backport v4.3)

See merge request espressif/esp-idf!23302
2023-04-24 10:46:48 +08:00
zhiweijian
0ca4644ad1 - improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned on ESP32-C3 and ESP32-S3
2023-04-23 22:00:14 +08:00
zhiweijian
96f9fac9c1 Disable controller 5.0 feature bits if host 5.0 feature is not enabled 2023-04-23 21:47:09 +08:00
zwj
f24ca9fdaf Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-23 21:13:25 +08:00
chenjianhua
7c133db8b3 bluedroid: report status after clearing the BLE white list 2023-04-21 14:37:32 +08:00
chenjianhua
c186943097 bluedroid: fix GATTC cache address save 2023-04-21 14:37:31 +08:00
chenjianhua
8dbe4fec0d bluedroid: fix adv and scan state conflict 2023-04-21 14:37:31 +08:00
chenjianhua
31f6dab386 bluedroid: support get bluetooth device name 2023-04-21 14:37:31 +08:00