Commit Graph

1772 Commits

Author SHA1 Message Date
Jin Cheng
735ab37a2f fix(bt): enhanced packet length check in sdp_server.c 2026-01-20 13:02:12 +08:00
Jin Cheng
1226e99d09 fix(bt): enhanced packet length check for avrc_pars_vendor_cmd 2026-01-20 13:02:12 +08:00
Jin Cheng
1a3a670e23 fix(bt): enhanced packet length check for HCI module 2026-01-20 13:02:12 +08:00
Jin Cheng
4eac129ac1 fix(bt): validated UUID parameters in BTA_JvStartDiscovery 2026-01-20 13:02:12 +08:00
Island
b4ab1c0e7c Merge branch 'fix/uaf_in_bluedroid_attp_v5.4' into 'release/v5.4'
fix(ble): fixed use-after-free in bluedroid attp (v5.4)

See merge request espressif/esp-idf!45158
2026-01-16 19:05:05 +08:00
Island
5d7bb9d2c4 Merge branch 'feat/ble_log_hci_log_len_limit_support_v5.4' into 'release/v5.4'
Feat/ble log hci log len limit support (v5.4)

See merge request espressif/esp-idf!45147
2026-01-16 19:04:15 +08:00
Rahul Tank
eb32f3205a Merge branch 'bugfix/periodic_adv_sync_lost_psync_handle_v5.4' into 'release/v5.4'
fix(nimble): Handling of psync during sync lost (v5.4)

See merge request espressif/esp-idf!45044
2026-01-16 12:30:01 +05:30
Island
142ab2e0dd Merge branch 'feat/support_blecrt_515_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Support get allocated heap size (v5.4)

See merge request espressif/esp-idf!44862
2026-01-16 14:19:05 +08:00
Zhou Xiao
983b4b9de5 fix(ble): fixed use-after-free in bluedroid attp
(cherry picked from commit 78594e0f6e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 19:13:22 +08:00
Zhou Xiao
8b74be435d feat(ble): added sdkconfig to control ble host side hci log
(cherry picked from commit 52c2bd2dd6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:23 +08:00
Wang Meng Yang
67265547ba Merge branch 'bugfix/l2cap_malloc_fail_v5.4' into 'release/v5.4'
fix(bt): fix l2cap malloc fail in throughput test(v5.4)

See merge request espressif/esp-idf!44851
2026-01-14 20:05:40 +08:00
Astha Verma
76acdf3b28 fix(nimble): Handling of psync during synchronization timeout (0x3e) 2026-01-14 13:38:36 +05:30
Wang Meng Yang
9af3a7febf Merge branch 'docs/update_bt_api_ref_v5.4' into 'release/v5.4'
docs(bt): update Classic Bluetooth api reference(v5.4)

See merge request espressif/esp-idf!44995
2026-01-13 10:11:11 +08:00
Island
2db315cb52 Merge branch 'bugfix/fix_ble_security_issue_2025_v3_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser (v5.4)

See merge request espressif/esp-idf!44666
2026-01-12 12:10:41 +08:00
yangfeng
5ec9191082 docs(bt): update Classic Bluetooth api reference of SDP 2026-01-12 10:50:21 +08:00
yangfeng
fa044eb99b docs(bt): update Classic Bluetooth api reference of L2CAP 2026-01-12 10:50:21 +08:00
yangfeng
3fdc3fd3c8 docs(bt): update Classic Bluetooth api reference of HID Host 2026-01-12 10:50:21 +08:00
yangfeng
e651878136 docs(bt): update Classic Bluetooth api reference of HID Device 2026-01-12 10:50:21 +08:00
yangfeng
97f7eadcc3 docs(bt): update Classic Bluetooth api reference of HFP AG 2026-01-12 10:50:21 +08:00
yangfeng
035bcad7f6 docs(bt): update Classic Bluetooth api reference of HFP Client 2026-01-12 10:50:21 +08:00
yangfeng
4488894b5f docs(bt): update Classic Bluetooth api reference of HFP Define 2026-01-12 10:50:20 +08:00
yangfeng
22f8873fa5 docs(bt): update Classic Bluetooth api reference of SPP 2026-01-12 10:47:45 +08:00
yangfeng
8f204ce250 docs(bt): update Classic Bluetooth api reference of AVRCP 2026-01-12 10:47:44 +08:00
yangfeng
2866f411e3 docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 10:47:43 +08:00
yangfeng
760bb70410 docs(bt): update Classic Bluetooth api reference of GAP 2026-01-12 10:30:26 +08:00
Jiang Jiang Jian
9a7ac75c72 Merge branch 'change/remove_unused_marco_defines_for_rssi_limit_v5.4' into 'release/v5.4'
change(bt): Mark RSSI threshold-related macros as deprecated(backport v5.4)

See merge request espressif/esp-idf!44514
2026-01-09 19:26:51 +08:00
zhanghaipeng
01fc843a33 feat(ble/bluedroid): add periodic advertising create sync retry mechanism 2026-01-09 14:11:17 +08:00
Zhang Hai Peng
565b6799b2 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-09 14:09:16 +08:00
Zhang Hai Peng
d1bf2668c1 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-09 14:09:16 +08:00
Zhang Hai Peng
28e016917c feat(ble/bluedroid): Increase maximum notify/indication registration count
(cherry picked from commit b6aed7e1c8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng
d069b07c32 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-09 14:09:16 +08:00
Zhang Hai Peng
041af013e5 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-09 14:09:16 +08:00
Zhang Hai Peng
1f8d6813fe 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-09 14:09:16 +08:00
Zhang Hai Peng
5838a204a8 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-09 14:09:16 +08:00
xiongweichao
fd4feef38a fix(bt): retry when L2CAP write fails 2026-01-09 06:05:02 +00:00
xiongweichao
62853636df fix(bt): fix l2cap malloc fail in throughput test 2026-01-09 06:05:02 +00:00
Zhi Wei Jian
5026daf6c3 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:15 +08:00
Zhi Wei Jian
f59bff13ee 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:15 +08:00
Zhi Wei Jian
db5a8a350b 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:14 +08:00
Zhi Wei Jian
1b29279016 fix(ble/bluedroid): optimize bluedroid host code
(cherry picked from commit 3b18da2bde)

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:13 +08:00
Zhi Wei Jian
2b1d1e6c4e 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:13 +08:00
Zhi Wei Jian
a9efe24334 fix(ble/bluedroid): disable bluedroid background connection
(cherry picked from commit 1f5fa1e72b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:13 +08:00
Zhi Wei Jian
42a266c01b 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:12 +08:00
Zhi Wei Jian
4ba19e25d8 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:12 +08:00
Zhi Wei Jian
ac58ccf453 fix(ble/bluedroid): disable vendor hci function
(cherry picked from commit 715184fa36)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:12 +08:00
Zhi Wei Jian
cf53406f18 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:11 +08:00
Zhi Wei Jian
4ff844477c 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:11 +08:00
Zhi Wei Jian
30c6a3e92e fix(bluedroid): delete bluedroid gatt_listen
(cherry picked from commit db17c7cea3)

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

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