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
baohongde
939a153844
feat(bt): added definitions for BR/EDR hci vendor commands and events
2025-03-25 15:07:31 +08:00
zhiweijian
fc58f2f67d
feat(bt/bluedroid): Support ble bluedroid host connection subrating feature
2025-03-19 14:53:13 +08:00
zhiweijian
4f05f6e280
feat(bt/bluedroid): Support ble bluedroid host power control feature
2025-03-19 14:53:13 +08:00
zhiweijian
fcad8b7ebd
feat(bt/bluedroid): Support BLE CTE in bluedroid host
2025-03-19 14:53:13 +08:00
zhiweijian
7128087646
feat(bt/bluedroid): Support BLE iso in bluedroid host
2025-03-19 14:53:13 +08:00
zhanghaipeng
dcc26e3e4f
feat(ble/bluedroid): Support read periodic advertiser list size command
2025-03-04 15:44:27 +08:00
chenjianhua
fd4094e502
feat(bt/bluedroid): Support BLE setting vendor event mask
2025-02-18 11:32:21 +08:00
zhiweijian
69acda1785
feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN
2025-02-17 14:55:55 +08:00
zhiweijian
d2d4d1518d
feat(ble/bluedroid): disable bluedroid host unused functions
2025-02-17 14:51:58 +08:00
Wang Mengyang
f39d1215b5
change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid
2025-01-14 12:08:53 +08:00
chenjianhua
e5789a8ca1
feat(ble/bluedroid): Support setting connection params when creating connection
2024-11-26 12:10:27 +08:00
linruihao
ecefb3c7e5
fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable
2024-10-30 15:08:18 +08:00
chenjianhua
4ae7b4aecf
feat(bt/bluedroid): Added API to set supported channel selection algorithm
2024-10-17 16:56:48 +08:00
chenjianhua
7ea2779b6d
test(bt/bluedroid): Support to disable BLE address resolution
2024-09-21 10:33:37 +08:00
chenjianhua
6962bca5fa
fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist
2024-07-23 20:31:43 +08:00
chenjianhua
f573cd09ab
feat(bt/bluedroid): support BLE set privacy mode
2024-05-21 19:53:43 +08:00
zhanghaipeng
bc1851d793
fix(ble/bluedroid): Optimize BLE stack connect callback name
2024-05-06 15:43:09 +08:00
zhanghaipeng
f2cfe4a0f0
fix(ble/bluedroid): Fixed BLE no data length change event
2024-05-06 15:34:21 +08:00
zhiweijian
b9a1756202
fix(ble/bluedroid): Remove BLE functions discard declaration
...
fix(nt/bluedroid): Split the device name set functions
feat(bt/bluedroid): added APIs to get/set device name on BT GAP side
change(bt/common): Marked some APIs in device module as deprecated
1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name
change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples
change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00