Zhi Wei Jian
33df4408d7
feat(ble/controller): Reduce bin size and IRAM for BLE rom code
...
(cherry picked from commit 1d739291ca )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2025-05-27 16:03:34 +08:00
Zhi Wei Jian
6098df35ec
feat(ble/bluedroid): Add sync_cte_type in creat_periodic_adv_sync function
...
(cherry picked from commit eb647d10c6 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2025-04-21 17:03:36 +08:00
Zhi Wei Jian
a30d47b6fe
fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host
...
(cherry picked from commit cf6135c990 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2025-04-21 17:03:33 +08:00
zhiweijian
33093418f8
feat(ble/bluedroid): report cte_type in periodic adv report if CTE feature is enabled
2025-04-07 16:04:24 +08:00
zhiweijian
15a901fb5e
fix(bt/controller): Fixed controller flash only bug if hci-uart is enabled
2025-04-07 16:03:45 +08:00
zhiweijian
c06b78595d
fix(ble/bluedroid): move setting host feature API to GAP
2025-04-02 10:31:42 +08:00
zhiweijian
0e6e23ec53
feat(bt/bluedroid): Support ble bluedroid host connection subrating feature
2025-04-02 10:31:33 +08:00
zhiweijian
5425ed8eef
feat(bt/bluedroid): Support ble bluedroid host power control feature
2025-04-02 10:31:24 +08:00
zhiweijian
b47a6003a1
feat(bt/bluedroid): Support BLE CTE in bluedroid host
2025-04-02 10:31:14 +08:00
zhiweijian
e3bf21b31a
feat(bt/bluedroid): Support BLE iso in bluedroid host
2025-04-02 10:31:04 +08:00
zhiweijian
f66322c9b7
feat(bt): fixed some doc error and add ocf parameters description
2025-03-25 14:27:02 +08:00
zhiweijian
119048bb75
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3 (d74042a8)
...
- Remove unused functions in the controller
2025-03-21 19:44:30 +08:00
zhiweijian
7f5af25348
feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN
2025-03-14 18:03:31 +08:00
zhiweijian
85fe2c584b
feat(ble/bluedroid): disable bluedroid host unused functions
2025-03-14 18:03:31 +08:00
zhiweijian
694ed47dbb
feat(bt/bluedroid): optimize bluedroid menuconfig
2025-03-14 18:03:31 +08:00
zhiweijian
388626019e
feat(bt/bluedroid): delete unused host congest check
2025-03-14 18:03:31 +08:00
zhiweijian
c26ce742cf
fix(ble/controller): reduce controller bin size
2025-03-14 11:10:20 +08:00
zhiweijian
6103fc1430
fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3
2024-12-02 15:58:56 +08:00
zhiweijian
2a05eb8fd3
feat(bt/controller): Support controller code run in flash only
2024-11-04 15:44:11 +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
zhiweijian
ef0d856aa8
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
...
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed wifi boot bug at low temp on ESP32-C6
4. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2024-01-26 16:59:00 +08:00
zhiweijian
5552941e57
Fixed BLE scan request ifs timer error in coexistence scenarios
2024-01-20 11:26:52 +08:00
zhiweijian
8dc646a9b3
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default
2023-12-19 17:27:30 +08:00
zhiweijian
e807347a46
ci(ble/bluedroid):cleanup BLE examples sdkconfig
2023-11-16 19:56:39 +08:00
zhiweijian
0914d9b8d8
feat: support ble esp32c3 eco7
2023-10-20 19:54:36 +08:00
Zhi Wei Jian
e925665f94
Merge branch 'bugfix/fix_ble_bond_error_after_reboot' into 'master'
...
fix(ble/bluedroid): fixed BLE bond error after reboot
Closes CBLE50Y23-58
See merge request espressif/esp-idf!26392
2023-10-19 11:58:16 +08:00
zhiweijian
d86a990be5
fix(ble/bluedroid): fixed BLE bond error after reboot
2023-10-18 14:40:16 +08:00
Zhi Wei Jian
daf1fc790a
Merge branch 'bugfix/fix_dtm_test_failed_on_ble_5.0' into 'master'
...
fix(ble/bluedroid): fixed bluedroid host DTM API
Closes BLEQABR23-690 and BLECRT-42
See merge request espressif/esp-idf!26345
2023-10-18 14:04:54 +08:00
zhiweijian
d3394003b5
Update BLE lib on ESP32-C3 and ESP32-S3
...
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-12 07:42:53 +00:00
zhiweijian
43011c66d6
fix(ble/bluedroid): fixed bluedroid host DTM API
2023-10-12 07:42:53 +00:00
Zhi Wei Jian
05541a2e3e
Merge branch 'bugfix/fix_ble_c3_2M_phy_ci_failed' into 'master'
...
Fix BLE 2M phy cannot send packets on ESP32-C3
Closes CBLE50Y23-64
See merge request espressif/esp-idf!26417
2023-10-12 15:42:14 +08:00
zhiweijian
07bfb84047
disable phy in combo module to fix BLE 2M phy
2023-10-11 17:16:57 +08:00
Zhi Wei Jian
5306b3308f
Merge branch 'feature/add_config_to_disable_uart_flow_control' into 'master'
...
feat: add config to disable ble hci uart flow control
Closes CBLE50Y23-50
See merge request espressif/esp-idf!26155
2023-10-08 10:55:04 +08:00
Zhi Wei Jian
60961e9e7f
Merge branch 'feature/Add_apis_for_dtm_test' into 'master'
...
Feature/add apis for direct test mode
See merge request espressif/esp-idf!25735
2023-09-27 19:00:20 +08:00
Zhi Wei Jian
66e720c7eb
Merge branch 'feature/add_api_to_update_config_file_path' into 'master'
...
Add API to update bluetooth config file path
See merge request espressif/esp-idf!25560
2023-09-27 18:59:35 +08:00
zhiweijian
3cc06e472b
change(ble/controller): disable pll track by default in BLE controller on ESP32-C3 and ESP32-S3
2023-09-26 16:23:58 +08:00
zhiweijian
23a20e4b27
feat(ble/bluedroid): Add API to update config file path
2023-09-25 20:58:55 +08:00
zhiweijian
de148c3a5e
feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host
2023-09-25 12:50:16 +00:00
zhiweijian
150900eabb
feat: add config to disable ble hci uart flow control
2023-09-25 14:26:59 +08:00
zhiweijian
5d8873f2d8
change: enable pll track by default on ESP32
2023-09-07 06:08:36 +00:00
Zhi Wei Jian
4f7e7ce6c9
Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
...
feat(ble/controller): Add API to enable/disable pll track
See merge request espressif/esp-idf!25779
2023-09-06 15:29:55 +08:00
zhiweijian
2a11862118
feat(ble/controller): Add API to enable/disable pll track
2023-09-05 21:50:39 +08:00
Zhi Wei Jian
98d9d14e87
Merge branch 'feature/add_new_mesh_adv_type_for_exception_list_c3' into 'master'
...
Add new mesh types for exception list on ESP32-C3 and ESP32-S3
See merge request espressif/esp-idf!25749
2023-09-05 19:18:03 +08:00
zhiweijian
618c6f8336
Add new mesh types for exception list on ESP32-C3 and ESP32-S3
2023-09-04 20:38:36 +08:00
Zhi Wei Jian
6daba772d8
Merge branch 'feature/add_new_mesh_adv_type_for_exception_list' into 'master'
...
Add BLE mesh adv types for exception list
See merge request espressif/esp-idf!25652
2023-09-04 14:06:50 +08:00
zhiweijian
65e18ff02a
Add mesh adv type for exception list
2023-09-01 17:38:06 +08:00
Zhi Wei Jian
09f5f66661
Merge branch 'bugfix/fix_ble_examples_malloc' into 'master'
...
BLE examples malloc related code optimization
See merge request espressif/esp-idf!23638
2023-08-28 11:14:18 +08:00
zwj
334a8f2459
BLE examples malloc related code optimization
2023-08-23 15:34:28 +08:00
Zhi Wei Jian
bec164ae93
Merge branch 'doc/update_p4_ble_docs' into 'master'
...
Update ESP32-P4 BLE docs
See merge request espressif/esp-idf!25355
2023-08-21 14:48:08 +08:00
zhiweijian
8f56d9a7d8
update p4 BLE docs
2023-08-17 19:58:01 +08:00
Zhi Wei Jian
ad77064b9f
Merge branch 'bugfix/fix_bleqabr23_398' into 'master'
...
Support BLE RX error packet count record on esp32c3
See merge request espressif/esp-idf!25317
2023-08-14 11:55:32 +08:00
zhiweijian
ddb8368aad
Fixed bluedroid host build warning when log is disabled
2023-05-31 17:00:09 +08:00
Zhi Wei Jian
c0ab96b65d
Merge branch 'bugfix/fix_some_bluedroid_bugs' into 'master'
...
Fixed some bluedroid bugs
See merge request espressif/esp-idf!23616
2023-05-10 20:44:15 +08:00
zhiweijian
d565a7825d
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist
2023-05-10 20:15:10 +08:00
zhiweijian
3a4d2c5b21
fix blufi doc error
2023-05-09 19:05:28 +08:00
Zhi Wei Jian
0b5b9520ba
Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
...
Fixed no error report when own address type is rpa_random and no random address setting
Closes BLEQABR23-159
See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
zhiweijian
025fe44edb
Fixed BLE disconnection failure on ESP32
2023-04-26 11:20:09 +08:00
zwj
7d1e7d2766
Fixed no error report when own address type is rpa_random and no random address setting
2023-04-23 16:15:39 +08:00
zhiweijian
1d548ae1f2
Fixed battery profile wrong condition
2023-04-23 11:15:57 +08:00
Zhi Wei Jian
a2b2cdadf8
Merge branch 'bugfix/fix_disable_controller_50_feature' into 'master'
...
Disable controller 5.0 feature bits if host 5.0 feature is not enabled on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!23307
2023-04-21 12:11:11 +08:00
Zhi Wei Jian
89bf31f458
Merge branch 'bugfix/fix_disconnect_due_to_consecutive_crc_error_in_first_6_intervals' into 'master'
...
Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32
Closes CBLE50Y23-4
See merge request espressif/esp-idf!23207
2023-04-21 12:01:14 +08:00
zhiweijian
f10de13df7
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-04-20 14:55:35 +08:00
zwj
9d9252acbc
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-04-18 20:36:04 +08:00
zwj
feb5edf8b0
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-04-17 12:27:08 +08:00
Zhi Wei Jian
bc216802c6
Merge branch 'bugfix/fix_bleqabr23_98' into 'master'
...
Bluedroid: fix GATTC cache address saving
Closes BLEQABR23-98 and BLEQABR23-34
See merge request espressif/esp-idf!22970
2023-04-17 10:54:31 +08:00
Zhi Wei Jian
e58e271230
Merge branch 'bugfix/fix_bleqabr23_137' into 'master'
...
Fixed non-connectable and non-scannable directed adv can't be scanned
See merge request espressif/esp-idf!23198
2023-04-17 10:52:11 +08:00
zwj
00501c5b14
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-11 20:44:00 +08:00
zwj
a1bfc91f54
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-03-29 17:13:15 +08:00
zhiweijian
3be3bef3a6
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-03-20 15:54:47 +08:00
zhiweijian
7ad9e885e4
If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED
2023-03-20 15:54:32 +08:00
Zhi Wei Jian
ad1999f03c
Merge branch 'feature/support_esp32c3_new_app_lib' into 'master'
...
Update BLE lib for ESP32C3 and ESP32S3
Closes BLERD2QA23-11, BLEQABR23-60, BLERD2QA23-24, BT-3197, and BT-3215
See merge request espressif/esp-idf!22668
2023-03-15 10:54:42 +08:00
zhiweijian
588626d64e
Fixed ATT Ignore wrong response error
2023-03-14 08:49:19 +00:00
zwj
a9d9f115c3
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-13 10:47:18 +00:00
zwj
a5e43a7d43
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-06 14:53:03 +08:00
Zhi Wei Jian
a8f66c66e0
Merge branch 'feature/support_get_dev_name_for_bt' into 'master'
...
Bluedroid: support get bluetooth device name
Closes BT-3019
See merge request espressif/esp-idf!21876
2023-01-13 16:07:16 +08:00
Zhi Wei Jian
fdc92ef847
Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time' into 'master'
...
Support BLE throughput examples to test notify and write throughput at the same time
Closes BT-3100
See merge request espressif/esp-idf!21773
2023-01-10 21:13:22 +08:00
Zhi Wei Jian
c176e5e0ec
Merge branch 'bugfix/fix_blufi_frag_pkt_vulnerability' into 'master'
...
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
Closes BT-3106
See merge request espressif/esp-idf!21819
2023-01-10 21:13:01 +08:00
Zhi Wei Jian
c08cd91da3
Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
...
Bluedroid: fixed GATT multi notify and robust caching
Closes BT-3142
See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
Zhi Wei Jian
1002ad1f90
Merge branch 'bugfix/fix_disconn_due_to_instant_passed' into 'master'
...
Fix ble disconnect due to channel map update instant passed
Closes BT-3085
See merge request espressif/esp-idf!21889
2023-01-10 10:48:37 +08:00
zhiweijian
7c9d47b702
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2022-12-28 14:59:38 +08:00
zhiweijian
8646f086be
support ble notify and write throughput test at the same time
2022-12-22 21:00:14 +08:00
zwj
9ac7b16124
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 15:15:37 +08:00
Zhi Wei Jian
67cfef0acd
Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time' into 'master'
...
Add config to set duplicate scan list refresh period on ESP32-S3 and ESP32-C3
Closes BT-3073 and BT-3023
See merge request espressif/esp-idf!21586
2022-12-15 16:29:44 +08:00
zwj
5e72006fb9
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-14 15:54:01 +08:00