Commit Graph
100 Commits
Author SHA1 Message Date
Zhi Wei Jian 911eb1ce20 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-03 22:02:00 +08:00
zhiweijian 4828cc370b fix(ble/bluedroid): Change blufi sdkconfig 2026-02-09 00:05:04 +08:00
zhiweijian 2f9c222388 fix(ble/bluedroid): Change 5.0 event status 2026-02-09 00:05:04 +08:00
zhiweijian 55dc7765af fix(ble/bluedroid): Unify BTM byte alignment 2026-02-09 00:05:04 +08:00
zhiweijian be341ff584 feat(ble/bluedroid): Add new bluedroid host examples 2026-02-09 00:05:04 +08:00
zhiweijian 67ea80c78a fix(ble/bluedroid): Fixed smp unit test failed if mbedTLS or TinyCrypt is enabled 2026-01-20 14:07:42 +08:00
Zhi Wei Jian e5619686eb 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:35 +08:00
Zhi Wei Jian cbf4640668 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:34 +08:00
Zhi Wei Jian 8e361fc5bb 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:33 +08:00
Zhi Wei Jian 04f4602a6a fix(ble/bluedroid): optimize bluedroid host code
(cherry picked from commit 3b18da2bde)

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00
Zhi Wei Jian e10bb32d8b 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:32 +08:00
Zhi Wei Jian bd1c995c65 fix(ble/bluedroid): disable bluedroid background connection
(cherry picked from commit 1f5fa1e72b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:32 +08:00
Zhi Wei Jian 27f9a8a3c9 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:31 +08:00
Zhi Wei Jian a0b1b26efd 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:31 +08:00
Zhi Wei Jian fb6c56d180 fix(ble/bluedroid): disable vendor hci function
(cherry picked from commit 715184fa36)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian fcb4030e57 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:30 +08:00
Zhi Wei Jian 8bf14a7c86 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:30 +08:00
Zhi Wei Jian 1f297b4a3a fix(bluedroid): delete bluedroid gatt_listen
(cherry picked from commit db17c7cea3)

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

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:29 +08:00
Zhi Wei Jian 57f330727a 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:29 +08:00
Zhi Wei Jian 4965bc14ee 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:28 +08:00
Zhi Wei Jian 70b0e41a06 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:28 +08:00
Zhi Wei Jian fae64d3fd8 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:27 +08:00
Zhi Wei Jian 819590604c 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:27 +08:00
Zhi Wei Jian 41ab91471a 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:26 +08:00
Zhi Wei Jian 7a8c53b78c 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:26 +08:00
Zhi Wei Jian 2617f9be12 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:26 +08:00
Zhi Wei Jian 9574a4bb3b fix(ble/bluedroid): Delete BLE_VND_INCLUDED
(cherry picked from commit 57c52bd4ec)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:25 +08:00
Zhi Wei Jian 94055319c8 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:25 +08:00
Zhi Wei Jian 88a2282f3a 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:24 +08:00
Zhi Wei Jian d0117acc34 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:24 +08:00
Zhi Wei Jian 4222c6d309 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:24 +08:00
Zhi Wei Jian d80a17fa15 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:23 +08:00
Zhi Wei Jian da9f2b38ea 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:23 +08:00
Zhi Wei Jian b024b659ba 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:22 +08:00
Zhi Wei Jian 0dcb512b3b 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:21 +08:00
Zhi Wei Jian f1e1ae5730 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:20 +08:00
Zhi Wei Jian 7431008e79 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:20 +08:00
Zhi Wei Jian 321704aff3 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:20 +08:00
Zhi Wei Jian 2348342ff4 fix(ble/bluedroid): Disable bluedroid desire_role
(cherry picked from commit 9ae4d9a14a)

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

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

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

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:17 +08:00
Zhi Wei Jian a310a0f355 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:16 +08:00
zhiweijian a48590a9f4 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-05 11:23:31 +08:00
zhiweijian fe7b658652 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-05 10:49:16 +08:00
zhiweijian 6b754fbfcf feat(ble/bluedroid): Move the TinyCrypt and mbedTLS configuration items to the bt common path 2026-01-05 10:48:56 +08:00
zhiweijian c04036d6bf feat(ble/bluedroid): Supported Bludroid host encryption using TinyCrypt 2026-01-05 10:48:45 +08:00
zhiweijian 1906584c89 feat(ble/bluedroid): Supported Bludroid host encryption using mbedtls 2026-01-05 10:48:32 +08:00
Zhi Wei Jian 267368bbcc fix(ble/bluedroid): optimize bluedroid some code
(cherry picked from commit 6b09de6dbf)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-05 10:07:28 +08:00
zhiweijian 383bedae88 fix(ble/bluedroid): Fixed CTE IQ sample data copy error 2025-12-30 10:41:09 +08:00
zhiweijian c432820a5e fix(ble/bluedroid): Optimize some bluedroid code 2025-12-30 10:17:25 +08:00
zhiweijian 2c88b12e16 fix(ble/bluedroid): Fixed big event status error 2025-12-30 10:17:14 +08:00
zhiweijian 831e9e7721 feat(ble/bluedroid): support bluedroid host channel sounding feature 2025-12-30 10:17:04 +08:00
zhiweijian 692c2b02e5 feat(ble/bluedroid): Supported BLE bluedroid host pawr connection 2025-12-30 10:16:52 +08:00
zhiweijian a3f994315f feat(ble/bluedroid): Support LE Security Levels Characteristic 2025-12-30 10:16:43 +08:00
zhiweijian cd156796d8 feat(ble/bluedroid): Add bluedroid host Advertising Coding Selection feature 2025-12-30 10:16:33 +08:00
zhiweijian 382174fdf0 feat(ble/bluedroid): Add bluedroid host PAwR feature 2025-12-30 10:16:22 +08:00
Zhi Wei Jian 5452adbcb9 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:25 +08:00
Zhi Wei Jian a33995c0e9 fix(rf/example): Fixed phy test example crash
(cherry picked from commit e2e5d4915b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-07-24 00:26:39 +08:00
zhiweijian 88f234f1ef feat(ble/controller): Reduce bin size and IRAM for BLE rom code 2025-06-17 21:03:32 +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
zhiweijian 1354037bc7 feat(ble/bluedroid): report cte_type in periodic adv report if CTE feature is enabled 2025-03-28 21:52:09 +08:00
zhiweijian 8012834e2b fix(bt/controller): Fixed controller flash only bug if hci-uart is enabled 2025-03-28 21:52:09 +08:00
zhiweijian e07233bc81 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3 (03d0f8a6)
- Remove unused functions in the controller
2025-03-25 15:07:31 +08:00
zhiweijian a24fdf2892 feat(bt): fixed some doc error and add ocf parameters description 2025-03-25 15:07:31 +08:00
zhiweijian 79b706ccb0 fix(ble/bluedroid): move setting host feature API to GAP 2025-03-19 15:23:58 +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
zhiweijian d8c0b4aa87 fix(ble/controller): reduce controller bin size 2025-03-12 20:33:27 +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
zhiweijian fb08e4eafe feat(bt/bluedroid): optimize bluedroid menuconfig 2025-02-17 14:51:10 +08:00
zhiweijian 0959beef72 feat(bt/bluedroid): delete unused host congest check 2025-02-17 14:35:46 +08:00
Zhi Wei Jian bcfe64694d Merge branch 'bugfix/fix_ble_ke_mem_267_assert' into 'master'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267

Closes BLERP-1273

See merge request espressif/esp-idf!35153
2024-11-27 14:02:14 +08:00
zhiweijian 67ac862edd fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-11-25 16:38:30 +08:00
zhiweijian 4b767d03fe feat(bt/controller): Support controller code run in flash only 2024-10-30 10:05:39 +08:00
zhiweijian 95bd043bda feat(bt/controller): support mesh duplicate with extend scan 2024-07-18 14:52:49 +08:00
zhiweijian b925142b16 fix(bt/nimble): split hci log in nimble 2024-07-08 10:05:02 +08:00
Zhi Wei Jian ea2f512cb5 Merge branch 'feat/add_hci_log_record_for_nimble' into 'master'
Feat/add hci log record for nimble

See merge request espressif/esp-idf!30924
2024-05-27 09:33:14 +08:00
zhiweijian 9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +08:00
Zhi Wei Jian 713e36e776 Merge branch 'bugfix/remove_ble_func_discard_declaration' into 'master'
fix(ble/bluedroid): Remove BLE functions discard declaration

Closes BLERP-663

See merge request espressif/esp-idf!30011
2024-04-18 19:00:55 +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
zhiweijian 5725595d84 fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration 2024-04-18 15:53:30 +08:00
Zhi Wei Jian 48464e91bd Merge branch 'feature/move_vendor_hci_api_to_ble_part' into 'master'
feat(ble/bluedroid): move vendor hci api to ble internal code

Closes BLERP-669

See merge request espressif/esp-idf!30117
2024-04-10 19:43:36 +08:00
Zhi Wei Jian 87cd5a91c4 Merge branch 'feature/add_bluetooth_hci_log_record' into 'master'
feat(bt/common): Add bluerooth hci layer data stream record

Closes BLERP-632

See merge request espressif/esp-idf!29703
2024-04-10 16:49:43 +08:00
zhiweijian 0b4695435f feat(bt/common): Add bluerooth hci layer data stream record 2024-04-10 14:17:31 +08:00
zhiweijian 379484f4db feat(ble/bluedroid): move vendor hci api to ble internal code 2024-04-10 14:17:01 +08:00
Zhi Wei Jian b9ea883781 Merge branch 'bugfix/fix_adv_not_resatrt_due_to_dis_reason' into 'master'
fix(ble/bluedroid): Fixed adv do not restart due to disconnection reason 0x3e

Closes BLERP-635

See merge request espressif/esp-idf!29733
2024-04-08 19:58:42 +08:00
zhiweijian adde5a3dd6 fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-08 14:51:33 +08:00
Zhi Wei Jian 76c4cfc834 Merge branch 'feature/add_api_to_send_vendor_hci_cmd' into 'master'
Add api to send vendor hci command

Closes BLERP-546

See merge request espressif/esp-idf!28855
2024-02-23 10:29:42 +08:00
zhiweijian 7ea7f1536f feat(bt/bluedroid): add api to setnd vendor hci command 2024-02-22 18:00:30 +08:00
zhiweijian 307b2507f3 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-04 14:16:40 +08:00
zhiweijian 5b63a473f8 Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-01-31 19:06:22 +08:00