Commit Graph

82 Commits

Author SHA1 Message Date
Island
ddd00f1f38 Merge branch 'bugfix/fix_ble_aa_check_v2_v5.1' into 'release/v5.1'
Optimize check Access Address when receive connection request PDU (v5.1)

See merge request espressif/esp-idf!40746
2025-07-30 16:55:50 +08:00
zhanghaipeng
d7a8d9f646 fix(bt/ble): Update esp32 libbtdm_app.a (3a27e2e)
- Optimize check Access Address when receive connection request PDU
2025-07-29 15:36:12 +08:00
chenjianhua
cf265c962b fix(bt): Update bt lib for ESP32(d9a3de0)
- Support BLE vendor HCI related params reset
- Support multi conn optimization vendor hci command
- Fixed the issue where rssi of conn is incorrect when latency is no zero
- Fixed prio setting for BLE events
- Fixed disconnection issue when coexisting with other BLE events
- Fixed crash due to bandwidth full when updating conn params
2025-07-28 13:18:17 +08:00
Wang Meng Yang
662fba0879 Merge branch 'bugfix/bt_sleep_log_consistent_v5.1' into 'release/v5.1'
fix(ble): keep the log of the bluetooth sleep clock source consistent(v5.1)

See merge request espressif/esp-idf!40359
2025-07-09 13:46:41 +08:00
xiongweichao
4df0e15513 fix(ble): keep the log of the bluetooth sleep clock source consistent 2025-07-08 07:17:00 +08:00
wuzhenghui
89a4cc34b3 change(bt): increase BTDM_MODEM_WAKE_UP_DELAY 2025-06-16 17:35:04 +08:00
Zhou Xiao
99c0ef7c63 fix(ble): fixed spi log init failure return value for ESP32 2025-05-26 10:47:48 +08:00
chenjianhua
7e7ab1c82d fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK config for the minimum size of encryption key
2025-03-25 15:35:09 +08:00
linruihao
77e1943ed2 fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-21 11:16:22 +08:00
Zhou Xiao
df176c9f55 fix(ble): fix ble log init failure mem leak for ESP32
(cherry picked from commit bb9dc5a927)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-18 12:54:09 +08:00
zhanghaipeng
5fc7854542 fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior 2025-03-03 11:19:07 +08:00
zhanghaipeng
618923ccbf fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG
2025-02-26 16:19:41 +08:00
Zhou Xiao
6fe92090ae feat(ble): support ble log spi out for ESP32
(cherry picked from commit e2fbec5d2e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:41 +08:00
xiongweichao
cdf9afbee4 feat(bt): Added API to get/set low power clock source 2025-02-05 09:52:45 +08:00
Chen Jian Hua
6c0819eec4 fix(bt): Update bt lib for ESP32(ba6739f)
- Fixed assert in lld_evt.c at line 2353
- Fixed interrupt WDT when shutdown bt controller
- Added config for BLE vendor HCI QA command
- Added config for BLE channel assessment and ping procedure


(cherry picked from commit ad3554fbed)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-06 15:20:01 +08:00
Zhang Hai Peng
d9ae4e437e fix(blufi): Fixed blufi init fail after deinit
(cherry picked from commit 7addb57ccd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:45:23 +08:00
chenjianhua
abe0d3c1ff feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:03:36 +08:00
zhanghaipeng
c7d169e38a fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-12 11:14:46 +08:00
chenjianhua
a991b5df81 fix(bt): Update bt lib for ESP32(a2a7457)
- Fixed assert in ke_mem.c at line 409 when controller reset
- Added config for BLE instant passed workaround
- Fixed connection can't be established when initiating and advertising coexist
2024-11-12 11:14:37 +08:00
Island
cfe9f16abf Merge branch 'feat/get_ble_resolve_address_status_v5.1' into 'release/v5.1'
feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.1)

See merge request espressif/esp-idf!33806
2024-10-29 16:03:38 +08:00
xiongweichao
b3ea519624 feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-18 16:52:16 +08:00
zhanghaipeng
94b5b8d60b feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:51:43 +08:00
zhanghaipeng
a70bb11950 feat(ble/controller): Support get BLE controller free heap size 2024-08-23 09:42:25 +08:00
Wang Mengyang
4b7286d083 fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32
Closes https://github.com/espressif/esp-idf/issues/14263
2024-08-14 19:00:15 +08:00
Island
cb98558051 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BT and BLE bugs 2404 (backport v5.1)

See merge request espressif/esp-idf!30784
2024-05-13 14:01:24 +08:00
zhanghaipeng
c6414934b0 fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-05-11 14:37:06 +08:00
Wang Mengyang
cc0485e40d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-05-06 16:39:46 +08:00
Wang Mengyang
d01f09044e fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-05-06 16:38:10 +08:00
gongyantao
82a36ee753 change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-28 09:40:15 +08:00
zhanghaipeng
cc78bb61b5 docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-22 20:55:42 +08:00
muhaidong
13094f2216 change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-12-19 19:15:49 +08:00
liuning
ae07349ec4 feat(coex): apply struct for coex version 2023-12-08 13:06:55 +00:00
zhiweijian
5677692187 feat: add config to disable ble hci uart flow control 2023-10-20 16:48:33 +08:00
zhiweijian
51ebdfcbfa change: enable pll track by default on ESP32 2023-10-20 16:47:18 +08:00
zhangwenxu
ee087e91c2 fix(CI): fix CI build 2023-09-27 14:55:26 +08:00
zhanghaipeng
2b1269d4fb fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:43:37 +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
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
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
zwj
e9bfaf9a41 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-07 15:04:39 +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
Alexey Gerenkov
47c2c13de5 build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
baohongde
6d631d14de components/bt: Make sure sempher and queue used in isr is in DRAM 2022-07-21 13:50:29 +08:00
zwj
9a46d06532 fix esp32 BLE ke_mem.c assert 2022-07-07 11:23:11 +00:00
Jack
cb0dd5cc75 fix the bug that some memory leaked in phy after wifi/ble deinit 2022-06-16 20:42:20 +08:00
xiongweichao
d888665160 Bluetooth build fail when power management is enabled
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-02 10:46:19 +08:00
Anton Maklakov
877dc3e304 bt: make int types consistent 2022-05-27 08:03:54 +00:00