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 69522eaedb)

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 d61e0bf975)

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 32b41c88e0)

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 8630040602)

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 6196298750)

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 7cd2f7b34d)

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 b6aed7e1c8)

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 643d9c2387)

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 93cfbb8522)

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 597fc6e5c1)

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 a721e94a0f)

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 f4dfd42725)

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 6f27074c1e)

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 280385acf4)

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 3b18da2bde)

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 728c4c8a10)

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 dd10e3220b)

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 1f5fa1e72b)

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 ac7812ef8d)

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 ec6809611a)

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 715184fa36)

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 1174ad41a5)

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 b9440efbe9)

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 db17c7cea3)

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 34448a7455)

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 5145b366f7)

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 a784adef00)

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 08740df988)

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