zwj
a26449844f
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-24 15:49:12 +08:00
Jiang Jiang Jian
a12e124410
Merge branch 'bugfix/bt_diable_enbale_crash_v5.1' into 'release/v5.1'
...
bt:Fixed esp32 controller bug (v5.1)
See merge request espressif/esp-idf!23365
2023-04-24 10:39:58 +08:00
xiongweichao
b5357e8b01
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-23 20:26:56 +08:00
zwj
48c5f74cbc
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-04-22 20:49:10 +08:00
chenjianhua
8e41186ac8
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-22 20:48:38 +08:00
Darian Leung
51405fd9d4
bt: Remove FreeRTOS static allocation from OSI functions
...
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b
onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.
Thus, the extra "create static" calls can be removed to simply the code.
2023-04-21 15:19:29 +08:00
baohongde
dff3c07e42
components/coexist: Set coex scan status when ble connecting
2023-04-06 11:09:46 +08:00
Jiang Jiang Jian
08b4bd2ecd
Merge branch 'feature/add_interface_for_ble_QA_test' into 'master'
...
BLE: Add interface for QA test
Closes EBLE50Y23-69
See merge request espressif/esp-idf!22976
2023-03-31 19:43:54 +08:00
Jiang Jiang Jian
6ede152d87
Merge branch 'bugfix/unhandle_unsniff_req_disconnect' into 'master'
...
bt: Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
Closes BTQABR2023-25 and BT-3208
See merge request espressif/esp-idf!22941
2023-03-31 12:07:14 +08:00
xiongweichao
8f5c33cec1
1.Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
...
2.Fixed crash caused by supervision timeout greater than sniff interval
2023-03-30 11:15:38 +08:00
Shen Weilong
aad3d8344b
BLE: Add interface for QA test
...
Fix sleep crash issue
2023-03-29 20:02:56 +08:00
zwj
a1bfc91f54
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-03-29 17:13:15 +08:00
Jiang Jiang Jian
e797a06120
Merge branch 'bugfix/unify_btbb_init' into 'master'
...
esp_phy: added API esp_btbb_disable
See merge request espressif/esp-idf!22806
2023-03-23 20:34:03 +08:00
Jiang Jiang Jian
b6fda9723e
Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
...
Fixed bluedroid host ATT Ignore wrong response error
Closes BLEQABR23-30 and BT-3224
See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
wangmengyang
cbb8bf9f88
esp_phy: added API esp_btbb_disable
...
APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
2023-03-23 05:40:32 +00:00
Shen Weilong
90d6b9cbd7
ble: Update README files for bluedroid host examples on ESP32-H2
...
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00
zhiweijian
3be3bef3a6
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-03-20 15:54:47 +08:00
Jiang Jiang Jian
12b44b3a0a
Merge branch 'bugfix/update_config_in_esp32h2_chip' into 'master'
...
ble: update config in esp32h2 chip
See merge request espressif/esp-idf!22708
2023-03-20 12:09:52 +08:00
isha.pardikar@espressif.com
7d3e347ba2
Bluetooth : Fixed h2 controller function definition
2023-03-16 18:03:39 +05:30
cjin
e317f07798
ble: update config in esp32h2 chip
2023-03-15 21:02:12 +08: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
jingli
cb0f517fe3
soc/soc_caps: update soc caps for chips that support power-down of modem hardware
...
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
zwl
57c7310512
ble: Add assertion checking for bluedroid hci on ESP32-C2,ESP32-C6 and ESP32-H2
2023-03-09 20:02:23 +08:00
Jiang Jiang Jian
fe979e6513
Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
...
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one
Closes BT-3209
See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
zwj
a5e43a7d43
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-06 14:53:03 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +08:00
Shen Wei Long
20cc537044
Merge branch 'bugfix/fix_assertion_when_deinit_ble_controller' into 'master'
...
[esp32c2] Fixed the occasional assertion when deinit the ble controller
Closes BT-3203
See merge request espressif/esp-idf!22455
2023-02-28 20:53:21 +08:00
wangmengyang
2c4fc5d9ea
bt: add coexistence internal API declarations and clean up some unused coexistence hooks
2023-02-26 06:58:18 +00:00
liuning
b3a040aa98
coex: apply new coex_schm_callback
2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-02-26 06:58:18 +00:00
liuning
103772df94
esp_wifi: support adapter of all chips for new coex lib
2023-02-26 06:58:18 +00:00
Shen Weilong
c1329974a0
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-21 14:03:37 +08:00
Island
50ae186ff7
Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
...
ble:Fixed issues of adv error stop and abnormal reporting of connection update...
Closes BT-3137 and BT-3144
See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
Kapil Gupta
30a2558450
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
2023-02-11 07:38:45 +08:00
zwl
f79d0e6a43
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-10 14:16:07 +08:00
cjin
9985371b8a
BLE: fixed hci event fail on bluedroid host
2023-02-03 17:57:33 +08:00
zwl
3a5373a5d0
Fixed the issue that Offest Base in SyncInfo was zero on ESP32-C6
2023-01-31 20:34:04 +08:00
Jiang Jiang Jian
43f5f3d56d
Merge branch 'bugfix/coex_enable_disable_not_in_pairs' into 'master'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs
Closes BCI-317
See merge request espressif/esp-idf!21895
2023-01-18 17:01:02 +08:00
Island
2dc96f9a27
Merge branch 'feature/esp32c6_enable_pcl_feature' into 'master'
...
Enabled PCL feature on ESP32C6
Closes IDF-6529
See merge request espressif/esp-idf!21903
2023-01-17 17:35:04 +08:00
zwl
38c5f239be
Enabled PCL feature on ESP32C6 BT Controller
2023-01-16 12:28:44 +08:00
Shen Weilong
45aaeda1e3
modify bt sdkconfig to support bluedroid examples for esp32c6
2023-01-13 15:05:34 +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
zwl
06937271bb
Optimized NPL Freertos API
2023-01-06 15:10:18 +08:00
wangmengyang
29610b8a1b
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2023-01-05 12:34:49 +08:00
chenjianhua
c0dd6896a7
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-01-04 11:22:33 +08:00
Shen Weilong
e41b35b089
1. Update libbt
...
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f
support ble on esp32c6
2023-01-04 11:10:10 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Shu Chen
0215575606
Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
...
ieee802154: add ieee802154 support for esp32c6
See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
xiaqilin
57a6abdad1
ieee802154: add support ieee802154 for esp32c6
2022-12-22 10:45:23 +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
Jiang Jiang Jian
97d6050fea
Merge branch 'feature/esp32c2_optimize_npl_element_count' into 'master'
...
Feature/esp32c2 optimize npl element count
Closes BT-3012
See merge request espressif/esp-idf!21562
2022-12-14 17:18:07 +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
Zhi Wei Jian
cd5ce86cf2
Merge branch 'bugfix/fix_ble_conn_failed_in_air' into 'master'
...
Change default TX power to 9 dBm on ESP32
Closes BT-2436
See merge request espressif/esp-idf!21567
2022-12-14 14:43:54 +08:00
chenjianhua
d7c97ce20b
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-13 21:40:04 +08:00
zwl
cdcdc50cfe
Renamed BAH
2022-12-13 18:02:19 +08:00
zwl
a83ee7d406
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:47:28 +08:00
zwl
0b3490acd8
Optimized the number of npl on ESP32C2
2022-12-13 17:47:28 +08:00
chenjianhua
5c533afbae
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-13 10:33:22 +08:00
Jiang Jiang Jian
f0fd0b7bc3
Merge branch 'rebase/remove_redundant_pm_lock_on_ble' into 'master'
...
ble: remove redundant pm lock on ble
See merge request espressif/esp-idf!21357
2022-12-12 14:49:23 +08:00
Zhi Wei Jian
6842d2f8c9
Merge branch 'bugfix/fix_mem_not_released_after_controller_init_failed_on_esp32c3' into 'master'
...
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
Closes BT-3047 and BT-3025
See merge request espressif/esp-idf!21504
2022-12-12 11:15:34 +08:00
cjin
77d870c73a
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:23:44 +08:00
zwl
46127774fa
Unify controller internal error code on ESP32-C2
2022-12-09 15:23:44 +08:00
cjin
6d83c999c6
ble: remove redundant pm lock on ble
2022-12-09 15:23:44 +08:00
zwj
b5a6e9a528
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-08 17:26:14 +08:00
zwj
e9bfaf9a41
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-07 15:04:39 +08:00
Shen Wei Long
67507baf37
Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
Shen Weilong
b3d248df95
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:21:22 +08:00
Zhi Wei Jian
18e0cd6214
Merge branch 'feature/support_ble_max_conn_num_to_9' into 'master'
...
Support bluedroid host maximum number of connections to 9
Closes BT-2914, BT-3000, and BT-2915
See merge request espressif/esp-idf!20933
2022-12-02 12:10:27 +08:00
liuning
d9ef6aed66
ci: fix esp_phy_modem_deinit issue
2022-11-30 16:39:40 +08:00
Jiang Jiang Jian
09231b4fa2
Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
...
phy: only set phy_init_flag at power domain off, when all modems deinit
Closes WIFI-4983
See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
zwj
51c739c181
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-11-29 17:37:04 +08:00
zwl
81d6b8f011
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:29:32 +08:00
zwl
1732a6d044
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:29:26 +08:00
liuning
b8d3553a1c
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-11-25 03:18:12 +00:00
C.S.M
28b2deaf24
Merge branch 'feature/add_target_esp32h2' into 'master'
...
ESP32-H2: Introduce new target for ESP32H2
See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +08:00
zhiweijian
ebd2825379
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-11-21 10:19:54 +08:00
zwj
b2a17e9d4c
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-16 15:58:32 +08:00
zwj
8dc4207e69
change default tx power from 3dBm to 9dBm
2022-11-16 15:44:29 +08:00
Jiang Jiang Jian
8ea3865430
Merge branch 'feature/support_ble_memory_release_on_esp32c2' into 'master'
...
Support BLE memory release on ESP32C2
See merge request espressif/esp-idf!20838
2022-11-14 19:32:01 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
Zhi Wei Jian
d5306303f0
Merge branch 'feature/support_ble_memory_release_on_esp32c3_and_esp32s3' into 'master'
...
Support Bluetooth to release .bss and .data segment memory on ESP32C3 and ESP32S3
Closes IDFGH-8470
See merge request espressif/esp-idf!20700
2022-11-02 11:00:53 +08:00
Jiang Jiang Jian
b313d7e2cd
Merge branch 'bugfix/esp32c2_create_sync_lost' into 'master'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20861
2022-11-01 21:00:47 +08:00
zhiweijian
29e4fab59e
Fixed BLE array access out of bounds
2022-10-31 20:03:41 +08:00
zwl
de3f7888c6
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 11:44:50 +08:00
Rahul Tank
7ca82b1b29
Support BLE memory release on ESP32C2
2022-10-27 18:00:01 +05:30
zwj
d600496800
support BLE memory release on ESP32C3 and ESP32S3
2022-10-27 14:22:15 +08:00
Jiang Jiang Jian
6e65b61c8a
Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
...
Fixed occasional crash during scanning
Closes BT-2784
See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Jiang Jiang Jian
0ebae990a0
Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
zwl
07d844f565
Fixed occasional crash during scanning
2022-10-13 11:48:50 +08:00
Jiang Jiang Jian
55eaf66a94
Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
cjin
071abb4866
fix ble mem leak when sleep is enabled
2022-10-12 11:23:28 +08:00
Satish Solanke
34722483b3
Merge branch 'master' into 'support/Update_sdkdefaultconfig_BLE_only_flag'
...
# Conflicts:
# examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c2
2022-10-11 10:39:15 +00:00
wangmengyang
7736cdefd8
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-11 16:36:37 +08:00
Zhi Wei Jian
1308ff3d21
Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
...
Fixed ESP32 BLE assert(32 0)
Closes BT-2809
See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Wang Meng Yang
0fa55c897f
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
...
Fixed BLE lld_per_adv.c line 401 assert
Closes BT-2624
See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
zwj
457006e04e
Fixed BLE lld_per_adv.c line 401 assert
2022-09-30 15:45:37 +08:00