Commit Graph
100 Commits
Author SHA1 Message Date
zhiweijian 76b7ddd13e fix(ble/bluedroid): note LE Coded PHY impact on Wi-Fi coexistence in bluedroid GAP/GATT APIs 2026-05-28 10:30:54 +08:00
zhiweijian b788a733ad fix(ble): Fixed AI review bugs in bt common 2026-05-12 11:43:31 +08:00
Zhi Wei Jian 1b93addbd0 feat(bt): add shared ble_uart component and update ble_uart_service/docs
(cherry picked from commit 272793f7d5)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-05-11 21:23:35 +08:00
Zhi Wei Jian 4dd5e85749 feat(ble): Support nimble uart service
(cherry picked from commit 9de3eea3de)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-27 20:58:44 +08:00
zhiweijian 3355b33b84 fix(ble/bluedroid): Fixed privacy callback triggering multiple times 2026-04-24 15:12:54 +08:00
zhiweijian 9a68172691 fix(ble/bluedroid): Fixed bluedrodi CI build error 2026-04-24 15:12:54 +08:00
zhiweijian 6444087316 fix(bt/bluedroid): Fixed AddCharacteristic failed when attr_len is zero for AUTO_RSP 2026-04-24 15:12:54 +08:00
zhiweijian 20a01bd591 disable some parameters check in CTE APIs 2026-04-24 15:12:54 +08:00
zhiweijian bc9bdd4580 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-04-24 15:12:54 +08:00
Zhi Wei Jian 344cc0a590 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-04-24 15:12:54 +08:00
Zhi Wei Jian 38a232d1b5 fix(ble/bluedroid): BLE credit, reject when p_rcb NULL, timeout and leak fixes
- l2c_int: align struct/constant types with l2c_ble/l2c_main
- l2c_api: null/state checks in L2CA_SendFixedChnlData
- l2c_ble: reject when p_rcb==NULL, add L2CAP_CMD_BLE_FLOW_CTRL_CREDIT;
  l2cble_init_direct_conn int64_t timeout and link_timeout==0 fix
- l2c_link: null/state checks and cleanup in hci_disc_comp/timeout/send_to_lower
- l2c_main: free p_msg on FCR non-Basic and COC branches; fix LE credit handling;
  process_l2cap_cmd bounds
- l2c_utils: credit/queue cleanup and null checks in l2cu_disconnect_chnl


(cherry picked from commit 16d523e9bf)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:54 +08:00
Zhi Wei Jian 71417d530e fix(ble/bluedroid): Fix double-free, exec write, bounds and HCI param checks
- gap_ble: add length/attribute checks in gap_proc_write_req
- gatt_cl: set p_cmd->p_cmd=NULL before memset to avoid double-free;
  pending_cl_req %= GATT_CL_MAX_LCB
- gatt_sr: fix exec write zeroed_attrs and offset/len bounds, OOM cleanup
- gatt_sr_hash: null checks for p_attr->p_next, p_data+=2, len==0 in
  gatts_calculate_datebase_hash, gatts_show_local_database
- gatt_utils: explicit return NULL, indent, idx<GATT_MAX_APPS checks,
  len>GATT_MAX_ATTR_LEN, gatt_cleanup_upon_disc dealloc branch
- hciblecmds: length/handle validation in BLE ext adv/BIG sync HCI commands


(cherry picked from commit 1d31286f1a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian c4b259b7d1 fix(ble/bluedroid): Event length checks and timer/alarm error handling
- btu_hcif: validate p_msg->len and hci_evt_len in process_event; pass evt_len to
  sub-handlers; fix cs_subevt num_steps_reported==0 malloc; bounds in
  command_complete and role_change_evt
- btu_task: handle osi_alarm_new/hash_map_set failure in btu_start_timer,
  btu_start_quick_timer, btu_start_timer_oneshot


(cherry picked from commit 537661fb2e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian b91d61ca72 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


(cherry picked from commit 65b2cb2728)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian c2b8d4ec44 fix(ble/bluedroid): Add length/pointer checks and fix error paths
- hci_hal_h4: validate packet length and pointers in hci_packet_complete,
  hdl_rx_adv_rpt, callbacks
- hci_layer: align hci_start_up error path and return; validate packet len in
  filter_incoming_event
- hci_packet_factory: ensure BT_HDR length/offset initialized in make_command_no_params
- packet_fragmenter: validate length before fragment_and_dispatch


(cherry picked from commit 778dd2ab5e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 56f1c192d1 fix(ble/bluedroid): Align config, controller indent and init error paths
- bt_target: remove/align obsolete macros with Kconfig
- device/controller: fix start_up() Secure Connections indent,
  get_ble_resolving_list_max_size return type
- controller.h: align type/interface declarations with implementation
- bte_init: remove unused/redundant code
- bte_main: return -1 on osi_init failure, null check in bte_main_hci_send


(cherry picked from commit b83647f5ea)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian fa71c11a76 fix(ble/bluedroid): Fix init failure handling, storage/config and GATT leaks
- btc_main: handle bte_main_boot_entry failure with cleanup and future_ready(FUTURE_FAIL)
- btc_ble_storage: fix key/length validation in _btc_storage_get_ble_bonding_key
- btc_config: align return/error contract with callers
- btc_dm: use safe BTA_SERVICE_ID_TO_SERVICE_MASK, fix sec_cb_handler type
- btc_gatt_util: fix btc_to_bta_response/set_read_value length and bounds
- btc_gatts: future_free on early return, max_nb_attr uint16_t, fail cleanup,
  handle bounds
- btc_ble_cte/btc_iso_ble: fix callback type/param consistency with BTA


(cherry picked from commit 6f5d9e3440)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian f790a1834b fix(ble/bluedroid): Add null/range checks and fix resource handling in BTA layer
- bta_dm_int: fix BTA_SERVICE_ID_TO_SERVICE_MASK undefined behavior (1<<id when id>=32)
- bta_gattc_main: add event bounds check before state table lookup
- bta_gattc_utils: null checks for remote_bda/p_rcb, fix list_free in clcb_dealloc,
  bta_to_btif_uuid fixes
- bta_gatts_act: fix formatting/indent in send_service_change_indication
- bta_gatts_api: validate attr_val/len, add error logs on alloc failure
- bta_sys_main: null/range checks in sm_execute, alarm/hash_map error handling in
  bta_alarm_cb


(cherry picked from commit f4cec2ac4e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
zhiweijian 7c0e0fa9c2 fix(ble/bluedroid): fix parameter validation and initialization in BLE APIs
- Add parameter validation in esp_gap_ble_api, esp_gattc_api, esp_gatts_api
- Initialize API args to prevent undefined behavior
- Add host status checks in API functions
- Fix memory leak if bluedroid init failed
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 0bfcf843f9 fix(ble/bluedroid): fix bugs in BLE 5.0 bluedroid examples
- Fix callback function usage and parameter errors
- Fix spelling: BROCASTER to BROADCASTER in examples
- Update examples to match API changes



(cherry picked from commit 8f4dd7824e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 9de0b82488 fix(ble/bluedroid): fix ISO HCI layer and update Kconfig
- Fix ISO HCI functions and remove unused code
- Fix spelling: BROCASTER to BROADCASTER in Kconfig and headers
- Update common config headers for consistency



(cherry picked from commit 611eef480a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian b693cb7091 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-04-24 15:12:53 +08:00
Zhi Wei Jian b90d64d06a 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-04-24 15:12:53 +08:00
Zhi Wei Jian 70ef058c3e fix(ble/bluedroid): fix GATT protocol and database operation issues
- Fix GATTC read by type length error and rsp pdu format check
- Fix p_cur_handle update in gatts_db_read_attr_value_by_type
- Fix len calculation error in calculate_database_info_size
- Replace gatt_find_the_connected_bda with p_tcb_list iteration
- Send cmd reject if cid is invalid
- Fix param_len check in smp_rand_back
- Remove duplicate uuid compare functions



(cherry picked from commit 6242e0244c)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian b1bf55bcbe fix(ble/bluedroid): fix parameter handling and deep copy in BTC layer
- Fix CS and CTE callback deep copy errors in btc_gap_ble
- Fix incorrect parameter check in btc_gattc_prepare_write_char_descr
- Fix conn_handle length error and malloc failure handling
- Fix memcpy error and reset params if malloc failed
- Fix spelling: BROCASTER to BROADCASTER
- Delete unused ISO functions in btc_iso_ble



(cherry picked from commit 1fea299dc9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 87da89a087 fix(ble/bluedroid): fix state management and security issues in BTA DM layer
- Fix out-of-bounds read and peer_device cleanup in bta_dm_acl_change
- Fix adv state restore and BTM status usage in bta_dm_ble_advstop
- Fix remove security device failed due to invalid transport
- Rename tBTA_DM_API_BLE_OBSERVE to tBTA_DM_API_BLE_ADVACTION
- Remove unused btm_sec_find_bonded_dev()



(cherry picked from commit c7931bedf5)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 148a00136c fix(ble/bluedroid): fix memory safety and state issues in BTA GATT layer
- Fix use-after-free and double-free in bta_gattc_update_include_service
- Fix heap buffer overflow in GATT database operations
- Fix GATTC cache load attr length check and NVS handle leak
- Fix parameter validation in bta_gattc_uuid_compare
- Ensure all CLCBs are cleaned up on deregister
- Remove unused bta_gattc_open_error
- Unify GATT db count/fill by declaration handle range
- Fix return status in gatts_set_attribute_value



(cherry picked from commit d4f3517da4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 6fa9629fe7 fix(ble/bluedroid): fix parameter validation and cleanup in ISO and CTE APIs
- Add parameter validation in esp_ble_iso_api and esp_ble_cte_api
- Delete unused ISO functions and incorrect parameter checks
- Add host status check in esp_ble_iso_get_callback()
- Fix CTE parameter handling when enable value is 0



(cherry picked from commit 562cd2eae5)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:12:53 +08:00
Zhi Wei Jian 8c4c4b4140 feat(ble/bluedroid): Allow add vendor descriptor by service table create API
(cherry picked from commit 8207bd11e7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:11:09 +08:00
Zhi Wei Jian 40a2253861 feat(ble/bluedroid): support adv monitor feature
(cherry picked from commit 1566a50929)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-24 15:09:41 +08:00
Zhi Wei Jian b6ded29ea7 fix(bluedroid): printf EXAMPLE_CI_ID, PIPELINE_ID and CHIP_ID
(cherry picked from commit 7bb1018948)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:47 +08:00
Zhi Wei Jian 63789778c0 fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex
(cherry picked from commit b218e02b49)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:47 +08:00
Zhi Wei Jian 0ab597db96 feat(ble/bluedroid): Added cancel open function for bluedroid
(cherry picked from commit a3c09afd85)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:29 +08:00
zhiweijian 15a5d1eb77 fix(ble/bluedroid): Change blufi sdkconfig 2026-03-10 10:12:54 +08:00
zhiweijian fbd2d3f6ce fix(ble/bluedroid): Change 5.0 event status 2026-03-10 10:11:25 +08:00
zhiweijian 70a6b534d1 fix(ble/bluedroid): Unify BTM byte alignment 2026-03-10 10:11:25 +08:00
zhiweijian a271e83a7a fix(ble/blufi): Fixed blufi dh key cal failed 2026-03-02 14:33:21 +08:00
Zhi Wei Jian 228347dc85 fix(ble/bluedroid): Fixed read or write failed if SMP is disabled
(cherry picked from commit 124f275bdf839b855e6af0cfb9d197f11c9a766c)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-02 10:04:21 +08:00
zhiweijian 4feb8a370a fix(ble/bluedroid): Fixed bluedroid build warning if GATTC/S and SMP are disabled 2026-01-09 11:10:12 +08:00
zhiweijian 2a753a8e30 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:15:36 +08:00
Zhi Wei Jian 32da3b110b fix(ble/bluedroid): Fixed bluedroid host get white list size error
(cherry picked from commit f4dfd42725)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:53 +08:00
Zhi Wei Jian 8f040d13fb fix(ble/bluedroid): Fixed bt buuld error
fix(ble/bluedroid): disable power management if bt is disabled


(cherry picked from commit 6f27074c1e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:52 +08:00
Zhi Wei Jian dda286a528 fix(ble/bluedroid): disable some member in tBTA_SYS_CB
(cherry picked from commit 280385acf4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:52 +08:00
Zhi Wei Jian 3d26daa413 fix(ble/bluedroid): optimize bluedroid host code
(cherry picked from commit 3b18da2bde)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:51 +08:00
Zhi Wei Jian ff4e5d2a56 fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK
(cherry picked from commit 728c4c8a10)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:51 +08:00
Zhi Wei Jian 07a4c3e2b6 fix(ble/bluedroid): Fixed build error if scan is disabled
(cherry picked from commit dd10e3220b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:51 +08:00
Zhi Wei Jian b5d9cb94ef fix(ble/bluedroid): disable bluedroid background connection
(cherry picked from commit 1f5fa1e72b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:50 +08:00
Zhi Wei Jian 174e4144fd fix(ble/bluedroid): change tGATT_BG_CONN_DEV to GATT_BG_CONN_DEV
(cherry picked from commit ac7812ef8d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:49 +08:00
Zhi Wei Jian ffe93c09ea fix(ble/bluedroid): disable exception list if scan is not enabled
(cherry picked from commit ec6809611a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:49 +08:00
Zhi Wei Jian 8832727573 fix(ble/bluedroid): disable vendor hci function
(cherry picked from commit 715184fa36)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:49 +08:00
Zhi Wei Jian 5b9d2255ee 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:48 +08:00
Zhi Wei Jian e6ab0ec2b0 fix(ble/bluedroid): change bluedroid scan callback name
(cherry picked from commit b9440efbe9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:48 +08:00
Zhi Wei Jian 07649c4e6e fix(bluedroid): delete bluedroid gatt_listen
(cherry picked from commit db17c7cea3)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:48 +08:00
Zhi Wei Jian 21a52b6fa6 fix(ble/bluedroid): Delete observe and inquiry
(cherry picked from commit 34448a7455)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:47 +08:00
Zhi Wei Jian 3dc5961e5f fix(ble/bluedroid): delete bluedroid unused code
(cherry picked from commit 5145b366f7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:47 +08:00
Zhi Wei Jian f7c122ec7f 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:46 +08:00
Zhi Wei Jian e0dfdaa20f 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:46 +08:00
Zhi Wei Jian f725fc12cd 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:46 +08:00
Zhi Wei Jian 30816c1bfd fix(ble/bluedroid): Delete BLE_HOST_REMOVE_AN_ACL_EN
(cherry picked from commit 5a1a3b9eba)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:45 +08:00
Zhi Wei Jian 474df793c1 fix(ble/bluedroid): Delete BLE_HOST_REMOVE_ALL_ACL_EN
(cherry picked from commit ad04f39cf9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:45 +08:00
Zhi Wei Jian b4b8c0d79d fix(ble/bluedroid): Delete BLE_HOST_EXECUTE_CBACK_EN
(cherry picked from commit 436fe484fe)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:44 +08:00
Zhi Wei Jian 378b708e15 fix(ble/bluedroid): Delete BLE_HOST_ENABLE_TEST_MODE_EN
(cherry picked from commit f08ff1448b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:44 +08:00
Zhi Wei Jian 7ab3f23192 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:44 +08:00
Zhi Wei Jian 53b34d5089 fix(ble/bluedroid): Delete BLE_VND_INCLUDED
(cherry picked from commit 57c52bd4ec)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:43 +08:00
Zhi Wei Jian a96356103f fix(ble/bluedroid): Delete BLE_ANDROID_CONTROLLER_SCAN_FILTER
(cherry picked from commit 702292d451)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:43 +08:00
Zhi Wei Jian b6f0777c63 fix(ble/bluedroid): delete BLE_HOST_BLE_OBSERVE_EN
(cherry picked from commit 08f9511e25)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:42 +08:00
Zhi Wei Jian d195ab67f8 fix(ble/bluedroid): Delete BLE_HOST_STOP_ADV_UNUSED
(cherry picked from commit 0e9b36cb55)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:42 +08:00
Zhi Wei Jian f8a41f0911 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:41 +08:00
Zhi Wei Jian 42df0c2daa fix(ble/bluedroid): Delete BLE_HOST_CONN_SCAN_PARAM_EN
(cherry picked from commit b175f3cc97)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:41 +08:00
Zhi Wei Jian 21070997ef fix(ble/bluedroid): Delete BLE_HOST_BATCH_SCAN_EN
(cherry picked from commit 25b0e1e684)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:41 +08:00
Zhi Wei Jian 2cfe955606 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:40 +08:00
Zhi Wei Jian 1f37314377 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:40 +08:00
Zhi Wei Jian 73ee248c23 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:40 +08:00
Zhi Wei Jian 0744529bbd 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:39 +08:00
Zhi Wei Jian 8cb449b81d fix(ble/bluedroid): disable rsp timer and ind_ack timer
(cherry picked from commit 7ff9484c46)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:39 +08:00
Zhi Wei Jian a4d95d13b4 fix(ble/bluedroid): Disable bluedroid desire_role
(cherry picked from commit 9ae4d9a14a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:39 +08:00
Zhi Wei Jian d66173ef46 fix(ble/bluedroid): disable read_local_name
(cherry picked from commit 5f9680e3a0)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:38 +08:00
Zhi Wei Jian edd5208bb5 fix(ble/bluedroid): disable bluedroid role_change
(cherry picked from commit 250553c50d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:38 +08:00
Zhi Wei Jian 38ca096d84 fix(ble/bluedroid): Disable bluedroid host Qos
(cherry picked from commit 47f13aa75b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:38 +08:00
Zhi Wei Jian 9906cd242d fix(ble/bluedroid): delete unused pending_queue
(cherry picked from commit d9a88c7414)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:37 +08:00
Zhi Wei Jian d9ba54e388 feat(ble/bluedroid): reduce bluedroid host heap used for BLE
(cherry picked from commit 438590a1f5)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:37 +08:00
zhiweijian 3f7494bbf9 fix(ble/bluedroid): Fixed smp unit test failed if mbedTLS or TinyCrypt is enabled 2026-01-06 20:04:26 +08:00
Zhi Wei Jian fb3bc4d81a fix(ble/bluedroid): optimize bluedroid some code
(cherry picked from commit 6b09de6dbf)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-05 10:07:29 +08:00
zhiweijian f326ff7ff1 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2025-12-31 11:51:49 +08:00
zhiweijian 87655116dc feat(ble/bluedroid): Move the TinyCrypt and mbedTLS configuration items to the bt common path 2025-12-30 12:12:35 +08:00
zhiweijian 9d88119a4e feat(ble/bluedroid): Supported Bludroid host encryption using TinyCrypt 2025-12-30 12:12:35 +08:00
zhiweijian 94c4336c77 feat(ble/bluedroid): Supported Bludroid host encryption using mbedtls 2025-12-30 12:12:35 +08:00
Zhi Wei Jian 2c8df059cc fix(ble/bluedroid): Fixed reconnection failed with extend adv
(cherry picked from commit ec4052c1c7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-12-15 21:23:26 +08:00
zhiweijian 36d0885589 fix(ble/bluedroid): Fixed CTE IQ sample data copy error 2025-11-14 20:49:09 +08:00
zhiweijian 083d6f31a5 fix(ble/bluedroid): Optimize some bluedroid code 2025-11-14 18:02:39 +08:00
zhiweijian 45018553eb fix(ble/bluedroid): Fixed big event status error 2025-11-14 18:02:27 +08:00
zhiweijian b24239843b feat(ble/bluedroid): support bluedroid host channel sounding feature 2025-11-14 18:02:18 +08:00
zhiweijian 1115165ea0 feat(ble/bluedroid): Supported BLE bluedroid host pawr connection 2025-11-14 18:02:07 +08:00
zhiweijian 389da07964 feat(ble/bluedroid): Support LE Security Levels Characteristic 2025-11-14 18:01:44 +08:00
zhiweijian 580edcf6a8 feat(ble/bluedroid): Add bluedroid host Advertising Coding Selection feature 2025-11-14 18:01:44 +08:00
zhiweijian fb94631af1 feat(ble/bluedroid): Add bluedroid host PAwR feature 2025-11-14 18:01:44 +08:00
zhiweijian e2e5d4915b fix(rf/example): Fixed phy test example crash 2025-07-21 10:21:55 +08:00
zhiweijian 1d739291ca feat(ble/controller): Reduce bin size and IRAM for BLE rom code 2025-05-21 10:22:37 +08:00
zhiweijian eb647d10c6 feat(ble/bluedroid): Add sync_cte_type in creat_periodic_adv_sync function 2025-04-09 10:06:13 +08:00
zhiweijian cf6135c990 fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host 2025-04-08 20:33:31 +08:00