Commit Graph

1040 Commits

Author SHA1 Message Date
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
Zhao Wei Liang
9a51912d05 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:38 +08:00
Zhao Wei Liang
8f840d8262 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:38 +08:00
Zhao Wei Liang
61736cf67b 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:38 +08:00
Jin Chen
3da9775993 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:13 +08:00
Jin Chen
73e07d97ef 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:13 +08:00
zhiweijian
f2ba0aa3be feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:24:33 +08:00
yangfeng
0085dc5793 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-23 17:38:22 +08:00
cjin
aa0c817423 feat(ble): support sid filter feature on ESP32C6 2026-01-19 14:24:01 +08:00
Zhou Xiao
b593bd5dff feat(ble): support sid filter feature on ESP32H2
(cherry picked from commit e4e42f0166)

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

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

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-16 17:13:15 +08:00
Island
1361236948 Merge branch 'change/ble_update_lib_20260108_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260108 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!44930
2026-01-16 16:04:00 +08:00
Jin Cheng
cd0e23441b fix(bt/controller): fixed wrong key type during changing connection link key 2026-01-09 18:15:58 +08:00
Zhou Xiao
cba6e4bdd9 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:31 +08:00
Zhou Xiao
6f9d9d4a0d 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:30 +08:00
Island
690cb1d098 Merge branch 'feat/support_fixed_id_for_ctrl_log_v5.2' into 'release/v5.2'
feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(1bb2f50) (v5.2)

See merge request espressif/esp-idf!44777
2026-01-07 14:17:57 +08:00
Island
61a63b6c00 Merge branch 'change/ble_update_lib_20251231_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20251231 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!44740
2026-01-05 10:25:25 +08:00