liqigan
e590b1c8eb
change(bt/bluedroid): Refactored HCI ACL datapath
2026-08-24 14:19:05 +08:00
yangfeng
b3370110a6
fix(bluedroid): Fix the compilation issue of BCM_STRNCPY_S
2026-08-17 09:54:33 +08:00
Zhi Wei Jian
b5dfde1c9e
feat(ble/bluedroid): Support PAWR connection event
...
(cherry picked from commit 7da7fa42ac )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-08-03 15:25:46 +08:00
Jin Cheng
b19ab411cb
fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI
2026-07-23 07:52:39 +08:00
yangfeng
6c7135e869
fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp
2026-07-17 20:11:41 +08:00
Zhi Wei Jian
0532d07a86
feat(ble/bluedroid): Support bluedroid dual identity
...
(cherry picked from commit 2358786647 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-07-14 14:22:39 +08:00
Zhi Wei Jian
7a80e9b127
fix(ble/bluedroid): use BOOLEAN for BLE HCI command builders
...
(cherry picked from commit abbf001120 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-07-14 12:04:10 +08:00
Zhi Wei Jian
d2f755b735
fix(ble/bluedroid): route ATT indication-conf timeout separately
...
(cherry picked from commit 6c3267ee84 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-07-14 12:04:07 +08:00
Zhi Wei Jian
95bd892dba
feat(ble/bluedroid): Support bluedroid LE COC and EATT features
...
(cherry picked from commit 83f0831c53 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-07-14 11:56:02 +08:00
yangfeng
3437c34c17
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:49:19 +08:00
Zhi Wei Jian
1b340fe82b
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 20:37:44 +08:00
Zhi Wei Jian
aed8603a42
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 20:37:44 +08:00
Zhi Wei Jian and Cursor
661e297e87
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 20:37:44 +08:00
Zhi Wei Jian
c72a639097
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 20:37:44 +08:00
Zhi Wei Jian and Cursor
4812d74f48
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 20:37:44 +08:00
Zhi Wei Jian
5cff20ac8f
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 20:37:44 +08:00
Zhang Hai Peng
68e37183f1
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:49 +08:00
Wang Meng Yang
c4f758d14d
Merge branch 'bugfix/bbp_isses_v5.4' into 'release/v5.4'
...
Bugfix/bbp isses v5.4
See merge request espressif/esp-idf!49626
2026-06-15 12:57:48 +08:00
Jin Cheng
852a3545d1
fix(bt/bluedroid): added buffer length check for OBEX APIs
2026-06-12 18:44:19 +08:00
Zhi Wei Jian
a70431cac3
fix(ble/bluedroid): fix HCI command and BTU robustness
...
(cherry picked from commit c9d13aaf64 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-06-10 19:53:49 +08:00
Zhi Wei Jian
beca97bcae
fix(ble/bluedroid): fix GAP BLE API parameter validation
...
(cherry picked from commit e3311c81c4 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-06-10 19:53:47 +08:00
yangfeng
fe93a95f41
fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS
...
- Closes https://github.com/espressif/esp-idf/issues/18562
2026-06-05 14:18:03 +08:00
zhanghaipeng
aefcf1c2ee
fix(ble): Optimize connection interval minimum parameter check
2026-05-11 11:20:14 +08:00
Zhang Hai Peng
7dbe28b961
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:28 +08:00
Jiang Jiang Jian
c6f4623fa6
Merge branch 'bugfix/fix_ble_pair_fail_v5.4' into 'release/v5.4'
...
fix(bt/bluedroid): fix BLE SMP pairing failure on BLE-only devices when using defalut param (5.4)
See merge request espressif/esp-idf!47399
2026-04-22 15:41:09 +08:00
Wang Meng Yang
261307436d
Merge branch 'bugfix/ai_review_avrcp_v5.4' into 'release/v5.4'
...
fix(bt): fix AVRCP component issues reported by AI review (v5.4)
See merge request espressif/esp-idf!47678
2026-04-20 09:34:47 +08:00
Island
aee5245e2d
Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.4' into 'release/v5.4'
...
Bugfix/fix some bluedroid bugs 260121 (5.4)
See merge request espressif/esp-idf!46982
2026-04-17 18:11:09 +08:00
yangfeng
4ecc25fae1
fix(bt): fix AVRCP component issues reported by AI review
2026-04-16 19:15:08 +08:00
Zhang Hai Peng
3bab1a6895
fix(bt/bluedroid): fix BLE SMP pairing failure on BLE-only devices when using default param
...
(cherry picked from commit 74a053bd4e )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-04-09 11:53:22 +08:00
zhiweijian
0bd4c9a5ad
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-30 10:49:26 +08:00
Zhi Wei Jian
35ba73a021
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
(cherry picked from commit 50747e4f63 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 10:49:11 +08:00
Zhi Wei Jian
f6e48dd5d7
feat(ble/bluedroid): support adv monitor feature
...
(cherry picked from commit 1566a50929 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-26 17:23:44 +08:00
Zhi Wei Jian
f34c9d5b73
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
(cherry picked from commit e118d053b3 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-25 10:27:35 +08:00
Zhi Wei Jian
9cebea1dba
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
(cherry picked from commit e0ccc644a8 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-25 10:27:34 +08:00
yangfeng
23a7b191ca
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-16 15:45:51 +08:00
zhiweijian
a49de4da52
fix(ble/bluedroid): Unify BTM byte alignment
2026-01-30 20:15:38 +08:00
zhiweijian
dd35a4eaef
feat(ble/bluedroid): Add new bluedroid host examples
2026-01-30 20:14:59 +08:00
Zhi Wei Jian
cf53406f18
fix(ble/bluedroid): Delete btm_ble_send_extended_scan_params
...
(cherry picked from commit 1174ad41a5 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:11 +08:00
Zhi Wei Jian
30c6a3e92e
fix(bluedroid): delete bluedroid gatt_listen
...
(cherry picked from commit db17c7cea3 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:10 +08:00
Zhi Wei Jian
a68fcdeb3c
fix(ble/bluedroid): delete bluedroid unused code
...
(cherry picked from commit 5145b366f7 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:09 +08:00
Zhi Wei Jian
9bd290a3ad
fix(ble/bluedroid): Delete batch_scan related code
...
(cherry picked from commit a784adef00 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:08 +08:00
Zhi Wei Jian
33ee741f10
fix(ble/bluedroid): Delete BLE_HOST_SETUP_STORAGE_EN
...
(cherry picked from commit 08740df988 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:08 +08:00
Zhi Wei Jian
a4bf740553
fix(ble/bluedroid): Delete BLE_HOST_READ_TX_POWER_EN
...
(cherry picked from commit 1c0c48b814 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:07 +08:00
Zhi Wei Jian
223db5fec2
fix(ble/bluedroid): delete BLE_HOST_ENERGY_INFO_EN
...
(cherry picked from commit b4c4b3e410 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:05 +08:00
Zhi Wei Jian
221ab95dae
fix(ble/bluedroid): Delete BLE_VND_INCLUDED
...
(cherry picked from commit 57c52bd4ec )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:05 +08:00
Zhi Wei Jian
534e505ff6
fix(ble/bluedroid): Delete BLE_HOST_BLE_SCAN_PARAM_UNUSED
...
(cherry picked from commit 5fdcc3bdea )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:03 +08:00
Zhi Wei Jian
66b6bfaac8
fix(ble/bluedroid): delete BLE_HOST_READ_SCAN_REPORTS_EN
...
(cherry picked from commit c3a185ae80 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:02 +08:00
Zhi Wei Jian
483d8ba389
fix(ble/bluedroid): Delete BLE_HOST_TRACK_ADVERTISER_EN
...
(cherry picked from commit 66315bc6b6 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:02 +08:00
Zhi Wei Jian
4c13dcc270
fix(ble/bluedroid): delete BLE_HOST_BLE_MULTI_ADV_EN
...
(cherry picked from commit b8f2321879 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:01 +08:00
Zhi Wei Jian
20ba11c85c
fix(ble/bluedroid): delete BTA_HOST_INTERLEAVE_SEARCH
...
(cherry picked from commit 609b649ef9 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:01 +08:00