Commit Graph

888 Commits

Author SHA1 Message Date
Wang Mengyang
7faee53006 fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized 2025-06-19 07:31:19 +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
Island
f1d4845431 Merge branch 'bugfix/fix_ble_smp_fail_0x82_v5.1' into 'release/v5.1'
Bugfix/fix ble smp fail 0x82 (v5.1)

See merge request espressif/esp-idf!39659
2025-06-09 14:38:38 +08:00
Wang Meng Yang
69bc076fae Merge branch 'change/opt_hid_device_connect_description_v5.1' into 'release/v5.1'
docs(bt/bluedroid): Updated HID Device connect API description (v5.1)

See merge request espressif/esp-idf!39607
2025-06-06 09:25:07 +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
24d04f998c feat(ble/bluedroid): Include SMP state in BLE status reporting
(cherry picked from commit de9a367f13)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-06-04 17:13:17 +08:00
liqigan
56d0e3e297 docs(bt/bluedroid): Updated HID Device connect API description
Closes https://github.com/espressif/esp-idf/issues/16020
2025-06-03 15:38:34 +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
53da6a3be5 Merge branch 'feat/add_avrcp_init_state_event_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP(v5.1)

See merge request espressif/esp-idf!39538
2025-05-30 18:42:34 +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
xiongweichao
0914d3ac3f feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP 2025-05-30 10:21:14 +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
f3116b8b6d fix(bt): fixed spp not reporting write event 2025-05-15 19:03:38 +08:00
xiongweichao
58f7289ebc fix(bt): Fixed the issue with l2cap not using dynamic memory 2025-05-15 19:03:38 +08:00
xiongweichao
1ab16eeb30 feat(bt): Added events for l2cap register and unregister vfs 2025-05-15 19:03:38 +08:00
Zhang Hai Peng
eba787a3df fix(ble/bluedroid): Reduce Bluedroid host log output over SPI
(cherry picked from commit 0586d10317)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:13:27 +08:00
Zhang Hai Peng
62bd4c9db1 fix(ble/bluedroid): Added value len check in esp_ble_gatts_send_indicate()
(cherry picked from commit bfa0fff2e5)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-05-13 16:13:25 +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
Zhang Hai Peng
bff01a9ef3 docs(ble): clarify meaning of 0 value for esp_ble_gap_start_ext_scan() parameters
(cherry picked from commit ebb76933d0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:13:20 +08:00
Zhang Hai Peng
3693bd081a fix(ble/bluedroid): Fixed BLE GAP appearance configuration check
(cherry picked from commit 6552854cb5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:13:18 +08:00
Jiang Jiang Jian
f26d058577 Merge branch 'feat/add_api_get_avrc_status_v5.1' into 'release/v5.1'
feat(bt): Add API to get some information of Classic Bluetooth profile(v5.1)

See merge request espressif/esp-idf!38694
2025-04-28 10:40:49 +08:00
xiongweichao
ed691c3754 fix(bt): Fixed l2cap not reporting stop server completion event 2025-04-24 15:18:45 +08:00
xiongweichao
16d4551e68 feat(bt): Add API to get some information of Classic Bluetooth profile 2025-04-24 10:59:46 +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
6b2dcec533 fix(ble/bluedrooid): Fixed memory leak issue when deinit the host
(cherry picked from commit 6becf74cbb)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-21 16:31:34 +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
xiongweichao
3c89eb44e3 fix(bt/bluedroid): fix the issue of connection failure when initializing multiple profiles
- Due to the number of service security records exceeding the maximum value, the connection failed
2025-03-27 20:01:32 +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
Wang Meng Yang
9c91ff7845 Merge branch 'bugfix/spp_free_server_slot_err_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed freeing spp server memory when disconnected(v5.1)

See merge request espressif/esp-idf!37611
2025-03-12 17:26:48 +08:00
xiongweichao
0c09ca81c1 fix(bt/bluedroid): Fixed freeing spp server memory when disconnected 2025-03-11 09:39:16 +08:00
zhanghaipeng
9689d076b6 feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-10 14:38:55 +08:00
Jin Cheng
674036910a fix(bt/bluedroid): fixed memory leaks in SPP callback mode 2025-02-28 16:16:02 +08:00
Island
e7019570a6 Merge branch 'feat/support_ble_vendor_hci_event_report_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Support BLE vendor hci event reporting (v5.1)

See merge request espressif/esp-idf!37351
2025-02-28 14:30:38 +08:00
Jiang Jiang Jian
cfc64c7299 Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.1' into 'release/v5.1'
bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.1)

See merge request espressif/esp-idf!36848
2025-02-28 11:53:00 +08:00
akshat
e4ed53d412 bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 15:52:10 +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
zhanghaipeng
899140216b fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-02-27 13:11:38 +08:00
zhanghaipeng
45580bb73e fix(ble/bluedroid): Support SPI log output options for HCI 2025-02-27 13:10:32 +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
Wang Meng Yang
76ea699a0a Merge branch 'bugfix/sdp_uuid16_match_err_v5.1' into 'release/v5.1'
fix(bt): Fix the incorrect record found using uuid16 search(v5.1)

See merge request espressif/esp-idf!36852
2025-02-20 14:11:04 +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
xiongweichao
34a7d3f33f fix(bt): Fixed SDP record integrity check bug 2025-02-19 10:29:33 +08:00