Commit Graph

1057 Commits

Author SHA1 Message Date
Island
ed2360fff0 Merge branch 'fix/ble_funcs_reset_default_enabled_v5.2' into 'release/v5.2'
fix(bt): Add default BLE controller funcs reset enable (5.2)

See merge request espressif/esp-idf!49134
2026-06-05 12:13:45 +08:00
Island
98cbaa6392 Merge branch 'fix/fix_conn_recycle_assertion_at_halt_v5.2' into 'release/v5.2'
fix(ble): fix conn recycle assertion at halt on ESP32-C2 (5.2)

See merge request espressif/esp-idf!49234
2026-06-04 19:21:25 +08:00
Rahul Tank
876320c018 fix(nimble): Add support for shorter connection intervals 2026-06-03 19:56:27 +05:30
Jin Chen
31db4820e0 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:00 +08:00
Zhang Hai Peng
a4e675a7f2 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:14 +08:00
Zhang Hai Peng
8092d8f149 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:17 +08:00
linruihao
963e6ab3e2 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:31:22 +08:00
Island
e6eb1f9ac5 Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v5.2' into 'release/v5.2'
Fixed read remote feature timeout when using coded phy(2f683593) (5.2)

See merge request espressif/esp-idf!48060
2026-05-27 21:32:44 +08:00
Jiang Jiang Jian
01f66af270 Merge branch 'bugfix/fix_bt_incorrect_error_code_v5.2' into 'release/v5.2'
fix(bt): Correct the error code in pairing when pin code req rejected by host (v5.2)

See merge request espressif/esp-idf!48795
2026-05-22 17:24:13 +08:00
Island
1269e5c013 Merge branch 'feat/support_bluedroid_key_log_v5.2' into 'release/v5.2'
Feat/support bluedroid key log (5.2)

See merge request espressif/esp-idf!48513
2026-05-22 10:14:15 +08:00
linruihao
ffa0b22bd7 fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-21 19:06:01 +08:00
Jiang Jiang Jian
70b2892414 Merge branch 'change/ble_update_lib_20260424_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260424 - Update ESP BLE Controller Lib (5.2)

See merge request espressif/esp-idf!47991
2026-05-20 17:55:02 +08:00
Zhang Hai Peng
ec80fcf7f7 feat(ble): Support BLE critical logs
(cherry picked from commit 0af57d731c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-14 14:23:30 +08:00
Jin Cheng
0401b93b35 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 14:05:06 +08:00
Zhang Hai Peng
9da2cda499 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 15:15:21 +08:00
Shen Wei Long
00b2ff1fc6 change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6
(cherry picked from commit 70acbd85f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:43:01 +00:00
Shen Wei Long
48c08dddf4 change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6
(cherry picked from commit f3b2bf78aa)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:42:55 +00:00
Jiang Jiang Jian
15085fd29c Merge branch 'bugfix/fix_some_bt_coex_bugs_v5.2' into 'release/v5.2'
fix(coex): fix some esp32 coexistence bugs (Backport v5.2)

See merge request espressif/esp-idf!47406
2026-04-12 14:56:36 +08:00
Zhao Wei Liang
fcfeaaeb4a feat(ble): add adv tx options on ESP32-H2
(cherry picked from commit 8ef46541cd)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Zhao Wei Liang
347a5a14dd feat(ble): add adv tx options on ESP32-C6
(cherry picked from commit e85bb5cca8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Zhao Wei Liang
437a32c9b1 change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f
(cherry picked from commit 24d0f0fad1)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Zhao Wei Liang
9540ae562c change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f
(cherry picked from commit 9bfcc76221)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
linruihao
7e36a1ad5a 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-04-10 10:12:03 +08:00
Island
d4ce96fa47 Merge branch 'dev/ble-log-202603_v5.2' into 'release/v5.2'
dev: BLE Log 202603 (5.2)

See merge request espressif/esp-idf!47273
2026-04-08 10:32:35 +08:00
Island
52ad38feef Merge branch 'feat/use_common_config_to_sel_crypt_lib_v5.2' into 'release/v5.2'
Feat/use common config to sel crypt lib (v5.2)

See merge request espressif/esp-idf!46404
2026-04-07 12:12:03 +08:00
Zhou Xiao
b5b54570b2 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 11:51:03 +08:00
Zhou Xiao
b03dce2530 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 11:50:49 +08:00
Zhou Xiao
1fee2c3a0f 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 11:43:22 +08:00
cjin
3f32fefaec feat(ble): supported ble mempool run time allocation for esp ip chips 2026-04-02 16:40:03 +08:00
Jin Chen
953692616a feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-04-02 16:36:22 +08:00
Jin Chen
2502afa094 change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d
(cherry picked from commit a8d705ff7a)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-02 16:36:22 +08:00
Jin Chen
8e067d416f change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335
(cherry picked from commit a2ef5c0ff9)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-02 16:36:22 +08:00
Jin Chen
ef9c3a7972 change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d
(cherry picked from commit 06010a8b79)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-02 16:36:22 +08:00
ShenWeilong
1286301e57 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-04-01 00:21:39 +08:00
Jiang Jiang Jian
4eb56dd65f Merge branch 'bugfix/fix_ble_controller_emi_assert_v5.2' into 'release/v5.2'
fix(ble): Fixed BLE assert in "emi.c" when low memory (5.2)

See merge request espressif/esp-idf!46911
2026-03-26 17:54:19 +08:00
Jiang Jiang Jian
b4f69efd64 Merge branch 'fix/use_apb_max_state_for_ble_events_v5.2' into 'release/v5.2'
fix(ble): use apb max state for bt and enable should skip (v5.2)

See merge request espressif/esp-idf!46330
2026-03-26 17:53:56 +08:00
xiongweichao
94ba5b656c fix(bt): Fix crash due to functions not placed in IRAM 2026-03-24 12:03:34 +08:00
Zhang Hai Peng
b30b74353f 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:13 +08:00
yangfeng
d7fc14f15d 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 16:00:25 +08:00
Jin Chen
955cc3585d 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-09 00:15:12 +08:00
Jin Chen
a803e6cd53 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 14:30:03 +08:00
Jin Chen
2452f8c5b3 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:15 +08:00
Jin Chen
7c4fc1297a 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:14 +08:00
Jin Cheng
38bba48af6 fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected 2026-03-03 10:49:42 +08:00
Island
e23c7ad8ad Merge branch 'change/ble_update_lib_20260127_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260127 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!45674
2026-02-27 15:29:55 +08:00
Wang Meng Yang
5157663189 Merge branch 'bugfix/lc_not_wakeup_v5.2' into 'release/v5.2'
fix(ble): Fix restore write-back error caused by memory allocated in PSRAM(v5.2)

See merge request espressif/esp-idf!46004
2026-02-25 12:12:13 +08:00
Wang Meng Yang
2a78cd0790 Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.2' into 'release/v5.2'
fix(bt): Add some debug logs during A2DP sink decoding(v5.2)

See merge request espressif/esp-idf!45783
2026-02-25 10:03:09 +08:00
xiongweichao
dd51c36dea fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:33:50 +08:00
xiongweichao
ac88f5b20c fix(bt): Replace 32k_xtal with rtc_slow 2026-02-10 14:58:00 +08:00
Zhao Wei Liang
e12fdd4fd7 feat(ble): add config for reserved controller memory on ESP32C6 and ESP32H2
(cherry picked from commit 4418d5da82)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-10 00:06:38 +08:00