Commit Graph
185 Commits
Author SHA1 Message Date
Zhi Wei JianandCursor fcba9face2 feat(ble/bluedroid): add Frame Space Update host support (Core 6.0)
Co-authored-by: Cursor <cursoragent@cursor.com>


(cherry picked from commit 5372ce03a3)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:34 +08:00
Zhi Wei Jian 92328f276e feat(ble/bluedroid): add DBAF host support (Core 6.0)
(cherry picked from commit e20d3f0197)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:33 +08:00
Zhi Wei Jian af256786f4 fix(ble/bluedroid): fix HCI command and BTU robustness
(cherry picked from commit c9d13aaf64)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-12 17:17:37 +08:00
Zhi Wei Jian 0da4c99922 fix(ble/bluedroid): fix GAP BLE API parameter validation
(cherry picked from commit e3311c81c4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-12 17:17:37 +08:00
yangfeng ead8107e82 fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS
- Closes https://github.com/espressif/esp-idf/issues/18562
2026-06-05 14:17:41 +08:00
Island 5a4e10c5e8 Merge branch 'bugfix/fix_ble_min_conn_interval' into 'master'
fix(ble): Optimize connection interval minimum parameter check

Closes BLERP-2748

See merge request espressif/esp-idf!48116
2026-05-11 10:31:03 +08:00
yangfeng 84bdfef5cf feat(bt): Support AAC codec for A2DP
- Allow multiple registrations of SEP
- Add a callback event to report the sep information of A2DP sink
- Closes https://github.com/espressif/esp-idf/issues/12114
- Closes https://github.com/espressif/esp-idf/issues/18184
2026-05-07 17:11:57 +08:00
zhanghaipeng 102a899d23 fix(ble): Optimize connection interval minimum parameter check 2026-04-30 10:55:30 +08:00
zhanghaipeng 658ff8730b 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
2026-04-28 18:26:22 +08:00
yangfeng d997218dbc fix(bt): fix AVRCP component issues reported by AI review 2026-04-14 14:34:30 +08:00
zhanghaipeng 74a053bd4e fix(bt/bluedroid): fix BLE SMP pairing failure on BLE-only devices when using default param 2026-04-01 12:10:16 +08:00
zhiweijian 1566a50929 feat(ble/bluedroid): support adv monitor feature 2026-03-23 17:28:40 +08:00
zhiweijian d07ce78dcf fix(ble/bluedroid): optimize bluedroid host and fix GAP, memory, status and BTM API issues
- return HCI_ERR_MEMORY_FULL on cmd buffer alloc failure
- remove legacy adv/scan semaphores and mutex
- Use the same legacy gap callback instead of each independent legacy gap event callback
2026-03-19 20:59:28 +08:00
zhiweijian 50747e4f63 fix(ble/bluedroid): Null/range checks, crypto cleanup and API consistency
- smp_api.h/smp_int.h: SMP_OPCODE_ARRAY_SIZE and SecureConnectionOobDataReply
  declaration alignment
- p_256_ecc_pp/p_256_multprecision: bounds and overflow fixes in ECC/multiprecision
- smp_act: init le_key; p_dev_rec null check in smp_key_distribution;
  smp_compute_dhkey failure notify in smp_both_have_public_keys
- smp_api: early state/cb_evt check in SMP_SecureConnectionOobDataReply
- smp_cmac: input/length validation in cmac_aes_k_calculate and
  aes_cipher_msg_auth_code
- smp_keys: smp_gen_p2_4_confirm return and smp_calculate_comfirm_cont;
  smp_process_private_key/smp_compute_dhkey cleanup and peer_pub_be clear
- smp_l2c: fix callback param types with L2CAP
- smp_main: event/state bounds in smp_sm_event; smp_get_event_name default string
- smp_utils: cmd_code<SMP_OPCODE_ARRAY_SIZE and smp_cmd_build_act check;
  smp_mask_enc_key/smp_command_has_invalid_parameters bounds
2026-03-18 16:49:09 +08:00
yangfeng 7a0771d2c8 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-13 10:12:40 +08:00
zhiweijian e118d053b3 fix(ble/bluedroid): fix L2CAP, SMP and HCI command issues
- Fix active_count check in l2cu_ble_plcb_active_count
- Restore previous state if connection command fails
- Fix HCI cmd buffer size off-by-one errors
- Fix connect handle length errors
- Fix channel sounding event status handling
- Fix SMP param_len check in smp_rand_back
- Fix spelling: BROCASTER to BROADCASTER in definitions
2026-02-27 17:59:59 +08:00
zhiweijian e0ccc644a8 fix(ble/bluedroid): fix GAP, advertising and security issues in BTM layer
- Fix adv state restore and reset if start/stop failed
- Fix periodic adv v2 event without PAWR feature enabled
- Fix periodic adv sync establish skip handling
- Fix resolving list max_size validation
- Fix RPA addr_type update after host-side resolution
- Fix pairing_state reset if p_dev_rec alloc failed
- Fix ISO cis_cnt limit and ext adv parameter check
- Try to delete smp keys even if not in device list
2026-02-27 17:59:46 +08:00
zhiweijian 031f4a7375 fix(ble/bluedroid): Unify BTM byte alignment 2026-01-27 19:19:13 +08:00
Island a8cfb404e5 Merge branch 'fix/change_some_example_config' into 'master'
feat(ble/bluedroid): Add new bluedroid host examples (master)

Closes BLERP-2492

See merge request espressif/esp-idf!44896
2026-01-08 21:03:13 +08:00
zhiweijian ce72e90291 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:17:26 +08:00
zhiweijian 1174ad41a5 fix(ble/bluedroid): Delete btm_ble_send_extended_scan_params 2026-01-05 14:23:10 +08:00
zhiweijian db17c7cea3 fix(bluedroid): delete bluedroid gatt_listen 2026-01-05 14:23:10 +08:00
zhiweijian 5145b366f7 fix(ble/bluedroid): delete bluedroid unused code 2026-01-05 14:23:10 +08:00
zhiweijian a784adef00 fix(ble/bluedroid): Delete batch_scan related code 2026-01-05 14:23:09 +08:00
zhiweijian 08740df988 fix(ble/bluedroid): Delete BLE_HOST_SETUP_STORAGE_EN 2026-01-05 14:23:09 +08:00
zhiweijian 1c0c48b814 fix(ble/bluedroid): Delete BLE_HOST_READ_TX_POWER_EN 2026-01-05 14:23:09 +08:00
zhiweijian b4c4b3e410 fix(ble/bluedroid): delete BLE_HOST_ENERGY_INFO_EN 2026-01-05 14:23:07 +08:00
zhiweijian 57c52bd4ec fix(ble/bluedroid): Delete BLE_VND_INCLUDED 2026-01-05 14:21:52 +08:00
zhiweijian 5fdcc3bdea fix(ble/bluedroid): Delete BLE_HOST_BLE_SCAN_PARAM_UNUSED 2026-01-05 14:18:22 +08:00
zhiweijian c3a185ae80 fix(ble/bluedroid): delete BLE_HOST_READ_SCAN_REPORTS_EN 2026-01-05 14:18:22 +08:00
zhiweijian 66315bc6b6 fix(ble/bluedroid): Delete BLE_HOST_TRACK_ADVERTISER_EN 2026-01-05 14:18:22 +08:00
zhiweijian b8f2321879 fix(ble/bluedroid): delete BLE_HOST_BLE_MULTI_ADV_EN 2026-01-05 14:18:18 +08:00
zhiweijian 609b649ef9 fix(ble/bluedroid): delete BTA_HOST_INTERLEAVE_SEARCH 2026-01-05 14:10:04 +08:00
zhiweijian ac80bbe285 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2025-12-31 19:55:17 +08:00
zhiweijian a742abdcf5 fix(ble/bluedroid): Optimize some bluedroid code 2025-11-11 20:00:44 +08:00
zhiweijian d0f7140057 feat(ble/bluedroid): support bluedroid host channel sounding feature 2025-11-11 20:00:44 +08:00
zhiweijian cb8b4df798 feat(ble/bluedroid): Supported BLE bluedroid host pawr connection 2025-11-11 20:00:34 +08:00
zhiweijian 865bccedbf feat(ble/bluedroid): Support LE Security Levels Characteristic 2025-11-11 19:58:38 +08:00
zhiweijian 9405c68bed feat(ble/bluedroid): Add bluedroid host Advertising Coding Selection feature 2025-11-11 19:58:26 +08:00
zhiweijian 056e83e3b8 feat(ble/bluedroid): Add bluedroid host PAwR feature 2025-11-11 19:58:14 +08:00
zhanghaipeng 3c68650d7e feat(ble/bluedroid): add API to get local BLE IRK 2025-10-17 17:36:45 +08:00
JinCheng 5a6193ae14 fix(bluedroid): removed the code relying on compiler-specific extension for FAM in union 2025-09-27 11:28:54 +08:00
JinCheng 075ed218ca fix(bt/bluedroid): fixed potential OOB in Bluedroid 2025-09-25 10:20:10 +08:00
chenjianhua 437aba1653 fix(ble/bluedroid): Fixed the connection count limit in multi-connection 2025-08-12 11:02:38 +08:00
Island 85d74cdde8 Merge branch 'feat/support_ble_vendor_evt_report_with_param' into 'master'
feat(bt/bluedroid): Support BLE vendor event reporting with params

Closes BLERP-1624

See merge request espressif/esp-idf!37539
2025-06-10 18:22:51 +08:00
chenjianhua 0fe1586a55 feat(ble/bluedroid): Support BLE vendor event reporting with params 2025-06-09 20:26:18 +08:00
chenjianhua 913645d239 feat(ble/bluedroid): Support anonymous address type for white list 2025-06-09 19:41:54 +08:00
zhanghaipeng df8c1f7a96 fix(ble/bluedroid): Change maximum length of attribute value to 517 2025-05-12 16:29:03 +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
xiongweichao 4b5ccbe7f1 fix(bt): Fixed the issue with l2cap not using dynamic memory 2025-04-11 16:45:53 +08:00