Commit Graph

1215 Commits

Author SHA1 Message Date
Island
bde0a7361d Merge branch 'dev/ble-log-202603_v5.5' into 'release/v5.5'
dev: BLE Log 202603 (5.5)

See merge request espressif/esp-idf!47276
2026-04-08 10:32:01 +08:00
Jiang Jiang Jian
828a353388 Merge branch 'bugfix/fix_ble_controller_emi_assert_v5.5' into 'release/v5.5'
fix(ble): Fixed BLE assert in "emi.c" when low memory (5.5)

See merge request espressif/esp-idf!46914
2026-04-07 14:55:44 +08:00
Zhou Xiao
3b2852b9ee 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 12:28:59 +08:00
Zhou Xiao
51c280d361 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 12:28:59 +08:00
Zhou Xiao
f56b739d33 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:28:41 +08:00
Island
9651a6bc5d Merge branch 'feat/use_common_config_to_sel_crypt_lib_v5.5' into 'release/v5.5'
Feat/use common config to sel crypt lib (v5.5)

See merge request espressif/esp-idf!46407
2026-04-07 12:11:55 +08:00
Island
a107766df0 Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.5' into 'release/v5.5'
Support Mempool Run Time Allocation for ESP IP Chips (v5.5)

See merge request espressif/esp-idf!46823
2026-04-01 14:03:12 +08:00
Jiang Jiang Jian
f4a1e4c976 Merge branch 'bugfix/fix_kconfig_for_ble_cte_depends_v5.5' into 'release/v5.5'
bugfix(ble): remove BT_LE_SECURITY_ENABLE dependency for CTE on ESP32-C5 (v5.5)

See merge request espressif/esp-idf!46341
2026-03-31 10:46:22 +08:00
Jiang Jiang Jian
9e1f20731d Merge branch 'fix/use_apb_max_state_for_ble_events_v5.5' into 'release/v5.5'
fix(ble): use apb max state for bt and enable should skip (v5.5)

See merge request espressif/esp-idf!46333
2026-03-31 10:46:08 +08:00
ShenWeilong
856318eca8 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-03-31 00:06:10 +08:00
Jin Chen
3994d5351f 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-30 09:36:14 +08:00
Jin Chen
5304090fd9 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-30 09:36:14 +08:00
Jin Chen
ad2b8c7d4f fix(ble): use apb max state for bt and enable should skip on ESP32-C5
(cherry picked from commit 8365eb324f)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-30 09:36:14 +08:00
Jin Chen
669c7bb80f 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-30 09:36:14 +08:00
yangfeng
5830830175 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-24 14:28:55 +08:00
Zhang Hai Peng
7b1382a63e 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:19 +08:00
cjin
d8d616bbc0 feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-23 15:10:14 +08:00
zhaoweiliang
c34ab561e9 change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335 2026-03-23 15:08:15 +08:00
Jin Chen
15765b9df6 feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-23 15:08:15 +08:00
Jin Chen
5ef7dff97f change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d
(cherry picked from commit a8d705ff7a)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-23 15:07:39 +08:00
Jin Chen
9c6405881e change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d
(cherry picked from commit 06010a8b79)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-23 15:07:39 +08:00
Jin Chen
7d7ff14866 change(ble): [AUTO_MR] Update lib_esp32c5 to 913c704d
(cherry picked from commit 739cb8e00d)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-23 15:07:39 +08:00
cjin
0ccd2d53bf fix(ble): fix conn timeout after phy update on ESP32-C2 2026-03-19 09:52:29 +08:00
cjin
e4677d83da fix(ble): fix phy update ctrl process unexpectedly trimmed on ESP32C2 2026-03-12 09:32:56 +08:00
cjin
8b620d2070 fix(ble): fix ble reset randomly assertion on ESP32-C2 2026-03-11 11:17:46 +08:00
Jiang Jiang Jian
06b5b96b19 Merge branch 'bugfix/mistakenly_reject_peer_auth_req_v5.5' into 'release/v5.5'
fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected (v5.5)

See merge request espressif/esp-idf!46210
2026-03-07 16:28:05 +08:00
hebinglin
a2840f0287 fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-03-06 20:07:26 +08:00
Geng Yu Chao
f116a215f3 fix(ble): remove error cte depends for esp32c5
(cherry picked from commit 403be0a770)

Co-authored-by: Geng Yuchao <gengyuchao@espressif.com>
2026-03-06 14:01:52 +08:00
Jin Cheng
73e03f17bf fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected 2026-03-04 15:08:02 +08:00
Jin Chen
2f2e16f977 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:06 +08:00
Jiang Jiang Jian
6bd6650e97 Merge branch 'feat/fix_esp32c2_rom_rewrite_issue_rebase_v5.5' into 'release/v5.5'
Feat/fix esp32c2 rom rewrite issue rebase (v5.5)

See merge request espressif/esp-idf!45768
2026-03-03 19:38:05 +08:00
Island
e8e5527488 Merge branch 'feat/add_new_bluedroid_host_examples_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Add new bluedroid host examples (v5.5)

See merge request espressif/esp-idf!44880
2026-03-02 10:36:29 +08:00
Wang Meng Yang
4f0a3ad06a Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.5' into 'release/v5.5'
fix(bt): Add some debug logs during A2DP sink decoding(v5.5)

See merge request espressif/esp-idf!45787
2026-02-28 17:19:36 +08:00
Island
d4d1478578 Merge branch 'change/ble_update_lib_20260127_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260127 - Update ESP BLE Controller Lib (v5.5)

See merge request espressif/esp-idf!45677
2026-02-27 15:30:12 +08:00
xiongweichao
e1190ff9d5 fix(bt): Replace 32k_xtal with rtc_slow 2026-02-25 10:04:44 +08:00
xiongweichao
6cdf52e0c4 fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:29:46 +08:00
Jin Chen
48a7006e54 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:19 +08:00
Jin Chen
7ca42c4400 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:19 +08:00
zhiweijian
be341ff584 feat(ble/bluedroid): Add new bluedroid host examples 2026-02-09 00:05:04 +08:00
Zhao Wei Liang
89cd09ec26 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-05 15:13:37 +08:00
Zhao Wei Liang
7c84a32e8c feat(ble): add config for reserved controller memory on ESP32C5
(cherry picked from commit 5307ec1f92)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-05 15:13:37 +08:00
Zhao Wei Liang
817bc5613a feat(ble): support adv fast tx feature on ESP32-C5
(cherry picked from commit 1fc9676c99)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-05 15:13:36 +08:00
Zhao Wei Liang
79e68724da 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-05 15:13:36 +08:00
Zhao Wei Liang
16232de621 change(ble): [AUTO_MR] Update lib_esp32c6 to bc223ab7
(cherry picked from commit 6ed9fc7d6b)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-05 15:13:35 +08:00
Zhao Wei Liang
b1df588480 change(ble): [AUTO_MR] Update lib_esp32c5 to bc223ab7
(cherry picked from commit a82be7c52c)

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

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-05 15:13:35 +08:00
cjin
dcebe6bbac feat(ble): support sid filter feature on ESP32C6 2026-01-21 16:14:26 +05:30
Zhou Xiao
6e59e1bf4f feat(ble): support sid filter feature on ESP32H2
(cherry picked from commit e4e42f0166)

Co-authored-by: cjin <jinchen@espressif.com>
2026-01-21 16:14:26 +05:30
Zhou Xiao
fac081442c feat(ble): support sid filter feature on ESP32C5
(cherry picked from commit debd743a0b)

Co-authored-by: cjin <jinchen@espressif.com>
2026-01-21 16:14:26 +05:30
Zhou Xiao
63025accd3 change(ble): [AUTO_MR] Update lib_esp32c6 to 17fdc66e
(cherry picked from commit 54e5f358bf)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-21 16:14:26 +05:30