Commit Graph

106 Commits

Author SHA1 Message Date
Island
5371ee669b Merge branch 'feat/support_pawr_connect_evt' into 'master'
feat(ble/bluedroid): Support PAWR connection event

See merge request espressif/esp-idf!50612
2026-08-03 10:16:58 +08:00
zhiweijian
7da7fa42ac feat(ble/bluedroid): Support PAWR connection event 2026-07-30 21:00:26 +08:00
Jin Cheng
970923ba7d fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI 2026-07-17 17:15:56 +08:00
Zhi Wei Jian
2e6cbccd55 Merge branch 'feat/support_bluedroid_dual_identify' into 'master'
feat(ble/bluedroid): Support bluedroid dual indentify

See merge request espressif/esp-idf!49640
2026-07-13 10:03:39 +08:00
zhiweijian
2358786647 feat(ble/bluedroid): Support bluedroid dual identity 2026-07-10 17:57:09 +08:00
zhiweijian
82e71c1767 fix(ble/bluedroid): fix direct-connect cleanup and adv bounds 2026-07-10 10:56:47 +08:00
Island
96234ffa93 Merge branch 'bugfix/preserve_hci_status_on_set_scan_params' into 'master'
fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures

Closes BLERP-2905

See merge request espressif/esp-idf!49746
2026-06-26 16:51:00 +08:00
Island
d598b2d14d Merge branch 'feat/add_ble_core_6x_feature_for_bluedroid' into 'master'
Feat/add ble core 6x feature for bluedroid

See merge request espressif/esp-idf!49409
2026-06-25 12:01:05 +08:00
zhiweijian
3844e24207 feat(ble/bluedroid): add LE UTP host support (Core 6.2) 2026-06-24 17:54:53 +08:00
zhiweijian
2a8a96d650 feat(ble/bluedroid): add Shorter Connection Intervals host support (Core 6.2)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 17:54:53 +08:00
zhiweijian
d568f2f151 feat(ble/bluedroid): add LL Extended Feature Set host support (Core 6.0) 2026-06-24 16:53:37 +08:00
zhiweijian
5372ce03a3 feat(ble/bluedroid): add Frame Space Update host support (Core 6.0)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 16:52:45 +08:00
zhiweijian
e20d3f0197 feat(ble/bluedroid): add DBAF host support (Core 6.0) 2026-06-24 16:00:19 +08:00
zhanghaipeng
47dd785a18 fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
Return BTM_HCI_ERROR | hci_status from legacy BLE 4.2 GAP HCI command
paths instead of mapping failures to BTM_ILLEGAL_VALUE or
BTM_NO_RESOURCES. Add btm_ble_status_from_hci() helper and propagate
real status through scan start/stop completion callbacks.
2026-06-17 11:37:39 +08:00
Island
57b3b1777a Merge branch 'feat/ble-smp-multi-adv-static-random-address' into 'master'
feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses

Closes BLERP-2698

See merge request espressif/esp-idf!49011
2026-06-16 15:24:26 +08:00
zhanghaipeng
7986e2faa8 feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses 2026-06-15 14:41:51 +08:00
zhiweijian
e3311c81c4 fix(ble/bluedroid): fix GAP BLE API parameter validation 2026-05-29 10:14:42 +08:00
zhiweijian
5272b7e75b fix(ble/bluedroid): Fixed privacy callback triggering multiple times 2026-04-01 21:02:45 +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
65b2cb2728 fix(ble/bluedroid): BLE GAP/ACL/ISO/SCO null checks, evt_len and resource handling
- btm_acl: malloc/list_append failure handling, remove/memset order in btm_acl_removed
- btm_ble: remove incorrect sec_flags in SMP_OOB/NC/SC_OOB fall-through
- btm_ble_5_gap: btm_ble_hci_status_to_str unreachable return,
  BTM_BleSetExtendedAdvParams/BleStartExtAdv leak and bounds
- btm_ble_addr: fix indent in btm_find_dev_by_identity_addr
- btm_ble_gap: null check p_service_data, pass evt_len to btm_ble_process_adv_pkt,
  bounds in process_adv_pkt
- btm_ble_iso: align param types with declaration
- btm_ble_privacy: handle BTM_BLE_IRK_LIST_INVALID_INDEX in update_resolving_list,
  comment fixes
- btm_devctl: fix btm_vsc_complete param order/type
- btm_sco: add evt_len to btm_sco_process_num_completed_pkts for bounds check
- btm_ble_int.h/btm_int.h: add evt_len to process_adv_pkt and
  process_num_completed_pkts declarations
2026-03-18 16:38:24 +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
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
6f27074c1e fix(ble/bluedroid): Fixed bt buuld error
fix(ble/bluedroid): disable power management if bt is disabled
2026-01-05 17:09:38 +08:00
zhiweijian
3b18da2bde fix(ble/bluedroid): optimize bluedroid host code 2026-01-05 14:24:34 +08:00
zhiweijian
728c4c8a10 fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK 2026-01-05 14:24:34 +08:00
zhiweijian
1f5fa1e72b fix(ble/bluedroid): disable bluedroid background connection 2026-01-05 14:23:10 +08:00
zhiweijian
ac7812ef8d fix(ble/bluedroid): change tGATT_BG_CONN_DEV to GATT_BG_CONN_DEV 2026-01-05 14:23:10 +08:00
zhiweijian
1174ad41a5 fix(ble/bluedroid): Delete btm_ble_send_extended_scan_params 2026-01-05 14:23:10 +08:00
zhiweijian
34448a7455 fix(ble/bluedroid): Delete observe and inquiry 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
1c0c48b814 fix(ble/bluedroid): Delete BLE_HOST_READ_TX_POWER_EN 2026-01-05 14:23:09 +08:00
zhiweijian
57c52bd4ec fix(ble/bluedroid): Delete BLE_VND_INCLUDED 2026-01-05 14:21:52 +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
5f9680e3a0 fix(ble/bluedroid): disable read_local_name 2026-01-05 14:10:04 +08:00
zhiweijian
250553c50d fix(ble/bluedroid): disable bluedroid role_change 2026-01-05 14:10:04 +08:00
zhiweijian
47f13aa75b fix(ble/bluedroid): Disable bluedroid host Qos 2026-01-05 14:10:04 +08:00
zhiweijian
438590a1f5 feat(ble/bluedroid): reduce bluedroid host heap used for BLE 2026-01-05 14:10:03 +08:00
Jin Cheng
0f9b02dd95 fix(bt/bluedroid): fixed an OOB bug in btm_read_rssi_complete 2025-12-16 17:37:14 +08:00
Jin Cheng
7a45769e25 fix(bt/bluedroid): fixed an OOB bug in btm_delete_stored_link_key_complete 2025-12-16 17:37:14 +08:00
Jin Cheng
25b2c79269 fix(bt/bluedroid): fixed an OOB bug in btm_read_tx_power_complete 2025-12-16 17:37:14 +08:00
Jin Cheng
d4c96f070c fix(bt/bluedroid): fixed an OOB bug in btm_create_conn_cancel_complete 2025-12-16 17:37:14 +08:00
Jin Cheng
1a944a4bed fix(bt/bluedroid): fixed an OOB bug in btm_read_local_oob_complete 2025-12-16 17:37:14 +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
056e83e3b8 feat(ble/bluedroid): Add bluedroid host PAwR feature 2025-11-11 19:58:14 +08:00
Island
21ca2378cb Merge branch 'bugfix/fix_some_ble_bugs_2503' into 'master'
Bugfix/fix some ble bugs 2503

Closes BLERP-1678, BLERP-1679, BLERP-1680, BLERP-1681, BLERP-1683, BLERP-1685, and BLERP-1687

See merge request espressif/esp-idf!37930
2025-03-28 10:31:42 +08:00
Island
16ba8f892d Merge branch 'feature/add_vendor_ble_cmd_definitions' into 'master'
Feature/add vendor ble cmd definitions

Closes BLERP-1684 and BLERP-1661

See merge request espressif/esp-idf!37598
2025-03-27 17:06:15 +08:00
zhanghaipeng
55043e280a feat(ble/bluedroid): Implement BLE channel map reading API 2025-03-27 17:00:16 +08:00