Commit Graph

1220 Commits

Author SHA1 Message Date
ShenWeilong 583a8c441d fix(ble): fixed esp32h4 kconfig CI warning 2026-04-03 21:31:26 +08:00
Island 51bbd5257a Merge branch 'dev/ble-log-202603' into 'master'
dev: BLE Log 202603

See merge request espressif/esp-idf!46934
2026-04-03 18:10:47 +08:00
ShenWeilong 271ff9605a fix(bt): fixed some h4 issues reported by ci pipeline 2026-04-02 14:59:41 +08:00
ShenWeilong 6e359ad99e feat(ble): added ble support for esp32h4 eco1 2026-04-02 14:59:40 +08:00
linruihao 647f0972ac 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-03-24 19:16:33 +08:00
Zhou Xiao c223a3f835 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-03-23 23:44:26 +08:00
Zhou Xiao b5b886fd1e 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-03-23 20:10:38 +08:00
xiongweichao 0bc4f8ab8e fix(bt): Fix crash due to functions not placed in IRAM 2026-03-23 14:28:58 +08:00
zhanghaipeng e3aac6f703 fix(ble): Fixed BLE assert in "emi.c" when low memory 2026-03-20 20:01:55 +08:00
Zhou Xiao d51892380b 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-03-20 16:01:35 +08:00
zhaoweiliang a8d705ff7a change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d 2026-03-18 17:21:42 +08:00
zhaoweiliang a2ef5c0ff9 change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335 2026-03-18 17:21:42 +08:00
zhaoweiliang 06010a8b79 change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d 2026-03-18 17:21:42 +08:00
zhaoweiliang 739cb8e00d change(ble): [AUTO_MR] Update lib_esp32c5 to 913c704d 2026-03-18 17:21:42 +08:00
cjin 5ec82368ba feat(ble): make env init function cuttable on ESP32-C2 2026-03-18 17:21:42 +08:00
yangfeng 7a0771d2c8 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-13 10:12:40 +08:00
Island 596827eafd Merge branch 'feat/use_common_config_to_sel_crypt_lib' into 'master'
Feat/use common config to sel crypt lib

See merge request espressif/esp-idf!45556
2026-03-09 14:16:31 +08:00
Island 249c55a741 Merge branch 'fix/use_apb_max_state_for_ble_events' into 'master'
fix(ble): use apb max state for bt and enable should skip

Closes BLERP-2616 and BLERP-2617

See merge request espressif/esp-idf!46296
2026-03-09 10:50:18 +08:00
Geng Yuchao 403be0a770 fix(ble): remove error cte depends for esp32c5 2026-03-06 12:03:05 +08:00
cjin ac8fe378a0 fix(ble): use apb max state for bt and enable should skip on ESP32-H2 2026-03-05 11:29:35 +08:00
cjin 73191cb5f9 fix(ble): use apb max state for bt and enable should skip on ESP32-C6 2026-03-05 11:29:23 +08:00
cjin 8365eb324f fix(ble): use apb max state for bt and enable should skip on ESP32-C5 2026-03-05 11:29:19 +08:00
cjin 9de0235a9f fix(ble): use apb max state for bt and enable should skip on ESP32-C2 2026-03-05 11:29:12 +08:00
cjin 974682d169 fix(ble): fix ble scan assertion when coex with wifi on ESP32-C2 2026-03-03 14:18:39 +08:00
He Binglin 1b547ca0ba Merge branch 'bugfix/esp_idf_s3_deepsleep_dead' into 'master'
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs

See merge request espressif/esp-idf!41680
2026-03-02 11:35:53 +08:00
Jin Cheng 588b03d0d8 fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected 2026-02-25 11:05:39 +08:00
Jiang Jiang Jian d7a52218e1 Merge branch 'bugfix/lc_not_wakeup' into 'master'
fix(ble): Fix restore write-back error caused by memory allocated in PSRAM

Closes BT-4245

See merge request espressif/esp-idf!45717
2026-02-13 12:32:37 +08:00
Island 26bc88a9ba Merge branch 'feat/fix_esp32c2_rom_rewrite_issue_rebase' into 'master'
Feat/fix esp32c2 rom rewrite issue rebase

See merge request espressif/esp-idf!45635
2026-02-11 10:15:44 +08:00
hebinglin baeabe48c3 fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-02-10 12:08:03 +08:00
cjin 2a0df334e3 feat(ble): apply new method for rom code logic change on ESP32-C2 2026-02-09 10:52:15 +08:00
cjin b90840a570 feat(ble): support for ble module stripping on ESP32-C2 2026-02-09 08:55:41 +08:00
xiongweichao 4ef57f9c81 fix(bt): Replace 32k_xtal with rtc_slow 2026-02-06 08:24:33 +00:00
xiongweichao 91b9e7be7c fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-06 16:23:24 +08:00
Island 0d60c16312 Merge branch 'feat/esp_idf_modem_state_reconstruct' into 'master'
refactor modem clock driver

Closes PM-636

See merge request espressif/esp-idf!44185
2026-02-06 12:10:58 +08:00
cjin 5777364341 fix(ble): add modem syscon header include on ESP32H2 2026-02-04 12:36:42 +08:00
cjin 4418d5da82 feat(ble): add config for reserved controller memory on ESP32C6 and ESP32H2 2026-02-04 00:07:44 +08:00
cjin 5307ec1f92 feat(ble): add config for reserved controller memory on ESP32C5 2026-02-04 00:07:44 +08:00
zhaoweiliang 1fc9676c99 feat(ble): support adv fast tx feature on ESP32-C5 2026-02-04 00:07:44 +08:00
zhaoweiliang 84924e3980 feat(ble): support adv fast tx feature on ESP32-C6 and ESP32-H2 2026-02-04 00:07:44 +08:00
zhaoweiliang 6ed9fc7d6b change(ble): [AUTO_MR] Update lib_esp32c6 to bc223ab7 2026-02-04 00:07:44 +08:00
zhaoweiliang a82be7c52c change(ble): [AUTO_MR] Update lib_esp32c5 to bc223ab7 2026-02-04 00:07:44 +08:00
zhaoweiliang 1e196de967 change(ble): [AUTO_MR] Update lib_esp32h2 to bc223ab7 2026-02-04 00:07:44 +08:00
ShenWeilong aa40fdcc64 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-02-04 00:07:33 +08:00
Wang Meng Yang be9b36a201 Merge branch 'feat/set_max_sync_conn' into 'master'
feat(bt): set BR/EDR max sync conn eff for Bluedroid HFP on ESP32

Closes IDFGH-17014

See merge request espressif/esp-idf!45005
2026-01-19 14:43:07 +08:00
cjin e4e42f0166 feat(ble): support sid filter feature on ESP32H2 2026-01-16 12:51:55 +05:30
cjin 6b4b497901 feat(ble): support sid filter feature on ESP32C6 2026-01-16 12:51:55 +05:30
cjin debd743a0b feat(ble): support sid filter feature on ESP32C5 2026-01-16 12:51:55 +05:30
Zhou Xiao 54e5f358bf change(ble): [AUTO_MR] Update lib_esp32c6 to 17fdc66e 2026-01-16 12:51:46 +05:30
Zhou Xiao 7631a6f158 change(ble): [AUTO_MR] Update lib_esp32c5 to 17fdc66e 2026-01-16 12:51:46 +05:30
Zhou Xiao 57b4819474 change(ble): [AUTO_MR] Update lib_esp32h2 to 17fdc66e 2026-01-16 12:51:46 +05:30