Commit Graph

5236 Commits

Author SHA1 Message Date
Island c649269947 Merge branch 'feat/support_blecrt_515_v5.5' into 'release/v5.5'
feat(bt/bluedroid): Support get allocated heap size (v5.5)

See merge request espressif/esp-idf!44863
2026-01-16 14:19:07 +08:00
Jiang Jiang Jian 7a628dcc63 Merge branch 'change/remove_unused_marco_defines_for_rssi_limit_v5.5' into 'release/v5.5'
change(bt): Mark RSSI threshold-related macros as deprecated(backport v5.5)

See merge request espressif/esp-idf!44513
2026-01-15 17:08:29 +08:00
Island 553cb5945b Merge branch 'change/ble_update_lib_20260108_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260108 - Update ESP BLE Controller Lib (v5.5)

See merge request espressif/esp-idf!44933
2026-01-15 14:47:11 +08:00
gongyantao c43ad3a99c change(bt): Mark RSSI threshold-related macros as deprecated 2026-01-15 09:47:13 +08:00
Wang Meng Yang 5564b6b98b Merge branch 'docs/update_bt_api_ref_v5.5' into 'release/v5.5'
docs(bt): update Classic Bluetooth api reference(v5.5)

See merge request espressif/esp-idf!44994
2026-01-13 10:10:10 +08:00
yangfeng c05ed8670f docs(bt): update Classic Bluetooth api reference of SDP 2026-01-12 10:27:24 +08:00
yangfeng e0e0562013 docs(bt): update Classic Bluetooth api reference of L2CAP 2026-01-12 10:27:24 +08:00
yangfeng 171f8ab06d docs(bt): update Classic Bluetooth api reference of HID Host 2026-01-12 10:27:24 +08:00
yangfeng 389e50abf4 docs(bt): update Classic Bluetooth api reference of HID Device 2026-01-12 10:27:24 +08:00
yangfeng 9e11c7ba00 docs(bt): update Classic Bluetooth api reference of HFP AG 2026-01-12 10:27:24 +08:00
yangfeng aab8605340 docs(bt): update Classic Bluetooth api reference of HFP Client 2026-01-12 10:27:24 +08:00
yangfeng 38ad274b6f docs(bt): update Classic Bluetooth api reference of HFP Define 2026-01-12 10:27:24 +08:00
yangfeng 9618f956cf docs(bt): update Classic Bluetooth api reference of SPP 2026-01-12 10:27:24 +08:00
yangfeng d3944162d8 docs(bt): update Classic Bluetooth api reference of AVRCP 2026-01-12 10:27:24 +08:00
yangfeng 5da8d6df53 docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 10:27:21 +08:00
yangfeng b7050c9326 docs(bt): update Classic Bluetooth api reference of GAP 2026-01-12 10:25:55 +08:00
Jin Cheng aced53e693 fix(bt/controller): fixed wrong key type during changing connection link key 2026-01-09 18:13:06 +08:00
Rahul Tank 7c471e0401 Merge branch 'bugfix/fix_sending_packet_v5.5' into 'release/v5.5'
fix(nimble): Add packet sending change in case of controller only configuration (v5.5)

See merge request espressif/esp-idf!44900
2026-01-08 21:52:29 +05:30
Zhou Xiao c37e949021 change(ble): [AUTO_MR] Update lib_esp32c6 to acf48208
(cherry picked from commit 69522eaedb28a8c22fdcd77a310840e8ddce1a50)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-08 21:13:43 +08:00
Zhou Xiao eb3d2510eb change(ble): [AUTO_MR] Update lib_esp32c5 to acf48208
(cherry picked from commit d61e0bf975a1eb59eaa8f0e19ee4993956b6a4f8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-08 21:13:43 +08:00
Zhou Xiao 7e832133d5 change(ble): [AUTO_MR] Update lib_esp32h2 to acf48208
(cherry picked from commit 32b41c88e0c531ef1711c770a8fdc4ba00ce0ac2)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-08 21:13:42 +08:00
Wang Meng Yang 9c49790b5c Merge branch 'bugfix/l2cap_malloc_fail_v5.5' into 'release/v5.5'
fix(bt): fix l2cap malloc fail in throughput test(v5.5)

See merge request espressif/esp-idf!44852
2026-01-08 21:13:05 +08:00
Island e78cf39c9b Merge branch 'bugfix/fix_ble_security_issue_2025_v3_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser (v5.5)

See merge request espressif/esp-idf!44667
2026-01-08 17:05:48 +08:00
Rahul Tank 771c74700e fix(nimble): Add packet sending change in case of controller only configuration 2026-01-08 10:13:45 +05:30
zhanghaipeng 9ef7842daa feat(ble/bluedroid): add periodic advertising create sync retry mechanism 2026-01-07 19:28:30 +08:00
Zhang Hai Peng c92bd4679c fix(bt/osi): add NULL check in osi_mutex_free and osi_sem_free (IDFGH-16853)
(cherry picked from commit 863004060215b4730aafa15914729175a2f0f173)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 07ed373646 fix(bt/bluedroid): fix UAF in bta_gattc_enqueue for search service command
(cherry picked from commit 61962987501dbc778d474dc7d6e065211cea557b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 622990b70e feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)


(cherry picked from commit 7cd2f7b34d925f6b4ebcbecf320c2d5a1b2e7036)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 3c3cfb7eaa feat(ble/bluedroid): Increase maximum notify/indication registration count
(cherry picked from commit b6aed7e1c8b22a3813eda17f9436706b725e1de5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 2cf13e5c6d fix(ble/bluedroid): Fix multiple out-of-bounds read vulnerabilities in GATT PDU handlers
(cherry picked from commit 643d9c2387f9fc677025e66faf714667a7e75f85)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng fa99ba7f72 fix(ble/bluedroid): Fix out-of-bounds read in l2cble_process_sig_cmd
(cherry picked from commit 93cfbb8522c8e4cf3c56378fe97f2a7d10a2e5e3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 00e6211ff8 fix(ble/bluedroid): Fix integer underflow in gatt_process_read_by_type_rsp
(cherry picked from commit 597fc6e5c1b4a0448ad3d43185d9d48624085a0c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a805e4e6e8 fix(bt): fix BLE security issue in controller and HCI packet parser
(cherry picked from commit a721e94a0fc78c61f6690126a982ac2966ff400b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhi Wei Jian e5619686eb fix(ble/bluedroid): Fixed bluedroid host get white list size error
(cherry picked from commit f4dfd427250f45e42d7922f4270c4ba96c9fc879)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:35 +08:00
Zhi Wei Jian cbf4640668 fix(ble/bluedroid): Fixed bt buuld error
fix(ble/bluedroid): disable power management if bt is disabled


(cherry picked from commit 6f27074c1ee4486cedf8adeb1a57e67b9cb6a525)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:34 +08:00
Zhi Wei Jian 8e361fc5bb fix(ble/bluedroid): disable some member in tBTA_SYS_CB
(cherry picked from commit 280385acf4d0d97407b072dcc3002936b4dca475)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00
Zhi Wei Jian 04f4602a6a fix(ble/bluedroid): optimize bluedroid host code
(cherry picked from commit 3b18da2bdef039ca6643dd219ba84d4189c32d90)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00
Zhi Wei Jian 016cd78b30 fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK
(cherry picked from commit 728c4c8a1005161fec705dead1e6b493c912385d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00
Zhi Wei Jian e10bb32d8b fix(ble/bluedroid): Fixed build error if scan is disabled
(cherry picked from commit dd10e3220bfc919773c7e5b86a2ebb26e403c396)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:32 +08:00
Zhi Wei Jian bd1c995c65 fix(ble/bluedroid): disable bluedroid background connection
(cherry picked from commit 1f5fa1e72b290b3471f90dfe695dca23f8825181)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:32 +08:00
Zhi Wei Jian 27f9a8a3c9 fix(ble/bluedroid): change tGATT_BG_CONN_DEV to GATT_BG_CONN_DEV
(cherry picked from commit ac7812ef8d89feaba28014587c0fb1eac3ed991a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian a0b1b26efd fix(ble/bluedroid): disable exception list if scan is not enabled
(cherry picked from commit ec6809611a21274b29e44678ae694bf0b21cce02)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian fb6c56d180 fix(ble/bluedroid): disable vendor hci function
(cherry picked from commit 715184fa364fede121838e55722ca8cd536b7a22)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian fcb4030e57 fix(ble/bluedroid): Delete btm_ble_send_extended_scan_params
(cherry picked from commit 1174ad41a5e53e38e6ae6a14fe9f6514c8bf6640)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:30 +08:00
Zhi Wei Jian 8bf14a7c86 fix(ble/bluedroid): change bluedroid scan callback name
(cherry picked from commit b9440efbe9f395d78557de4925922baea0e694c0)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:30 +08:00
Zhi Wei Jian 1f297b4a3a fix(bluedroid): delete bluedroid gatt_listen
(cherry picked from commit db17c7cea3aafdbd93f2c27060e605194d2624b7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:30 +08:00
Zhi Wei Jian edabdeecfc fix(ble/bluedroid): Delete observe and inquiry
(cherry picked from commit 34448a74552ad5aca8e6008dad24bf9aa2b7f5e4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:29 +08:00
Zhi Wei Jian dd898594b1 fix(ble/bluedroid): delete bluedroid unused code
(cherry picked from commit 5145b366f7274856fdfd78f16bfde7cf6a774b67)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:29 +08:00
Zhi Wei Jian 57f330727a fix(ble/bluedroid): Delete batch_scan related code
(cherry picked from commit a784adef004af9e325c7edd18132e8950bd6f09d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:29 +08:00
Zhi Wei Jian 4965bc14ee fix(ble/bluedroid): Delete BLE_HOST_SETUP_STORAGE_EN
(cherry picked from commit 08740df98867cac0af5e00a7ea3eef8f7f1bbe34)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:28 +08:00