Commit Graph
442 Commits
Author SHA1 Message Date
Jiang Jiang Jian 277d78fb79 Merge branch 'fix/fix_blufi_memory_copy_len_error_v6.0' into 'release/v6.0'
fix(ble): Fix blufi fragment reassembly bounds and buffer overflows (6.0)

See merge request espressif/esp-idf!48268
2026-05-12 18:07:52 +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
zhiweijian b788a733ad fix(ble): Fixed AI review bugs in bt common 2026-05-12 11:43:31 +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
Jin Cheng 423c0fbf8a fix(bt/bluedroid): fixed the vulerabilities from AI code review in SPP 2026-05-09 11:05:01 +08:00
Jin Cheng a9249d1292 fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in SPP 2026-05-09 11:04:54 +08:00
Jin Cheng f45c7f0aaa fix(bt/bluedroid): fixed the vulerabilities from AI code review in HID 2026-05-09 11:04:35 +08:00
Jiang Jiang Jian 6ef24a3529 Merge branch 'bugfix/ai_review_a2dp_v6.0' into 'release/v6.0'
fix(bt): fix A2DP issues reported by AI code review (v6.0)

See merge request espressif/esp-idf!47754
2026-04-30 19:36:01 +08:00
Zhang Hai Peng decf1d651b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV


(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-04-29 14:53:48 +08:00
Wang Meng Yang 622dcfb864 Merge branch 'bugfix/ai_review_hfp_v6.0' into 'release/v6.0'
fix(bt): fix HFP issues reported by AI code review (v6.0)

See merge request espressif/esp-idf!47761
2026-04-28 15:16:13 +08:00
yangfeng bdda22b90b fix(bt): fix A2DP api and btc component issues reported by AI review 2026-04-28 15:15:35 +08:00
Wang Meng Yang 068145be52 Merge branch 'bugfix/ai_review_avrcp_v6.0' into 'release/v6.0'
fix(bt): fix AVRCP component issues reported by AI review (v6.0)

See merge request espressif/esp-idf!47676
2026-04-28 15:14:06 +08:00
Island 4e1a423a0f Merge branch 'feat/support_adv_monitor_for_bluedroid_host_v6.0' into 'release/v6.0'
feat(ble/bluedroid): support adv monitor feature (6.0)

See merge request espressif/esp-idf!47038
2026-04-28 10:26:54 +08:00
zhiweijian 20a01bd591 disable some parameters check in CTE APIs 2026-04-24 15:12:54 +08:00
zhiweijian 7c0e0fa9c2 fix(ble/bluedroid): fix parameter validation and initialization in BLE APIs
- Add parameter validation in esp_gap_ble_api, esp_gattc_api, esp_gatts_api
- Initialize API args to prevent undefined behavior
- Add host status checks in API functions
- Fix memory leak if bluedroid init failed
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 6fa9629fe7 fix(ble/bluedroid): fix parameter validation and cleanup in ISO and CTE APIs
- Add parameter validation in esp_ble_iso_api and esp_ble_cte_api
- Delete unused ISO functions and incorrect parameter checks
- Add host status check in esp_ble_iso_get_callback()
- Fix CTE parameter handling when enable value is 0



(cherry picked from commit 562cd2eae5)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 40a2253861 feat(ble/bluedroid): support adv monitor feature
(cherry picked from commit 1566a50929)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:09:41 +08:00
yangfeng e0911c8503 fix(bt): fix AVRCP component issues reported by AI review 2026-04-23 16:05:26 +08:00
yangfeng fb9b5f64d2 fix(bt): fix HFP api and btc component issues reported by AI review 2026-04-23 16:03:00 +08:00
Zhi Wei Jian 0ab597db96 feat(ble/bluedroid): Added cancel open function for bluedroid
(cherry picked from commit a3c09afd85)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:29 +08:00
yangfeng 728f29289d feat(bt): Add APIs to control transmit power level
- API to read ACL real RSSI
- APIs to read/write tx power of inq/iscan/page/pscan/ACL
2026-03-20 14:26:10 +08:00
Zhou Xiao 29fa2be49f feat(ble_log): encode HCI direction in ble_log pipeline
Add ble_log_write_hci macro that encodes upstream/downstream direction
in MSB of HCI type byte. Update all 4 callsites (NimBLE + Bluedroid)
to use the new macro. Parser reads MSB to determine direction;
backward compatible (old firmware MSB=0 defaults to "sent").


(cherry picked from commit 8fd5dbb730)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-03-05 13:13:28 +08:00
Jiang Jiang Jian 11558f01b2 Merge branch 'feat/support_blecrt_515_v6.0' into 'release/v6.0'
feat(bt/bluedroid): Support get allocated heap size (v6.0)

See merge request espressif/esp-idf!44864
2026-01-30 14:33:40 +08:00
Jiang Jiang Jian 4efc91ccc0 Merge branch 'feat/ble_log_hci_log_len_limit_support_v6.0' into 'release/v6.0'
Feat/ble log hci log len limit support (v6.0)

See merge request espressif/esp-idf!45149
2026-01-30 14:27:52 +08:00
Jiang Jiang Jian e13024510f Merge branch 'feat/set_encoder_params_v6.0' into 'release/v6.0'
feat(bt/bluedroid): Add API to set encoder parameters and report sink caps for A2DP source (v6.0)

See merge request espressif/esp-idf!45458
2026-01-29 14:05:50 +08:00
Jiang Jiang Jian 8f8730d673 Merge branch 'docs/update_bt_api_ref_v6.0' into 'release/v6.0'
docs(bt): update Classic Bluetooth api reference(v6.0)

See merge request espressif/esp-idf!44993
2026-01-28 19:05:49 +08:00
Zhou Xiao b57a6cebfe feat(ble): added sdkconfig to control ble host side hci log
(cherry picked from commit 52c2bd2dd6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-28 17:14:00 +08:00
yangfeng e83cf43b6a feat(bt/bluedroid): Add API to set encoder parameters for A2DP source
- Add API to set encoder parameters for A2DP source
- Add the use of the API for setting encoding parameters in the a2dp_source example
2026-01-28 11:39:29 +08:00
yangfeng 6ee623c1e6 feat(bt/bluedroid): Report A2DP sink codec capabilities for A2DP source 2026-01-28 11:39:29 +08:00
yangfeng 74fa9f7945 docs(bt): update Classic Bluetooth api reference of SDP 2026-01-12 09:58:52 +08:00
yangfeng b32f703d87 docs(bt): update Classic Bluetooth api reference of L2CAP 2026-01-12 09:58:52 +08:00
yangfeng 5dc65bbb12 docs(bt): update Classic Bluetooth api reference of HID Host 2026-01-12 09:58:52 +08:00
yangfeng 00caf6b1e9 docs(bt): update Classic Bluetooth api reference of HID Device 2026-01-12 09:58:52 +08:00
yangfeng 554d9bf25d docs(bt): update Classic Bluetooth api reference of HFP AG 2026-01-12 09:58:52 +08:00
yangfeng 045dcf2939 docs(bt): update Classic Bluetooth api reference of HFP Client 2026-01-12 09:58:52 +08:00
yangfeng 2dba5e5af2 docs(bt): update Classic Bluetooth api reference of HFP Define 2026-01-12 09:58:52 +08:00
yangfeng 02f50ac836 docs(bt): update Classic Bluetooth api reference of SPP 2026-01-12 09:58:52 +08:00
yangfeng 98700f9af4 docs(bt): update Classic Bluetooth api reference of AVRCP 2026-01-12 09:58:52 +08:00
yangfeng 2e1a089a6a docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 09:58:52 +08:00
yangfeng e1445c682b docs(bt): update Classic Bluetooth api reference of GAP 2026-01-12 09:58:52 +08:00
Chen Jian Hua 72a290ee7e feat(bt/bluedroid): Support get allocated heap size
(cherry picked from commit b85771d577)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2026-01-12 00:04:55 +08:00
gongyantao 3993cb01a2 change(bt): Mark RSSI threshold-related macros as deprecated 2026-01-09 10:26:10 +08:00
Island da2e3a3c89 Merge branch 'fix/change_some_example_config_v6.0' into 'release/v6.0'
feat(ble/bluedroid): Add new bluedroid host examples(v6.0)

See merge request espressif/esp-idf!44897
2026-01-08 20:56:48 +08:00
zhiweijian 2a753a8e30 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:15:36 +08:00
Zhi Wei Jian 32da3b110b fix(ble/bluedroid): Fixed bluedroid host get white list size error
(cherry picked from commit f4dfd42725)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24: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 ffe93c09ea fix(ble/bluedroid): disable exception list if scan is not enabled
(cherry picked from commit ec6809611a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:49 +08:00
Island b92e60d192 Merge branch 'bugfix/fix_ble_security_issue_2025_v3_v6.0' into 'release/v6.0'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser (v6.0)

See merge request espressif/esp-idf!44668
2026-01-07 10:33:41 +08:00