Commit Graph

1262 Commits

Author SHA1 Message Date
Jin Chen
5c7f2a64e3 change(ble): [AUTO_MR] Update lib_esp32c5 to 18aafc6f
(cherry picked from commit fa6e55229d)

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-20 09:04:10 +08:00
Jin Chen
e7aa2b00ae change(ble): [AUTO_MR] Update lib_esp32h2 to 18aafc6f
(cherry picked from commit d7b7876c3c)

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-20 09:04:09 +08:00
Zhou Xiao
c4743f1d70 change(ble): [AUTO_MR] Update lib_esp32c6 to a6519790
(cherry picked from commit 226a0483b1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:34 +08:00
Zhou Xiao
db5d0803d9 change(ble): [AUTO_MR] Update lib_esp32c5 to a6519790
(cherry picked from commit a43358587c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:34 +08:00
Zhou Xiao
5c11f97421 change(ble): [AUTO_MR] Update lib_esp32h2 to a6519790
(cherry picked from commit 8a744e8e93)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:33 +08:00
Island
e73366f64c Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn_v6.0' into 'release/v6.0'
Fix connection failure when using RPA with whitelist filtering(ESP32) (6.0)

See merge request espressif/esp-idf!50091
2026-06-30 10:23:12 +08:00
Rahul Tank
b633c5e2a5 fix(nimble): Add support for shorter connection intervals 2026-06-29 15:25:37 +05:30
Jiang Jiang Jian
08f007f68d Merge branch 'fix-bind_int_wdt_to_cache_livelock_fix_v6.0' into 'release/v6.0'
fix(esp_system): bind int_wdt to cache livelock workaround (v6.0)

See merge request espressif/esp-idf!49169
2026-06-29 15:36:59 +08:00
Island
760495e0b2 Merge branch 'fix/ble_funcs_reset_default_enabled_v6.0' into 'release/v6.0'
fix(bt): Add default BLE controller funcs reset enable (6.0)

See merge request espressif/esp-idf!49138
2026-06-29 14:39:15 +08:00
zhanghaipeng
596b1985fe fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-29 10:39:41 +08:00
Jin Cheng
06eb240819 fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-29 10:39:31 +08:00
Zhou Xiao
638cd4c1bd change(ble): [AUTO_MR] Update lib_esp32c2 to 750d4902
(cherry picked from commit 897f3b2af1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-12 12:14:38 +08:00
Jiang Jiang Jian
7b2945f989 Merge branch 'fix/fix_conn_recycle_assertion_at_halt_v6.0' into 'release/v6.0'
fix(ble): fix conn recycle assertion at halt on ESP32-C2 (6.0)

See merge request espressif/esp-idf!49238
2026-06-04 22:56:41 +08:00
Jiang Jiang Jian
7fae4eace6 Merge branch 'bugfix/fix_bt_incorrect_error_code_v6.0' into 'release/v6.0'
fix(bt): Correct the error code in pairing when pin code req rejected by host (v6.0)

See merge request espressif/esp-idf!48791
2026-06-04 10:30:02 +08:00
Jin Chen
039df7c554 fix(ble): fix conn recycle assertion at halt on ESP32-C2
(cherry picked from commit 5483aeedb6)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-03 17:54:09 +08:00
wuzhenghui
df645d9d05 fix(esp_system): update cache livelock workaround bind to interrupt WDT configuration 2026-06-02 17:31:03 +08:00
Zhang Hai Peng
a760e299de fix(bt): Add default BLE controller funcs reset enable
(cherry picked from commit 7c1cb4b296)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-02 10:14:24 +08:00
Zhang Hai Peng
77c5270501 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence


(cherry picked from commit 8da824cd0e)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-28 11:24:25 +08:00
linruihao
799a720989 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:30:53 +08:00
ShenWeilong
d8c912eb4d change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-05-25 21:01:21 +08:00
linruihao
de96ddc7e0 fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-21 19:05:37 +08:00
zhaoweiliang
527c3a0ade change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-05-21 10:41:15 +08:00
zhaoweiliang
8782647ac7 change(ble): [AUTO_MR] Update lib_esp32c5 to 4adb29e0 2026-05-21 10:40:18 +08:00
zhaoweiliang
a4066942af change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-05-21 10:37:53 +08:00
Zhang Hai Peng
e0eac2de6b feat(ble): Support BLE critical logs
(cherry picked from commit 0af57d731c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-14 14:23:51 +08:00
Jiang Jiang Jian
ca8bdfa118 Merge branch 'bugfix/relax_rsw_tid_check_v6.0' into 'release/v6.0'
fix(bt/controller): fixed sevaral controller issues (v6.0)

See merge request espressif/esp-idf!48350
2026-05-12 18:08:38 +08:00
Island
ad811ed6b2 Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v6.0' into 'release/v6.0'
Fixed read remote feature timeout when using coded phy(2f683593) (6.0)

See merge request espressif/esp-idf!48064
2026-05-12 18:01:37 +08:00
Jin Cheng
fc2c7b05fd fix(bt/controller): fixed sevaral controller issues
- Relax the TID checks during EPR to be compatible with some RealTek devices
        - Closes https://github.com/espressif/esp-idf/issues/18145
    - Fixed wrong HCI event used for eSCO connection update
    - Do not inform the host when conneciton request was automatically rejected
2026-05-11 13:05:31 +08:00
ShenWeilong
4508400647 fix(ble): always init the default os queue for all of controllers 2026-05-01 19:06:33 +05:30
Zhang Hai Peng
decf1d651b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV


(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-04-29 14:53:48 +08:00
ShenWeilong
3780c9fd5a change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6 2026-04-29 12:11:52 +08:00
ShenWeilong
cf1ccce54d change(ble): [AUTO_MR] Update lib_esp32c5 to 6c6de5d6 2026-04-29 12:11:39 +08:00
ShenWeilong
9c90e35c1c change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6 2026-04-29 12:11:30 +08:00
Island
7fc3744abd Merge branch 'change/ble_update_lib_20260409_v6.0' into 'release/v6.0'
change(ble): [AUTO_MR] 20260409 - Update ESP BLE Controller Lib (6.0)

See merge request espressif/esp-idf!47419
2026-04-28 14:25:25 +08:00
Island
6cf5b5f67f Merge branch 'dev/ble-log-202603_v6.0' into 'release/v6.0'
dev: BLE Log 202603 (6.0)

See merge request espressif/esp-idf!47277
2026-04-28 13:25:12 +08:00
zhaoweiliang
014c7112ea change(ble): [AUTO_MR] Update lib_esp32c5 to c9fbba6f 2026-04-09 16:30:25 +08:00
zhaoweiliang
961a890531 change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f 2026-04-09 16:29:21 +08:00
zhaoweiliang
55009cc2ea change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f 2026-04-09 16:28:20 +08:00
Zhao Wei Liang
675e037340 feat(ble): add adv tx options on ESP32-C5
(cherry picked from commit d7bfbef862)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:18:37 +08:00
Zhao Wei Liang
b19537d26c feat(ble): add adv tx options on ESP32-H2
(cherry picked from commit 8ef46541cd)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:18:37 +08:00
Zhao Wei Liang
dfee38ce1a feat(ble): add adv tx options on ESP32-C6
(cherry picked from commit e85bb5cca8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:18:36 +08:00
zhaoweiliang
ea68016cd1 fix(ble): fixed timeout disconnect issue on ESP32-C6 and ESP32-H2 2026-04-08 11:07:10 +08:00
zhaoweiliang
f7eae67f25 fix(ble): fixed timeout disconnect issue on ESP32-C5 2026-04-08 11:02:45 +08:00
Zhou Xiao
23d64937f3 feat(bt): add BT_LOG_CRITICAL_ONLY bandwidth-optimized log mode
Add Kconfig options for bandwidth-optimized logging via the BLE Log
Async Output system. When enabled, controller log levels default to 2
and host/mesh log encoding is auto-selected.

- BT_LOG_CRITICAL_ONLY parent: selects BLE_LOG_ENABLED + compression
- BT_LOG_CRITICAL_ONLY_CTRL: supports both NimBLE and non-NimBLE (C3)
  controllers with default level override
- BT_LOG_CRITICAL_ONLY_HOST: host-agnostic, selects compressed log
  for Bluedroid conditionally
- BT_LOG_CRITICAL_ONLY_MESH: placeholder for mesh log encoding
- Guards against BT_STACK_NO_LOG conflict


(cherry picked from commit c223a3f835)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-04-03 21:14:59 +08:00
Zhou Xiao
fa9c6d53bb change(bt): consolidate BLE log Kconfig into common/Kconfig.in
Move per-chip BLE log Kconfig options (esp32c2/c5/c6/h2) into
components/bt/common/Kconfig.in for single-source-of-truth configuration.

Restructure menu as "BT Logs" with "Log Sources" sub-menu containing
controller log config options. Controller log output mode choice defaults
to BLE Log v2 when BLE_LOG_ENABLED, with legacy mode as deprecated
fallback. Migrate wrap_panic_handler and task_wdt_user_handler configs
as well since they depend on BT_LE_CONTROLLER_LOG_ENABLED.


(cherry picked from commit b5b886fd1e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-04-03 21:14:54 +08:00
Zhou Xiao
94761261f2 change(bt/ble_log): remove BLE Log UHCI Out module
Delete ble_log_uhci_out.c and its header. Remove the UHCI Out source
from CMakeLists.txt and all BT_BLE_LOG_UHCI_OUT_* Kconfig options.
Remove per-chip BT_LE_CONTROLLER_LOG_UHCI_OUT_ENABLED Kconfig and
all UHCI Out caller references in esp32c5/c6/h2 controller bt.c.
Update ble_log_console README to reference the new BLE Log Module
UART DMA config. The functionality is superseded by the BLE Log
Module's UART DMA peripheral transport.


(cherry picked from commit d51892380b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-04-03 21:14:38 +08:00
linruihao
8bc55358c2 fix(coex): fix some esp32 coexistence bugs
- fix ble scan may restart twice in coex scenarios
- fix bredr page/pscan coex request/release not match
- fix bredr incorrect inquiry length calculation
- update bredr page/inquiry pti
- add coex pti protection for entire page/inquiry event
2026-03-24 20:47:10 +08:00
xiongweichao
1713808a13 fix(bt): Fix crash due to functions not placed in IRAM 2026-03-24 11:58:30 +08:00
Jiang Jiang Jian
1ad6fdb5b0 Merge branch 'bugfix/fix_ble_controller_emi_assert_v6.0' into 'release/v6.0'
fix(ble): Fixed BLE assert in "emi.c" when low memory (6.0)

See merge request espressif/esp-idf!46915
2026-03-24 11:01:13 +08:00
Zhang Hai Peng
52a33960ee fix(ble): Fixed BLE assert in "emi.c" when low memory
(cherry picked from commit e3aac6f703)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-03-23 17:53:21 +08:00