Commit Graph

365 Commits

Author SHA1 Message Date
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
Island
987a61f266 Merge branch 'bugfix/fix_ble_robust_feature_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic (v5.1)

See merge request espressif/esp-idf!34245
2024-10-29 16:04:13 +08:00
Zhang Hai Peng
2eca72f18d fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic
(cherry picked from commit 5126742003)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-17 16:13:21 +08:00
zhanghaipeng
ed1ad4ef27 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:48:10 +08:00
Zhang Hai Peng
94476c72b6 feat(ble/bluedroid): Support resolve BLE address for interval usage
(cherry picked from commit b88b511362)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-25 12:13:19 +08:00
chenjianhua
54b10d1ae1 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:32:04 +08:00
Jiang Jiang Jian
36b9357ef7 Merge branch 'bugfix/fix_sdp_bugs_v5.1' into 'release/v5.1'
Bugfix/fix sdp bugs[backport 5.1]

See merge request espressif/esp-idf!33604
2024-09-20 14:13:42 +08:00
Wang Meng Yang
0e1492b06d Merge branch 'bugfix/fix_some_bugs_in_avrcp_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed some bugs in AVRCP (Backport v5.1)

See merge request espressif/esp-idf!33580
2024-09-20 11:41:06 +08:00
Chen Jian Hua
807acee34c fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails
(cherry picked from commit e4e23087ee)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:26 +08:00
liqigan
3ee6b9e051 change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:42:07 +08:00
linruihao
35ff605f35 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-18 11:26:34 +08:00
xiongweichao
acfa4b00a7 fix(bt/bluedroid): Fix the protocol stack to exit sniff mode
- Already in result mode but request change indication has not been cleared
2024-09-10 11:42:05 +08:00
Nebojša Cvetković
a3eb74cdb7 fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-09-06 10:14:42 +08:00
chenqingqing
20990096b2 fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-28 16:52:03 +08:00