Commit Graph

384 Commits

Author SHA1 Message Date
zwj
9d9252acbc Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-04-18 20:36:04 +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
xiongweichao
30c87c7a82 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/10835
2023-04-11 12:03:09 +08:00
Yuan Mingfu
cb6f56ffa2 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-04-07 12:45:33 +00: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