Zhi Wei Jian
551c40ed07
feat(ble/bluedroid): Support PAWR connection event
...
(cherry picked from commit 7da7fa42ac )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-08-03 15:26:01 +08:00
Jin Cheng
fdcb70e608
fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI
2026-07-23 07:42:23 +08:00
Zhi Wei Jian
05e35f842a
fix(ble/bluedroid): clean up LE CoC connect on CCB alloc failure
...
(cherry picked from commit 4fd1ebb4a9 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-07-14 12:04:25 +08:00
Zhi Wei Jian
87d614ba91
feat(ble/bluedroid): Support bluedroid LE COC and EATT features
...
(cherry picked from commit 83f0831c53 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-07-14 11:56:06 +08:00
Jin Cheng
2a6c38d1eb
fix(bt/bluedroid): fixed possible OOB read/write in process_l2cap_cmd
2026-06-30 14:42:56 +08:00
Zhang Hai Peng
b13f63fd7f
fix(ble/bluedroid): report conn param update failure for unknown BD_ADDR
...
Route unknown BD_ADDR and other immediate failures through the existing
need_cb path so ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT is always delivered.
(cherry picked from commit f9eaeb5e84 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
3a0344e321
fix(ble/bluedroid): skip identity conversion for static random direct connect
...
Do not rewrite static or non-resolvable random peer addresses to
identity type 0x03 when CONFIG_BT_BLE_RPA_SUPPORTED is enabled.
(cherry picked from commit 2ef10ef488 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-29 19:04:29 +08:00
Jiang Jiang Jian
97ccc904c5
Merge branch 'bugfix/bbp_isses_v6.0' into 'release/v6.0'
...
Bugfix/bbp isses v6.0
See merge request espressif/esp-idf!49624
2026-06-29 15:40:16 +08:00
Jiang Jiang Jian
870760093f
Merge branch 'bugfix/acl_conn_state_error_v6.0' into 'release/v6.0'
...
fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS (v6.0)
See merge request espressif/esp-idf!49313
2026-06-29 15:37:20 +08:00
Jin Cheng
9a6d04f65e
fix(bt/bluedroid): added buffer length check for L2CAP related functions
2026-06-12 18:32:39 +08:00
yangfeng
023639b75b
fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS
...
- Closes https://github.com/espressif/esp-idf/issues/18562
2026-06-05 14:17:47 +08:00
Zhang Hai Peng
7971ea4ac7
feat(ble/bluedroid): add auto-setting for is_aux parameter in esp_ble_gattc_enh_open
...
(cherry picked from commit 1a9f2af505 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-06-02 10:23:38 +08:00
Island
ad811ed6b2
Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v6.0' into 'release/v6.0'
...
Fixed read remote feature timeout when using coded phy(2f683593) (6.0)
See merge request espressif/esp-idf!48064
2026-05-12 18:01:37 +08:00
zhanghaipeng
142aea35f3
fix(ble): Optimize connection interval minimum parameter check
2026-05-11 11:19:36 +08:00
Jin Cheng
c61e95a86e
fix(bt/bluedroid): fixed the vulerabilities from AI code review in Bluedroid
2026-05-09 11:05:19 +08:00
Jin Cheng
362c22e710
fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in Bluedroid
2026-05-09 11:05:10 +08:00
zhiweijian
bc9bdd4580
fix(ble/bluedroid): optimize bluedroid host and fix GAP, memory, status and BTM API issues
...
- return HCI_ERR_MEMORY_FULL on cmd buffer alloc failure
- remove legacy adv/scan semaphores and mutex
- Use the same legacy gap callback instead of each independent legacy gap event callback
2026-04-24 15:12:54 +08:00
Zhi Wei Jian
38a232d1b5
fix(ble/bluedroid): BLE credit, reject when p_rcb NULL, timeout and leak fixes
...
- l2c_int: align struct/constant types with l2c_ble/l2c_main
- l2c_api: null/state checks in L2CA_SendFixedChnlData
- l2c_ble: reject when p_rcb==NULL, add L2CAP_CMD_BLE_FLOW_CTRL_CREDIT;
l2cble_init_direct_conn int64_t timeout and link_timeout==0 fix
- l2c_link: null/state checks and cleanup in hci_disc_comp/timeout/send_to_lower
- l2c_main: free p_msg on FCR non-Basic and COC branches; fix LE credit handling;
process_l2cap_cmd bounds
- l2c_utils: credit/queue cleanup and null checks in l2cu_disconnect_chnl
(cherry picked from commit 16d523e9bf )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-04-24 15:12:54 +08:00
Zhi Wei Jian
b693cb7091
fix(ble/bluedroid): fix L2CAP, SMP and HCI command issues
...
- Fix active_count check in l2cu_ble_plcb_active_count
- Restore previous state if connection command fails
- Fix HCI cmd buffer size off-by-one errors
- Fix connect handle length errors
- Fix channel sounding event status handling
- Fix SMP param_len check in smp_rand_back
- Fix spelling: BROCASTER to BROADCASTER in definitions
(cherry picked from commit e118d053b3 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-04-24 15:12:53 +08:00
Zhi Wei Jian
8f040d13fb
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:52 +08:00
Zhi Wei Jian
ff4e5d2a56
fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK
...
(cherry picked from commit 728c4c8a10 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:51 +08:00
Zhi Wei Jian
174e4144fd
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:49 +08:00
Zhi Wei Jian
a4d95d13b4
fix(ble/bluedroid): Disable bluedroid desire_role
...
(cherry picked from commit 9ae4d9a14a )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:39 +08:00
Zhi Wei Jian
edd5208bb5
fix(ble/bluedroid): disable bluedroid role_change
...
(cherry picked from commit 250553c50d )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:38 +08:00
Zhang Hai Peng
bab78394e2
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-05 00:03:36 +08:00
Jin Cheng
af327e091d
fix(bt/bluedroid): cleaned the code according to the tool cppcheck
2025-12-19 11:17:18 +08:00
Jin Cheng
208eb56736
fix(bt/bluedroid): fixed p_data null dereference in l2c_csm_open
2025-12-19 11:17:17 +08:00
Island
14c6f73885
Merge branch 'bugfix/fix_reconnect_failed_with_extend_adv_v6.0' into 'release/v6.0'
...
fix(ble/bluedroid): Fixed the issue that extend advertising might not restart if the connection fails (v6.0)
See merge request espressif/esp-idf!44252
2025-12-18 10:50:36 +08:00
Jin Cheng
45aeaf97c4
fix(bt/bluedroid): fixed possible access to NULL in l2c_fcr_clone_buf
2025-12-16 11:37:58 +08:00
Zhi Wei Jian
2c8df059cc
fix(ble/bluedroid): Fixed reconnection failed with extend adv
...
(cherry picked from commit ec4052c1c7 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2025-12-15 21:23:26 +08:00
Island
df80f1d9cb
Merge branch 'feat/support_bluedroid_host_pawr_v6.0' into 'release/v6.0'
...
feat(ble/bluedroid): Add bluedroid host PAwR and Advertising Coding Selection features (backport for v6.0)
See merge request espressif/esp-idf!43398
2025-11-17 19:04:11 +08:00
Island
6abb39815a
Merge branch 'feat/support_bhost2025_44_v6.0' into 'release/v6.0'
...
feat(ble/bluedroid): Add more debug log for bluedroid (v6.0)
See merge request espressif/esp-idf!43367
2025-11-17 14:52:02 +08:00
zhiweijian
36d0885589
fix(ble/bluedroid): Fixed CTE IQ sample data copy error
2025-11-14 20:49:09 +08:00
zhiweijian
1115165ea0
feat(ble/bluedroid): Supported BLE bluedroid host pawr connection
2025-11-14 18:02:07 +08:00
Chen Jian Hua
21a2b068c6
feat(ble/bluedroid): Add more debug log for bluedroid
...
(cherry picked from commit 1aeb965607 )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-11-14 13:33:23 +08:00
liqigan
ed7e22cdc7
fix(bt/bluedroid): Fixed HID memory leak
2025-11-13 17:44:08 +08:00
zhanghaipeng
45775a3e35
feat(ble/bluedroid): Added BLE debug LOG for bluedroid
2025-09-26 20:10:32 +08:00
Shen Weilong
61c13ef849
fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb()
2025-08-18 10:44:22 +08:00
xuzhekai
2ccae5330e
fix(bt/bluedroid): adjust L2CAP round robin msg send strategy
2025-08-12 11:02:38 +08:00
chenjianhua
6392180813
fix(ble/bluedroid): Fixed extended adv restart failure during reconnection
2025-06-10 15:06:03 +08:00
zhanghaipeng
8150573012
fix(ble/bluedroid): Fixed null pointer assert in l2c_link_check_send_pkts
2025-05-30 17:37:21 +08:00
chenjianhua
5fb8cc06ab
fix(bt/bluedroid): Fixed BLE connection active count getting
2025-02-20 19:42:40 +08:00
zhiweijian
69acda1785
feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN
2025-02-17 14:55:55 +08:00
zhiweijian
fb08e4eafe
feat(bt/bluedroid): optimize bluedroid menuconfig
2025-02-17 14:51:10 +08:00
chenjianhua
e5789a8ca1
feat(ble/bluedroid): Support setting connection params when creating connection
2024-11-26 12:10:27 +08:00
chenjianhua
d53572ab10
fix(bt/bluedroid): Update address type for BLE link when the connection is completed
2024-10-15 11:10:17 +08:00
chenjianhua
6962bca5fa
fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist
2024-07-23 20:31:43 +08:00
zhanghaipeng
bc1851d793
fix(ble/bluedroid): Optimize BLE stack connect callback name
2024-05-06 15:43:09 +08:00
zhanghaipeng
f2cfe4a0f0
fix(ble/bluedroid): Fixed BLE no data length change event
2024-05-06 15:34:21 +08:00
zhiweijian
adde5a3dd6
fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e
2024-04-08 14:51:33 +08:00