Commit Graph

1154 Commits

Author SHA1 Message Date
Island
636ef16079 Merge branch 'fix/ble_funcs_reset_default_enabled_v5.4' into 'release/v5.4'
fix(bt): Add default BLE controller funcs reset enable (5.4)

See merge request espressif/esp-idf!49136
2026-06-05 12:13:36 +08:00
Island
4680930335 Merge branch 'change/ble_update_lib_20260520_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib (5.4)

See merge request espressif/esp-idf!48768
2026-06-04 19:22:21 +08:00
ShenWeilong
a8b57a6be0 change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-06-04 11:11:54 +08:00
zhaoweiliang
4d6542b2c9 change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-06-04 11:11:54 +08:00
zhaoweiliang
eeec8c50ff change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-06-04 11:11:54 +08:00
Jin Chen
f74ca1653b 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:04 +08:00
Zhang Hai Peng
5611c6406e 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:19 +08:00
Rahul Tank
91b3098061 Merge branch 'bugfix/add_support_min_count_v5.4' into 'release/v5.4'
fix(nimble): Add support for shorter connection interval (v5.4)

See merge request espressif/esp-idf!48163
2026-06-01 14:36:50 +05:30
Rahul Tank
7c138d2c33 fix(nimble): Add support for shorter connection intervals 2026-05-28 15:55:38 +05:30
Zhang Hai Peng
7574f21191 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:21 +08:00
linruihao
fc5dd1bec7 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:31:05 +08:00
linruihao
87ef6fee30 fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-21 19:05:50 +08:00
Zhang Hai Peng
f038b47896 feat(ble): Support BLE critical logs
(cherry picked from commit 0af57d731c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-14 14:23:40 +08:00
Jiang Jiang Jian
7cda1cc683 Merge branch 'bugfix/relax_rsw_tid_check_v5.4' into 'release/v5.4'
fix(bt/controller): fixed sevaral controller issues (v5.4)

See merge request espressif/esp-idf!48357
2026-05-12 18:09:20 +08:00
Island
3ff613a06c Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v5.4' into 'release/v5.4'
Fixed read remote feature timeout when using coded phy(2f683593) (5.4)

See merge request espressif/esp-idf!48062
2026-05-12 18:01:40 +08:00
Zhou Xiao
18ced34884 fix(bt): remove duplicate esp32c5 log kconfig 2026-05-11 18:50:15 +08:00
Jin Cheng
e55755a8fa 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:59:31 +08:00
ShenWeilong
82fc851afd fix(ble): always init the default os queue for all of controllers 2026-05-05 00:05:37 +08:00
Zhang Hai Peng
7dbe28b961 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:28 +08:00
ShenWeilong
819f95445a change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6 2026-04-29 12:14:41 +08:00
ShenWeilong
b358bf2bbc change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6 2026-04-29 12:14:15 +08:00
zhaoweiliang
a3767bcc1a change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f 2026-04-28 14:24:05 +08:00
zhaoweiliang
43918a8343 change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f 2026-04-28 14:24:05 +08:00
Zhao Wei Liang
10364d4c6a feat(ble): add adv tx options on ESP32-H2
(cherry picked from commit 8ef46541cd)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-28 14:24:05 +08:00
Zhao Wei Liang
755b9958db feat(ble): add adv tx options on ESP32-C6
(cherry picked from commit e85bb5cca8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-28 14:24:05 +08:00
Jiang Jiang Jian
c6abce6206 Merge branch 'bugfix/fix_ble_controller_emi_assert_v5.4' into 'release/v5.4'
fix(ble): Fixed BLE assert in "emi.c" when low memory (5.4)

See merge request espressif/esp-idf!46913
2026-04-22 16:18:01 +08:00
Island
6359809343 Merge branch 'dev/ble-log-202603_v5.4' into 'release/v5.4'
dev: BLE Log 202603 (5.4)

See merge request espressif/esp-idf!47275
2026-04-20 17:22:55 +08:00
Jiang Jiang Jian
cf6ed7e938 Merge branch 'feat/use_common_config_to_sel_crypt_lib_v5.4' into 'release/v5.4'
Feat/use common config to sel crypt lib (v5.4)

See merge request espressif/esp-idf!46406
2026-04-20 11:04:05 +08:00
Jin Chen
b923c9ad97 change(ble): [AUTO_MR] Update lib_esp32c5 to 913c704d
(cherry picked from commit 739cb8e00d)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-14 14:50:32 +05:30
Jin Chen
8c7298bbd0 feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-04-14 14:50:32 +05:30
Jin Chen
b51461f964 change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335
(cherry picked from commit a2ef5c0ff9)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-14 14:50:32 +05:30
Zhou Xiao
fe9eec94a7 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
2026-04-07 13:08:03 +08:00
Zhou Xiao
a09b316ed0 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.
2026-04-07 13:07:33 +08:00
Zhou Xiao
606d0d076b 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.
2026-04-07 12:36:12 +08:00
zhaoweiliang
b10d5d31f3 fix(ble): Fixed an occasional disconnection issue on ESP32-C6 and ESP32-H2 2026-03-31 19:36:24 +08:00
ShenWeilong
01e30f45a3 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-03-31 00:06:14 +08:00
xiongweichao
0ece0e924c fix(bt): Fix crash due to functions not placed in IRAM 2026-03-26 21:06:55 +08:00
Zhang Hai Peng
2ff071aef3 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:17 +08:00
cjin
bc60ae40dd fix(ble): fix conn timeout after phy update on ESP32-C2 2026-03-19 09:51:51 +08:00
yangfeng
23a7b191ca feat(bt): Add APIs to control transmit power level
- API to read ACL real RSSI
- APIs to read/write tx power of inq/iscan/page/pscan/ACL
2026-03-16 15:45:51 +08:00
Island
c146f52ea6 Merge branch 'bugfix/fix_ble_scan_start_assertion_when_coex_with_wifi_mst_v5.4' into 'release/v5.4'
fix(ble): fix ble scan assertion when coex with wifi on ESP32-C2 (v5.4)

See merge request espressif/esp-idf!46252
2026-03-09 10:51:10 +08:00
Jin Chen
bfd2605037 fix(ble): use apb max state for bt and enable should skip on ESP32-H2
(cherry picked from commit ac8fe378a0)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-06 10:13:19 +08:00
Jin Chen
fceb5d71a3 fix(ble): use apb max state for bt and enable should skip on ESP32-C6
(cherry picked from commit 73191cb5f9)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-06 10:13:18 +08:00
Jin Chen
769d60a058 fix(ble): use apb max state for bt and enable should skip on ESP32-C2
(cherry picked from commit 9de0235a9f)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-06 10:13:18 +08:00
Jin Chen
9e714b4a14 fix(ble): fix ble scan assertion when coex with wifi on ESP32-C2
(cherry picked from commit 974682d169)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-04 14:26:05 +08:00
Jin Cheng
e0a9ca9aa3 fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected 2026-03-03 11:39:29 +08:00
hebinglin
1d2ffd5941 fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-03-02 12:22:15 +08:00
Island
5d83bd2106 Merge branch 'change/ble_update_lib_20260127_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20260127 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!45676
2026-02-27 15:30:05 +08:00
xiongweichao
c9ea57b795 fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:30:34 +08:00
Wang Meng Yang
17a019ab90 Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.4' into 'release/v5.4'
fix(bt): Add some debug logs during A2DP sink decoding(v5.4)

See merge request espressif/esp-idf!45786
2026-02-13 08:33:11 +08:00