Commit Graph
199 Commits
Author SHA1 Message Date
Wang Meng Yang 3f090c0eb0 Merge branch 'bugfix/bredr_critical_bugs_v6.1' into 'release/v6.1'
fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI (v6.1)

See merge request espressif/esp-idf!51078
2026-08-27 17:44:25 +08:00
yangfeng 5ef217c63a fix(bluedroid): Fix the compilation issue of BCM_STRNCPY_S 2026-08-13 19:15:56 +08:00
Jin Cheng a16219df1c fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI 2026-07-23 07:41:31 +08:00
yangfeng 5af3a74a45 fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp 2026-07-16 14:27:53 +08:00
Jiang Jiang Jian f71890ccec Merge branch 'bugfix/ai_review_btu_common_v6.1' into 'release/v6.1'
fix: Fix the critical issues of btu and bt_common from AI review report (v6.1)

See merge request espressif/esp-idf!50121
2026-06-30 17:37:34 +08:00
Jiang Jiang Jian 6e1ac00adb Merge branch 'feat/add_ble_core_6x_feature_for_bluedroid_v6.1' into 'release/v6.1'
Feat/add ble core 6x feature for bluedroid (6.1)

See merge request espressif/esp-idf!50054
2026-06-30 14:21:41 +08:00
Jiang Jiang Jian 9d36edbe30 Merge branch 'feat/ble-smp-multi-adv-static-random-address_v6.1' into 'release/v6.1'
feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses (6.1)

See merge request espressif/esp-idf!49790
2026-06-30 14:15:32 +08:00
yangfeng 57f28af482 fix: Fix the critical issues of btu and bt_common from AI review report
- advance connect queue on synchronous connect_cb failure
- lock bta_alarm_hash_map in all BTA timer APIs
- free controller params after stack disable; cleanup on init fail
- handle BTE_InitStack failure and signal init future
- validate HCI remote name event length before parse
- drop stale L2CAP quick-timer alarm events
2026-06-29 14:45:46 +08:00
Zhi Wei Jian 85d364da14 feat(ble/bluedroid): add CS Security Requirements host support (Core 6.3)
(cherry picked from commit 919622c01c)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:36 +08:00
Zhi Wei Jian 9a6f769a45 feat(ble/bluedroid): add LE UTP host support (Core 6.2)
(cherry picked from commit 3844e24207)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:35 +08:00
Zhi Wei JianandCursor ecc48e1450 feat(ble/bluedroid): add Shorter Connection Intervals host support (Core 6.2)
Co-authored-by: Cursor <cursoragent@cursor.com>


(cherry picked from commit 2a8a96d650)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:35 +08:00
Zhi Wei Jian 8a8727cfba feat(ble/bluedroid): add LL Extended Feature Set host support (Core 6.0)
(cherry picked from commit d568f2f151)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:34 +08:00
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
Zhang Hai Peng 7b924ab605 feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses
(cherry picked from commit 7986e2faa8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-18 10:24:55 +08:00
Jin Cheng 3be52f9d46 fix(bt/bluedroid): added buffer length check for OBEX APIs 2026-06-17 07:23:59 +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