Commit Graph

5089 Commits

Author SHA1 Message Date
Jin Cheng
0813a2e8c9 fix(bt): fixed semaphore deletion condition in UART DMA deinit 2026-01-20 13:02:12 +08:00
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
Island
47a1d6463f Merge branch 'change/ble_update_lib_20260108_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20260108 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!44932
2026-01-16 16:03:56 +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
Zhou Xiao
f532282c48 feat(ble): support ll log payload length limit for ble log v2
(cherry picked from commit 82ee820cf8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:22 +08:00
Zhou Xiao
6c7d42d6e2 change(ble): optimized os_mbuf_copydata thread safety protection
(cherry picked from commit 52754b1aa4)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:22 +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
Wang Meng Yang
01fe1caf42 Merge branch 'bugfix/key_type_notify_err_v5.4' into 'release/v5.4'
fix(bt/controller): fixed wrong key type during changing connection link key (v5.4)

See merge request espressif/esp-idf!44976
2026-01-13 10:02:56 +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
Jin Cheng
3d002a3531 fix(bt/controller): fixed wrong key type during changing connection link key 2026-01-09 18:14:26 +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
1b19f6487f 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-09 14:09:16 +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
Rahul Tank
1c28a9b33e Merge branch 'bugfix/fix_sending_packet_v5.4' into 'release/v5.4'
fix(nimble): Add packet sending change in case of controller only configuration (v5.4)

See merge request espressif/esp-idf!44901
2026-01-08 21:54:14 +05:30
Zhou Xiao
e1a03cb3dd 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:40 +08:00
Zhou Xiao
b07734d5df 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:38 +08:00
Rahul Tank
6ac662d4ea fix(nimble): Add packet sending change in case of controller only configuration 2026-01-08 10:17:08 +05:30
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