Commit Graph

323 Commits

Author SHA1 Message Date
Zhang Hai Peng cd793de75a fix(ble/bluedroid): prevent crash when deinit/disable host during scan
Crash occurs if the BLE host is deinitialized or disabled while scanning is still active.
This usage is not recommended.


(cherry picked from commit ca2c78f53e89676bf8d68feac1d42e152d81fd02)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-10-14 21:53:52 +08:00
Island 690e83d456 Merge branch 'feat/support_blecrt_489_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Added API to set channel map for scanning (v5.5)

See merge request espressif/esp-idf!42258
2025-10-13 12:07:30 +08:00
Chen Jian Hua 2b533e88ce feat(ble/bluedroid): Added API to set channel map for scanning
(cherry picked from commit fd4bb69357aaf56fe017de95b9b4fa6c6ba473ef)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-10-10 00:06:39 +08:00
Chen Jian Hua a4004031bd fix(ble/bluedroid): Fixed the status setting in the HCI event
(cherry picked from commit 4ae438cca255b885ac0341ae38a3506fe706e4cc)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-10-01 00:07:54 +08:00
Island ba4300c226 Merge branch 'feat/support_cble50y24_108_v5.5' into 'release/v5.5'
Support multi-connection optimization and examples on Bluedroid (v5.5)

See merge request espressif/esp-idf!41200
2025-09-04 12:02:33 +08:00
yangfeng 1cd73de8d9 fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data 2025-08-20 14:30:46 +08:00
Chen Jian Hua 15b0ff3c2b feat(ble/bluedroid): Support multi-connection optimization vendor hci command
(cherry picked from commit f0cfb6e33ceba049ca3d8d2c306cec97c65ddfaf)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-12 21:34:10 +08:00
Island 338dc154dc Merge branch 'feat/ble_log_spi_out_dev_phase_4_v5.5' into 'release/v5.5'
BLE Log SPI Out Dev Phase 4 (v5.5)

See merge request espressif/esp-idf!40426
2025-07-22 15:16:00 +08:00
Wang Meng Yang 5e1cb0fcaa Merge branch 'feat/add_handl_in_sdp_evt_v5.5' into 'release/v5.5'
feat(bt): Add record_handle in ESP_SDP_REMOVE_RECORD_COMP_EVT(v5.5)

See merge request espressif/esp-idf!40718
2025-07-22 14:44:40 +08:00
xiongweichao a42532c3d7 feat(bt): Add record_handle in ESP_SDP_REMOVE_RECORD_COMP_EVT 2025-07-21 10:23:52 +08:00
Zhou Xiao be801fab66 change(ble): enable hci log spi out for ESP chips
(cherry picked from commit c60dd1a10ed89cacf6e5bf703bf63b94f20f9cb9)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:54 +08:00
Zhou Xiao 3d99a1d8b1 feat(ble): support host & hci log module
(cherry picked from commit dd4cbe5e001aa9c89d45ce6bd72822f80f220e89)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:47 +08:00
Zhang Hai Peng 4e6f18cfe2 fix(ble/bluedroid): fix build failure when some BLE features are disabled
(cherry picked from commit a29cd4ad5f977a2df630baf6a576b646d3cdfe7a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-06-25 11:53:47 +08:00
Jiang Jiang Jian 7b1cbb89e0 Merge branch 'bugfix/fix_blecibr25_119_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed extended adv restart failure during reconnection (v5.5)

See merge request espressif/esp-idf!39778
2025-06-17 14:34:03 +08:00
Jiang Jiang Jian a644e9073e Merge branch 'change/opt_hid_device_connect_description_v5.5' into 'release/v5.5'
docs(bt/bluedroid): Updated HID Device connect API description (v5.5)

See merge request espressif/esp-idf!39603
2025-06-17 14:21:18 +08:00
chenjianhua e22c523b55 feat(ble/bluedroid): Support anonymous address type for white list 2025-06-13 10:31:52 +08:00
chenjianhua 7c2734dc02 feat(ble/bluedroid): Add config for BLE vendor hci command and event 2025-06-13 10:31:52 +08:00
chenjianhua 9e7325a3d6 feat(ble/bluedroid): Support BLE vendor event reporting with params 2025-06-13 10:31:52 +08:00
liqigan 20d66da972 docs(bt/bluedroid): Updated HID Device connect API description
Closes https://github.com/espressif/esp-idf/issues/16020
2025-06-13 07:07:35 +08:00
xiongweichao 4d83f1b8af feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP 2025-05-30 10:02:38 +08:00
Zhang Hai Peng 953fe222ec fix(ble/bluedroid): Added value len check in esp_ble_gatts_send_indicate()
(cherry picked from commit bfa0fff2e58150f812c9c52e701864f0726c6ab8)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-05-13 16:14:28 +08:00
Zhang Hai Peng 70f19793f8 fix(ble/bluedroid): Change maximum length of attribute value to 517
(cherry picked from commit df8c1f7a96a42010349171819ba984916b997db2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:14:25 +08:00
Zhang Hai Peng 0b2f639c62 docs(ble): clarify meaning of 0 value for esp_ble_gap_start_ext_scan() parameters
(cherry picked from commit ebb76933d01870c2d5f4e05da3816240fac432e6)

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

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:14:20 +08:00
gongyantao fc6f5cf71d feat(bt): Initialize the SC during the bluedroid initialization 2025-05-08 10:06:13 +08:00
Shen Meng Jing 62d4115e08 docs: Fix some typos 2025-04-30 18:35:39 +08:00
Island 38628f98b9 Merge branch 'feat/add_sync_cte_type_in_pa_sync' into 'master'
Feat/add sync cte type in pa sync

Closes BLERP-1728

See merge request espressif/esp-idf!38315
2025-04-27 14:11:31 +08:00
Wang Meng Yang 141d19ceec Merge branch 'bugfix/l2cap_no_report_stop_server_evt' into 'master'
fix(bt): Fixed l2cap not reporting stop server completion event

Closes BTQABR2023-470

See merge request espressif/esp-idf!38469
2025-04-24 14:22:06 +08:00
xiongweichao f02e35363b feat(bt): Add API to get some information of Classic Bluetooth profile 2025-04-23 14:46:40 +08:00
xiongweichao b9182a8293 fix(bt): Fixed l2cap not reporting stop server completion event 2025-04-21 16:06:15 +08:00
xiongweichao 1f7658ed42 feat(bt): Added events for l2cap register and unregister vfs 2025-04-11 16:45:53 +08:00
zhiweijian eb647d10c6 feat(ble/bluedroid): Add sync_cte_type in creat_periodic_adv_sync function 2025-04-09 10:06:13 +08:00
zhiweijian cf6135c990 fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host 2025-04-08 20:33:31 +08:00
Island 241afda29e Merge branch 'bugfix/fix_ble_controller_only_error_if_hci_uart_enabled' into 'master'
fix(ble/controller): Fixed controller flash only bug if hci-uart is enabled

Closes BLERP-1696 and BLERP-1703

See merge request espressif/esp-idf!38001
2025-04-07 16:00:44 +08:00
xiongweichao 1a6c9d7c15 feat(bt): Add API to get profile status 2025-04-01 16:14:19 +08:00
zhiweijian 1354037bc7 feat(ble/bluedroid): report cte_type in periodic adv report if CTE feature is enabled 2025-03-28 21:52:09 +08:00
linruihao 74fab3a7b1 refactor(bt/bluedroid): Refactor a2dp audio data path
- Refactor audio APIs, optimize audio data path, reduce memory copy operations
- Support using external codec in application layer
- The internal codec will not be compiled if not use
2025-03-28 14:13:20 +08:00
linruihao eda7ea3f49 refactor(bt/bluedroid): Refactor hfp audio data path
- Refactor audio APIs, optimize audio data path, reduce memory copy operations
- Support using external codec in application layer
2025-03-28 14:13:20 +08:00
zhanghaipeng 55043e280a feat(ble/bluedroid): Implement BLE channel map reading API 2025-03-27 17:00:16 +08:00
zhanghaipeng a9286567f0 fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer 2025-03-27 16:59:12 +08:00
zhanghaipeng d6bb90b453 feat(bluedroid): Support get bt config path 2025-03-27 16:59:12 +08:00
zhiweijian 79b706ccb0 fix(ble/bluedroid): move setting host feature API to GAP 2025-03-19 15:23:58 +08:00
zhiweijian fc58f2f67d feat(bt/bluedroid): Support ble bluedroid host connection subrating feature 2025-03-19 14:53:13 +08:00
zhiweijian 4f05f6e280 feat(bt/bluedroid): Support ble bluedroid host power control feature 2025-03-19 14:53:13 +08:00
zhiweijian fcad8b7ebd feat(bt/bluedroid): Support BLE CTE in bluedroid host 2025-03-19 14:53:13 +08:00
zhiweijian 7128087646 feat(bt/bluedroid): Support BLE iso in bluedroid host 2025-03-19 14:53:13 +08:00
zhanghaipeng dcc26e3e4f feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-04 15:44:27 +08:00
zhanghaipeng e00ba3cbd1 fix(ble/bluedroid): Support SPI log output options for HCI 2025-02-23 11:46:47 +08:00
chenjianhua 1003ced6e9 feat(bt/bluedroid): Support BLE vendor hci event reporting 2025-02-18 11:32:33 +08:00
chenjianhua fd4094e502 feat(bt/bluedroid): Support BLE setting vendor event mask 2025-02-18 11:32:21 +08:00