1233 Commits

Author SHA1 Message Date
wangjialiang d08f00dae4 change(ble): add ble iso funcs to obfuscation whitelist 2026-04-22 14:22:51 +08:00
Wang Meng Yang e1b81f0aad Merge branch 'feat/support_ble_bredr_on_esp32s31' into 'master'
feat(bt): Support Bluetooth LE and Bluetooth Classic on ESP32-S31

Closes IDF-15185, IDF-15188, IDF-15189, IDF-15193, and IDF-15192

See merge request espressif/esp-idf!47330
2026-04-22 08:03:07 +08:00
cjin 3acaac4a07 fix(bt): update btdm init/deinit and enable/disable process 2026-04-21 17:53:26 +08:00
cjin 6f7eec029b feat(ble): support ble on esp32s31 2026-04-21 17:50:36 +08:00
wangmengyang 11268d8bfb feat(bt): Add initial support of Bluetooth Classic on ESP32-S31
- feat(soc_caps): Enable BT Classic and BLE in esp32s31
- Add git submodule for ESP32-S31 bt controller lib files
- changed sdkconfig.defaults and README for Bluetooth Classic examples
- change(docs): Added vendor HCI documentations for ESP32-S31
- change(Bluedroid): Adapt to ESP32-S31 due to some API differences on
  Bluetooth controller from ESP32
- change(bt): Modify CMakeLists.txt to support the Bluetooth dual-mode
  architecture on ESP32-S31
- change(bt): Add ECC P-192 functions to tinycrypt
2026-04-21 17:50:34 +08:00
ShenWeilong 25776f484d fix(ble): fixed some ble internal issues for esp32h4 2026-04-20 20:47:53 +08:00
Jin Cheng 83ede08702 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-04-16 20:27:47 +08:00
zhaoweiliang d7bfbef862 feat(ble): add adv tx options on ESP32-C5 2026-04-09 11:11:52 +08:00
zhaoweiliang 8ef46541cd feat(ble): add adv tx options on ESP32-H2 2026-04-09 11:11:52 +08:00
zhaoweiliang e85bb5cca8 feat(ble): add adv tx options on ESP32-C6 2026-04-09 11:11:52 +08:00
zhaoweiliang 24d0f0fad1 change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f 2026-04-09 11:11:52 +08:00
zhaoweiliang a23c9acab7 change(ble): [AUTO_MR] Update lib_esp32c5 to c9fbba6f 2026-04-09 11:11:52 +08:00
zhaoweiliang 9bfcc76221 change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f 2026-04-09 11:11:52 +08:00
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