Commit Graph

1134 Commits

Author SHA1 Message Date
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
xiongweichao
6ae62ea729 fix(bt): Replace 32k_xtal with rtc_slow 2026-02-10 14:52:51 +08:00
Zhao Wei Liang
909119efcc 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:33 +08:00
Zhao Wei Liang
d1eb659666 feat(ble): support adv fast tx feature on ESP32-C6 and ESP32-H2
(cherry picked from commit 84924e3980)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:33 +08:00
Zhao Wei Liang
3d3a5314fe change(ble): [AUTO_MR] Update lib_esp32c6 to bc223ab7
(cherry picked from commit 6ed9fc7d6b)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:33 +08:00
Zhao Wei Liang
c7d5b03283 change(ble): [AUTO_MR] Update lib_esp32h2 to bc223ab7
(cherry picked from commit 1e196de967)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:33 +08:00
Jin Chen
b89eaa814a feat(ble): apply new method for rom code logic change on ESP32-C2
(cherry picked from commit 2a0df334e3)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-09 20:13:17 +08:00
Jin Chen
a114208a9b feat(ble): support for ble module stripping on ESP32-C2
(cherry picked from commit b90840a570)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-09 20:13:17 +08:00
zhiweijian
dd35a4eaef feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:14:59 +08:00
Wang Meng Yang
5e7c25c636 Merge branch 'feat/set_max_sync_conn_v5.4' into 'release/v5.4'
feat(bt): set BR/EDR max sync conn eff for Bluedroid HFP on ESP32 (v5.4)

See merge request espressif/esp-idf!45243
2026-01-21 19:45:17 +08:00
yangfeng
bb156c8c1d feat(bt): set BR/EDR max sync conn eff for Bluedroid HFP on ESP32
Closes https://github.com/espressif/esp-idf/issues/18060
2026-01-19 15:32:05 +08:00
cjin
31bea4d01a feat(ble): support sid filter feature on ESP32C6 2026-01-19 14:18:07 +08:00
Zhou Xiao
b83197217d feat(ble): support sid filter feature on ESP32H2
(cherry picked from commit e4e42f0166)

Co-authored-by: cjin <jinchen@espressif.com>
2026-01-19 14:16:06 +08:00
Zhou Xiao
9f210256ed change(ble): [AUTO_MR] Update lib_esp32c6 to 17fdc66e
(cherry picked from commit 54e5f358bf)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-19 14:16:06 +08:00
Zhou Xiao
ac45784bb3 change(ble): [AUTO_MR] Update lib_esp32h2 to 17fdc66e
(cherry picked from commit 57b4819474)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-19 14:16:06 +08:00
Island
47a1d6463f Merge branch 'change/ble_update_lib_20260108_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20260108 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!44932
2026-01-16 16:03:56 +08:00
Jin Cheng
3d002a3531 fix(bt/controller): fixed wrong key type during changing connection link key 2026-01-09 18:14:26 +08:00
Zhou Xiao
e1a03cb3dd change(ble): [AUTO_MR] Update lib_esp32c6 to acf48208
(cherry picked from commit 69522eaedb)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-08 21:13:40 +08:00
Zhou Xiao
b07734d5df change(ble): [AUTO_MR] Update lib_esp32h2 to acf48208
(cherry picked from commit 32b41c88e0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-08 21:13:38 +08:00
Chen Jian Hua
0265b87bbd feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(1bb2f50)
- Support fixed log id for log compression
- Support parsing log with synced timestamp


(cherry picked from commit 2ccf312373)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2026-01-05 09:33:20 +08:00
Island
78d2325639 Merge branch 'change/ble_update_lib_20251231_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20251231 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!44742
2026-01-04 17:52:06 +08:00