Commit Graph

404 Commits

Author SHA1 Message Date
chenjianhua
cf5895d07e Update bt lib for ESP32-C3 and ESP32-S3
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-06 21:16:47 +08:00
zwl
a9d25460a7 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:59:13 +08:00
Jiang Jiang Jian
0501f87f33 Merge branch 'feature/use_api_to_enable_modem_on_esp32h2' into 'master'
ble: use modem_clock api to set clocks on ESP32-H2

See merge request espressif/esp-idf!23805
2023-05-19 11:01:15 +08:00
Shen Weilong
c7f357523a ble: use modem_clock api to set clock on ESP32-C6 2023-05-17 20:02:21 +08:00
zwl
69571dfebf ble:fixed build error when disable smp 2023-05-16 16:07:01 +08:00
zwl
9b50d4e2ef ble:esp32c2 add rf temperature compensation 2023-05-16 16:07:01 +08:00
chenjianhua
6c10a7f60d Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
2023-05-05 21:54:01 +08:00
Chen Jian Hua
3aa1ac99c7 Merge branch 'bugfix/fix_ble_hop_sel' into 'master'
Fixed BLE connection failed to be established when disabled 5.0 feature

See merge request espressif/esp-idf!23516
2023-05-04 10:16:07 +08:00
Jiang Jiang Jian
968ef8c24f Merge branch 'bugfix/fix_esp32_ble_disconnect_failed' into 'master'
Fixed BLE disconnection failure on ESP32

See merge request espressif/esp-idf!23450
2023-04-28 17:57:41 +08:00
chenjianhua
5908cd968f Update bt lib for ESP32-C3 and ESP32-S3
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 14:17:37 +08:00
Shen Weilong
64c9dfd7d2 ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
Fixed the occasional mic error caused by wrong tx cnt
Fixed the BLE connection timeout issue
2023-04-28 11:21:39 +08:00
zhiweijian
025fe44edb Fixed BLE disconnection failure on ESP32 2023-04-26 11:20:09 +08:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
Darian
836755679e Merge branch 'feature/bt_uses_creationg_with_caps_functions' into 'master'
BT: Remove "create static" calls from OSI

See merge request espressif/esp-idf!23187
2023-04-21 12:39:10 +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
Island
2300982af9 Merge branch 'bugfix/esp32c6_conn_lost_packet' into 'master'
Ble: bugfix for packet loss issue during connection on ESP32C6

Closes BLEQABR23-63 and BLEQABR23-55

See merge request espressif/esp-idf!23223
2023-04-20 12:00:29 +08:00
zwj
9d9252acbc Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-04-18 20:36:04 +08:00
zwl
c4ec33e7ef Ble: bugfix for packet loss issue during connection on ESP32C6 2023-04-17 19:37:00 +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
chenjianhua
056ae5dd21 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-14 15:44:17 +08:00
Darian Leung
a5b04de565 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-13 15:06:21 +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