JinCheng
5033befc84
fix(bluedroid): removed the code relying on compiler-specific extension for FAM in union
2025-09-27 11:34:19 +08:00
JinCheng
798029129a
fix(bt/bluedroid): fixed potential OOB in Bluedroid
2025-09-26 17:32:12 +08:00
yangfeng
f08c4dbea1
fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data
2025-08-20 14:31:15 +08:00
Island
035e2f5f32
Merge branch 'bugfix/ble_enhanced_security_v2_v5.1' into 'release/v5.1'
...
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.1)
See merge request espressif/esp-idf!41303
2025-08-20 11:18:06 +08:00
Island
bfa768153c
Merge branch 'feat/support_cble50y24_108_v5.1' into 'release/v5.1'
...
Support multi-connection optimization and examples on Bluedroid (v5.1)
See merge request espressif/esp-idf!41196
2025-08-19 21:10:50 +08:00
Shen Wei Long
ade8924897
fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb()
...
(cherry picked from commit 61c13ef849 )
Co-authored-by: Shen Weilong <shenweilong@espressif.com >
2025-08-18 13:23:12 +00:00
Chen Jian Hua
73f68f5993
fix(ble/bluedroid): Fixed the connection count limit in multi-connection
...
(cherry picked from commit 437aba1653 )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-08-18 19:44:36 +08:00
Chen Jian Hua
a757cd256d
fix(bt/bluedroid): adjust L2CAP round robin msg send strategy
...
(cherry picked from commit 2ccae5330e )
Co-authored-by: xuzhekai <xuzhekai@espressif.com >
2025-08-18 19:44:36 +08:00
Zhang Hai Peng
bdb4d0f8e9
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data
...
(cherry picked from commit 12df54e8d1 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-08-15 14:53:23 +08:00
Zhang Hai Peng
0fa5f59d2b
fix(ble/bluedroid): Fixed fail to disconnect when device record is cleared
...
(cherry picked from commit b6dc79af47 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:53:23 +08:00
Zhang Hai Peng
4d4e14a83e
fix(ble/bluedroid): fix incorrect resolving_list_avail_size update
...
(cherry picked from commit ac385530af )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:53:21 +08:00
Zhang Hai Peng
3ebd5ad0fc
fix(ble/bluedroid): ensure resolving list is updated when the oldest device is removed
...
(cherry picked from commit 61606a6f95 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:53:18 +08:00
Zhang Hai Peng
59de68ee84
fix(ble/bluedroid): Fix issue causing BTM_GetSecurityFlags failed
...
(cherry picked from commit 48235c7b25 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-07-25 21:53:16 +08:00
chenjianhua
cdc7d549d1
feat(ble/bluedroid): Support anonymous address type for white list
2025-06-11 11:36:29 +08:00
chenjianhua
a763feb77c
feat(ble/bluedroid): Support BLE vendor event reporting with params
2025-06-11 11:15:52 +08:00
chenjianhua
102017e9bd
fix(bt/bluedroid): Fixed BLE connection active count getting
2025-06-11 11:13:33 +08:00
Chen Jian Hua
f7f78392fc
fix(ble/bluedroid): Fixed extended adv restart failure during reconnection
...
(cherry picked from commit 6392180813 )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-06-10 21:33:17 +08:00
Zhang Hai Peng
1aa126a25f
fix(ble/bluedroid): Fixed BLE SMP state machine inconsistency on disconnection
...
(cherry picked from commit 99121258d4 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-06-04 17:13:19 +08:00
Zhang Hai Peng
08d1f529f4
fix(ble/bluedroid): Fixed null pointer assert in l2c_link_check_send_pkts
...
(cherry picked from commit 8150573012 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-06-03 12:13:22 +08:00
Wang Meng Yang
420604d60f
Merge branch 'fix/incorrect_setting_of_sco_packet_type_mask_v5.1' into 'release/v5.1'
...
fix(bt): fixed incorrect mask was used to exclude sco packets (backport v5.1)
See merge request espressif/esp-idf!39503
2025-05-30 14:21:02 +08:00
gongyantao
1dcc1627b6
fix(bt): fixed incorrect mask was used to exclude sco packets
2025-05-29 09:56:03 +08:00
Zhang Hai Peng
9a3192a8a4
fix(ble/bluedroid): Fixed issue with deleting link key when classic Bluetooth is not used
...
(cherry picked from commit 7c16bce827 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-28 10:53:37 +08:00
Zhang Hai Peng
c8534e9ad7
fix(ble/bluedroid): Fixed clear BLE device recored
...
(cherry picked from commit 21391a45fd )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-28 10:47:08 +08:00
xiongweichao
58f7289ebc
fix(bt): Fixed the issue with l2cap not using dynamic memory
2025-05-15 19:03:38 +08:00
Zhang Hai Peng
9daee9d738
fix(ble/bluedroid): Change maximum length of attribute value to 517
...
(cherry picked from commit df8c1f7a96 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-05-13 16:13:22 +08:00
zhanghaipeng
98a8cca2cf
fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer
2025-04-21 19:19:18 +08:00
Zhang Hai Peng
47c0b07323
fix(ble/bluedroid): Fix missing event reporting in esp_ble_create_sc_oob_data
...
(cherry picked from commit f291725936 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-04-21 16:31:34 +08:00
xiongweichao
4899b56359
feat(bt): Add API to get profile status
2025-04-09 14:18:17 +08:00
baohongde
0a98ca2a32
feat(bt): added definitions for BR/EDR hci vendor commands and events
2025-03-25 15:35:09 +08:00
xiongweichao
3b6ad2ac10
fix(bt/bluedroid): fixed other events being reported when disconnected
...
- Since no initial value is assigned, the variable evt is a random value,
causing the ESP_BT_GAP_DISC_STATE_CHANGED_EVT event to be reported when
the connection is disconnected.
2025-03-21 11:22:36 +08:00
zhanghaipeng
9689d076b6
feat(ble/bluedroid): Support read periodic advertiser list size command
2025-03-10 14:38:55 +08:00
chenjianhua
2e2e44d680
feat(bt/bluedroid): Support BLE vendor hci event reporting
2025-02-27 14:57:03 +08:00
chenjianhua
70c7675b45
feat(bt/bluedroid): Support BLE setting vendor event mask
2025-02-27 14:54:47 +08:00
Zhang Hai Peng
d3051495a5
fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan
...
(cherry picked from commit 7f2cedc048 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-02-21 16:13:33 +08:00
Jiang Jiang Jian
dead621f29
Merge branch 'bugfix/remove_unused_sco_state_v5.1' into 'release/v5.1'
...
Bugfix/remove unused sco state (v5.1)
See merge request espressif/esp-idf!36732
2025-02-20 11:02:25 +08:00
Zhang Hai Peng
c8adc1a9ff
fix(ble/bluedroid): Don't log error on 16/128-bit UUID mixed descriptors
...
(cherry picked from commit fed1d41aa7 )
Co-authored-by: Nebojša Cvetković <nebkat@gmail.com >
2025-02-17 11:14:42 +08:00
Zhang Hai Peng
445d961f22
refactor(ble/bluedroid): Fix typos in gatt_sr.c
...
(cherry picked from commit 63b2dcc3a7 )
Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com >
2025-02-17 11:14:39 +08:00
Wang Mengyang
e558b37b45
change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid
2025-02-05 10:09:13 +08:00
chenjianhua
28de7759b2
fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting
2024-12-18 11:50:53 +08:00
Chen Jian Hua
ee3ecd434b
fix(bt/bluedroid): Fixed setting perfer conn params complete event report
...
(cherry picked from commit 4b352d1c4f )
Co-authored-by: xuzhekai <xuzhekai@espressif.com >
2024-12-18 11:33:21 +08:00
chenjianhua
abe0d3c1ff
feat(ble/bluedroid): Support setting connection params when creating connection
2024-12-03 18:03:36 +08:00
Jin Cheng
e65a01c55a
fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response
2024-11-25 10:20:27 +08:00
xiongweichao
8c485371b9
fix(bt/bluedroid): Fixed the incorrect error code returned
...
when receiving an invalid command
2024-11-22 12:25:23 +08:00
Wang Meng Yang
2b5b526227
Merge branch 'bugfix/fix_memory_leak_in_sco_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable (v5.1)
See merge request espressif/esp-idf!34567
2024-11-08 10:33:05 +08:00
Island
c17d169da0
Merge branch 'feat/support_blecrt_90_v5.1' into 'release/v5.1'
...
feat(bt/bluedroid): Added API to set supported channel selection algorithm (v5.1)
See merge request espressif/esp-idf!34503
2024-11-06 11:50:13 +08:00
linruihao
3dbf454c15
fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable
2024-11-05 15:17:13 +08:00
Zhang Hai Peng
3461f85c66
fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing
...
(cherry picked from commit 76e1650161 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2024-11-04 00:04:45 +08:00
Zhang Hai Peng
1685368ea2
fix(ble/bluedroid): Support enable BLE topology check by API
...
(cherry picked from commit dbc94c7056 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2024-11-04 00:04:45 +08:00
chenjianhua
df08c03024
fix(bt/bluedroid): Update address type for BLE link when the connection is completed
2024-11-03 06:04:26 +08:00
Chen Jian Hua
2f7419e06d
feat(bt/bluedroid): Added API to set supported channel selection algorithm
...
(cherry picked from commit 4ae7b4aecf )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2024-11-03 06:04:26 +08:00