3360 Commits

Author SHA1 Message Date
zhanghaipeng
4593ae0741 fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:23:55 +08:00
zhanghaipeng
7212e4e1a8 feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:45:10 +08:00
linruihao
33b517a273 fix(bt/controller): Fixed some controller bugs
- Fixed fail to establish eSCO when connected to two devices
- Changed some error log level to Debug if the error have a workaround

Closes https://github.com/espressif/esp-idf/issues/12340
2024-07-08 14:27:06 +08:00
liqigan
efdda3105d fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-08 14:27:06 +08:00
Rahul Tank
404d41c71c Merge branch 'bugfix/revert_extra_print_v5.0' into 'release/v5.0'
Revert "fix(nimble): Added debug print to check for skipped adv report" (v5.0)

See merge request espressif/esp-idf!31934
2024-07-08 14:16:06 +08:00
Island
6ed2802567 Merge branch 'fix/blemesh24_61_v5.0' into 'release/v5.0'
fix/blemesh24_61 (v5.0)

See merge request espressif/esp-idf!31567
2024-07-08 14:06:51 +08:00
Rahul Tank
e5e63be1b8 Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 69ad6bb5d1413bdbec77c3887d0db577453e0e40.
2024-07-05 18:10:27 +05:30
Island
8599e25cfe Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6_v5.0' into 'release/v5.0'
Some checks failed
docker / docker (push) Has been cancelled
Bugfix/fixed ble issues on esp32c2 esp32c6 (v5.0)

See merge request espressif/esp-idf!31862
2024-07-05 10:39:18 +08:00
luoxu
110b7adc6a fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:12:48 +08:00
luoxu
006086c50b feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:12:48 +08:00
zwl
422c244fa6 fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-02 15:44:55 +08:00
Rahul Tank
69ad6bb5d1 fix(nimble): Added debug print to check for skipped adv report 2024-07-01 15:34:05 +05:30
Jiang Jiang Jian
9a0c562b94 Merge branch 'bugfix/fix_ble_connect_fail_report_time_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE report event when connection fails (v5.0)

See merge request espressif/esp-idf!31784
2024-07-01 14:19:55 +08:00
Rahul Tank
dc13544d53 Merge branch 'bugfix/set_correct_cb_arg_v5.0' into 'release/v5.0'
fix(nimble): Pass the correct cb arg during reconnection attempt (v5.0)

See merge request espressif/esp-idf!31720
2024-06-28 20:58:41 +08:00
zhanghaipeng
eec3f541f0 fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:51 +08:00
Island
ef922dd380 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs 240620 (backport v5.0)

See merge request espressif/esp-idf!31648
2024-06-26 20:33:09 +08:00
Jiang Jiang Jian
f864a09ca6 Merge branch 'bugfix/l2cap_use_wrong_handle_v5.0' into 'release/v5.0'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event(v5.0)

See merge request espressif/esp-idf!31281
2024-06-26 10:36:50 +08:00
Island
04c4ec4ac3 Merge branch 'feat/optimize_bt_porting_layer_0619_v5.0' into 'release/v5.0'
Feat/optimize bt porting layer 0619 (v5.0)

See merge request espressif/esp-idf!31675
2024-06-25 14:18:53 +08:00
Rahul Tank
4f0a43e039 fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:35:34 +05:30
chenjianhua
ef3c6da507 feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-24 19:48:36 +08:00
chenjianhua
b9fb0b8907 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-24 19:48:36 +08:00
chenjianhua
1b65330ac5 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-24 19:48:36 +08:00
chenjianhua
35e79a6437 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-06-24 19:48:36 +08:00
gongyantao
0745e7d884 fix(bt): add integrity check when temporary link key selected 2024-06-24 17:51:43 +08:00
zwl
a76076fe14 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 16:03:18 +08:00
Rahul Tank
a0824ba73c fix(nimble): Clear resource before re-starting advertising 2024-06-20 11:04:42 +05:30
xiongweichao
6ff142be7e fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-06-17 19:02:51 +08:00
xiongweichao
4633d09ff1 fix(bt/bluedroid): Fixed L2CAP using wrong handle
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-06-17 19:02:51 +08:00
zwl
1c2d0d20c0 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-17 16:44:32 +08:00
Rahul Tank
1ab61d2d33 fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-14 12:08:02 +05:30
linruihao
67eb7a79bf fix(bt/controller): Fixed assert issue caused by DPORT access 2024-06-13 17:35:22 +08:00
zhanghaipeng
3883a4e250 fix(ble/controller): Update esp32 bt-lib (1e63e23)
- Optimized GATT write and notify throughput on ESP32
- Fixed BLE connect timeout after using DTM on ESP32
- Added ke memory debug tools on ESP32
- Fixed memory leak issue when BLE SCAN and other event coexist on ESP32
2024-06-13 16:39:57 +08:00
Island
9e49bf80b3 Merge branch 'bugfix/fix_ble_pktlen_change_v5.0' into 'release/v5.0'
Bugfix/fix ble pktlen change (v5.0)

See merge request espressif/esp-idf!31252
2024-06-13 11:03:31 +08:00
Abhinav Kudnar
b9205a00af fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-06 10:15:38 +05:30
gongyantao
5c6c256630 fix(bt): fix some issues in bluetooth controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
3: fix role switch LMP collision bug
2024-06-05 09:13:18 +08:00
Rahul Tank
73fb760c8a fix(nimble): Explicitly NULL assign adv data 2024-06-04 12:17:42 +05:30
Island
add3c94c02 Merge branch 'feat/add_hci_log_record_for_nimble_v5.0' into 'release/v5.0'
feat(bt/nimble): support hci log for nimble (backport v5.0)

See merge request espressif/esp-idf!31216
2024-06-04 14:18:56 +08:00
Island
b6f8340101 Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master_v5.0' into 'release/v5.0'
Bugfix/esp32c2 fixed some ble issues master (v5.0)

See merge request espressif/esp-idf!31235
2024-06-04 10:22:00 +08:00
Island
432f1ff7eb Merge branch 'fix/ble_mesh_gatts_bugfix_v5.0' into 'release/v5.0'
BLE Mesh Gatts bugfix (v5.0)

See merge request espressif/esp-idf!30875
2024-06-03 10:27:10 +08:00
zhiweijian
1c834a6e6e feat(bt/nimble): support hci log for nimble 2024-06-03 09:53:15 +08:00
zhanghaipeng
846273356a fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 19:26:38 +08:00
zhanghaipeng
1d8f0aec81 fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 19:26:27 +08:00
Rahul Tank
f6c564115b fix(nimble): Use appendfrom to duplicate adv data 2024-06-01 20:32:18 +05:30
zwl
1f97c76d0c ble: fixed ble some issues on esp32c2 2024-05-31 17:14:43 +08:00
Island
1505232737 Merge branch 'bugfix/bleqabr24-549_v5.0' into 'release/v5.0'
fix(ble_mesh): fix issues in mesh deinit_v5.0

See merge request espressif/esp-idf!30543
2024-05-31 15:18:28 +08:00
luoxu
cafc47cf07 fix(ble_mesh): Create service after service register success 2024-05-31 12:11:26 +08:00
luoxu
1121ffa55d fix(ble_mesh): fix issues in mesh deinit 2024-05-30 20:42:06 +08:00
Rahul Tank
e049357001 fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-29 15:40:52 +05:30
Abhinav Kudnar
b819382db2 feat(nimble): Added API to get resolve ADV data 2024-05-28 18:04:07 +08:00
Alexey Lapshin
ef4a5fda2d fix(bt): fix gcc 13.1.0 warnings 2024-05-28 15:57:46 +08:00