Commit Graph
132 Commits
Author SHA1 Message Date
ShenWeilong b3409aa6e3 fix(ble): always init the default os queue for all of controllers 2026-05-05 00:05:41 +08:00
Zhou Xiao bf2422136d 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:13:32 +08:00
ShenWeilong 790c71f79a change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-03-31 00:06:16 +08:00
cjin 8aa53a7bbd feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-30 00:05:17 +08:00
Jin Chen 5c96decc19 feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-30 00:05:17 +08:00
Jiang Jiang Jian f161f4f580 Merge branch 'fix/use_apb_max_state_for_ble_events_v5.3' into 'release/v5.3'
fix(ble): use apb max state for bt and enable should skip (v5.3)

See merge request espressif/esp-idf!46331
2026-03-25 20:51:59 +08:00
cjin dad5c893b3 fix(ble): fix conn timeout after phy update on ESP32-C2 2026-03-18 17:17:30 +08:00
cjin 19c2244302 fix(ble): fix phy update ctrl process unexpectedly trimmed on ESP32C2 2026-03-09 17:04:28 +08:00
Jin Chen 312cec1fed 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:16 +08:00
Jin Chen 55f4b1bfb3 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:15 +08:00
Jin Chen b7d70e8db1 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:15 +08:00
Zhao Wei Liang 655bbabd79 fix(ble): fixed build error on ESP32-C6
(cherry picked from commit a16a56fdbe)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-31 21:13:27 +08:00
Zhao Wei Liang ba94852d59 fix(ble): fixed the assert issue when using tinycrypt on ESP32-C2
(cherry picked from commit ac5d14d954)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-05 09:51:34 +08:00
Island 0c4c585f09 Merge branch 'fix/update_pawr_example_docs_v5.3' into 'release/v5.3'
Fix/update pawr example docs (v5.3)

See merge request espressif/esp-idf!42656
2025-10-28 11:14:11 +08:00
Zhou Xiaoandcjin a1e7e10884 fix(ble): fix ble wakeup causes error on ESP32-C2
(cherry picked from commit 5407e36e4a)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-23 15:12:34 +08:00
Jin Chen e266f8a9e2 feat(ble): allow a larger sca limit on ESP32-C2
(cherry picked from commit 9ecf67b230)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-20 10:19:15 +08:00
Zhao Wei Liang 3d2d6cf4cb feat(ble): change free api on ESP32-C2
(cherry picked from commit e18972e94e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:46 +08:00
cjin 80cb663941 feat(ble): get wakeup cause when wake up on ESP32-C2 2025-09-22 18:47:37 +08:00
Zhou Xiao af863d07bd feat(ble): supported ble log v2 for ESP32-C2 2025-09-16 19:13:33 +08:00
Zhou Xiao 3f6a1417f7 change(ble): enabled specify scan channel vs hci cmd for ESP32-C2 2025-08-25 10:43:19 +08:00
Zhou Xiaoandcjin 84151af576 feat(ble): support memory allocation check debug feature on ESP32-C2
(cherry picked from commit 7ef90d4113)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:14:19 +08:00
Zhao Wei LiangandZhou Xiao 0dba389a1c fix(ble): ensure ble controller disable safety for ESP32-C2
(cherry picked from commit cbe6f68d3c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-02 15:14:04 +08:00
Zhao Wei Liangandcjin bd57080585 fix(ble): change the default ble cca thresh on ESP32-C2
(cherry picked from commit a10696d7e1)

Co-authored-by: cjin <jinchen@espressif.com>
2025-06-09 11:04:17 +08:00
Zhao Wei LiangandZhou Xiao d42c0c88ef fix(ble): added missed printf for ll log interface
(cherry picked from commit d12e072b35)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-19 12:04:01 +08:00
Jin Chen 2c782de873 fix(ble): fix rtc freq set too high on ESP32-C2
(cherry picked from commit 6a80deac03)

Co-authored-by: cjin <jinchen@espressif.com>
2025-05-07 10:18:33 +08:00
Jin Chen e851ff6671 feat(ble): support ble sleep using 136 kHz RC on ESP32-C2
(cherry picked from commit 73f1084bf8)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:35 +08:00
Zhou Xiaoandcjin c5ac5e42b3 feat(ble): use new section for ble sleep on ESP32-C2
(cherry picked from commit ce4e012c8b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:29 +08:00
Shen Weilong 7856fefea1 feat(ble/controller): Added memory boundary check for ESP32-C2 2025-04-15 12:20:31 +08:00
zwl 87838acaed feat(ble): add enhanced connect function on ESP32-C2 2025-04-15 12:17:03 +08:00
Zhou Xiao 9c27284fd5 feat(ble): support ble log simple output via SPI interface for ESP32-C2 2025-04-15 12:17:03 +08:00
Zhou Xiao 1dac25fab7 fix(ble): add feed wdts during ble log dump for ESP32-C2 2025-04-15 12:17:03 +08:00
Island 97016c986c Merge branch 'feat/optimize_hci_data_recv_process_v5.3' into 'release/v5.3'
Feat/optimize hci data recv process (v5.3)

See merge request espressif/esp-idf!37833
2025-04-15 11:35:08 +08:00
Marius Vikhammer 7fea3ef20f Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.3' into 'release/v5.3'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.3)

See merge request espressif/esp-idf!37115
2025-04-15 11:05:57 +08:00
Shen Wei Long 92ddd1cccb feat(ble/controller): Deleted useless functions for ESP32-C6/H2/C2 2025-03-24 20:20:35 +08:00
Zhao Wei Liang c70eac403d feat(ble): change whitelist max size to 31 on ESP32-C2
(cherry picked from commit 578f2358c6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:33 +08:00
Zhao Wei Liang 6c7416bc9a fix(ble): fixed hci driver stack protection fault issue on ESP32-C2
(cherry picked from commit afd44d14b9)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:26 +08:00
Sudeep Mohanty 81109e8bdd fix(panic_handler): Updated panic handler to use RTC WDT
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
  reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
  panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
  handler.

Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-03-06 09:13:17 +01:00
Island 9eeff2e97e Merge branch 'feat/improve_bt_log_spi_output_interface_v5.3' into 'release/v5.3'
Feat/improve bt log spi output interface (v5.3)

See merge request espressif/esp-idf!37136
2025-02-20 14:48:02 +08:00
Zhou Xiao d01f32df2d change(ble): update ble log spi out config for ESP32-C2
(cherry picked from commit e4b698fc32)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:05 +08:00
Zhou Xiaoandzwl 8ca2a45a16 feat(ble): support enhanced controller log capabilities on ESP32-C2
(cherry picked from commit bbcb4a2e1f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:23:26 +08:00
Zhou Xiao d6fb7d4c0b feat(ble): support esp ble controller spi output interface for ESP32-C2
(cherry picked from commit 0b57f8ae87)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:53:59 +08:00
Zhou Xiaoandzwl 0740986590 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2
(cherry picked from commit 6a752eeb89)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:24 +08:00
Zhao Wei Liang ea2cf71b2f feat(ble): Support get ble controller free heap size on ESP32-C2
(cherry picked from commit 2cb7d2437b)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:36 +08:00
Zhao Wei Liang c119c9f6d7 fix(ble): fixed the connect issue when rx error aa on ESP32-C2
(cherry picked from commit 6b01a56e09)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:44 +08:00
Jin Chen 839007f0d9 fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-21 11:03:46 +08:00
Shen Weilong 6e4b35ac4a feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:52:15 +08:00
Jiang Jiang Jian 93cce50b3c Merge branch 'feat/print_the_ble_mac_when_init_5.3' into 'release/v5.3'
feat(ble): Print out the BT mac when the controller is initialized

See merge request espressif/esp-idf!32730
2024-09-06 10:29:39 +08:00
cjin 992bf3f078 feat(ble): add internal api to change ble slow clock source 2024-09-05 10:17:20 +08:00
Shen Weilong 7c9d9a8ad8 feat(ble): Print out the BT mac when the controller is initialized 2024-08-09 20:47:59 +08:00
zwl 5509cda7ca fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-07-31 14:38:40 +08:00