Commit Graph

812 Commits

Author SHA1 Message Date
Chen Jian Hua
c8cf2d6610 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command


(cherry picked from commit 8742bbe553)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-03-31 12:05:20 +08:00
Island
a40b0e241a Merge branch 'feature/add_vendor_ble_cmd_definitions_5.2' into 'release/v5.2'
Feature/add vendor ble cmd definitions (v5.2)

See merge request espressif/esp-idf!37960
2025-03-27 17:15:23 +08:00
Geng Yuchao
9cf96adb40 feat(ble):Add Kconfig support for direction finding feature 2025-03-26 16:32:20 +08:00
Shen Weilong
de07298213 feat(ble/controller): Added memory boundary check for ESP32-C6 and ESP32-H2 2025-03-25 16:11:17 +08:00
Shen Weilong
50d1ceaaf9 feat(ble/controller): Added memory boundary check for ESP32-C2 2025-03-25 16:11:14 +08:00
zhiweijian
5548f98339 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3 (03d0f8a6)
- Remove unused functions in the controller
2025-03-25 16:09:33 +08:00
chenjianhua
5903c691aa fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK config for the minimum size of encryption key
2025-03-25 16:09:33 +08:00
Zhao Wei Liang
af22e4dbff 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-24 17:11:39 +08:00
Zhao Wei Liang
aa4ca80115 feat(ble): change whitelist max size to 31 on ESP32-C6
(cherry picked from commit 2b435687b0)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 17:11:39 +08:00
Zhao Wei Liang
2bde2c4a01 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-24 17:11:39 +08:00
Zhao Wei Liang
471cc7a882 fix(ble): fixed hci driver stack protection fault issue on ESP32-C6
(cherry picked from commit ec4a1324f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 17:11:39 +08:00
Zhou Xiao
6015dde7db fix(ble): fix ble log init failure mem leak for ESP32
(cherry picked from commit bb9dc5a927)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
7fdcd74773 fix(ble): fix ble log init failure mem leak for ESP32-C3
(cherry picked from commit 9ff9fb0661)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
a2ec74690a feat(ble): add enhanced connect function on ESP32-C2
(cherry picked from commit 71cea01694)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
ceac71f51c feat(ble): support ble log simple output via SPI interface for ESP32-C6
(cherry picked from commit eae9b795aa)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
3435951afc feat(ble): support ble log simple output via SPI interface for ESP32-H2
(cherry picked from commit e99b3c6f6a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
dbaf3cb506 feat(ble): support ble log simple output via SPI interface for ESP32-C2
(cherry picked from commit df829ac919)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
d4d57cb3f8 change(ble): [AUTO_MR] Update lib_esp32c2 to 5d9a6661
(cherry picked from commit f198302067)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
92a9317b5e change(ble): [AUTO_MR] Update lib_esp32c6 to 82a8be7d
(cherry picked from commit 3b85cf8818)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
dfdd9a12b0 change(ble): [AUTO_MR] Update lib_esp32h2 to 82a8be7d
(cherry picked from commit 83da04398d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Wang Meng Yang
ac22ab715b Merge branch 'bugfix/fix_esp32_bt_disable_crash_v5.2' into 'release/v5.2'
fix(bt): Fix controller disable cause iwdt timeout on esp32 (v5.2)

See merge request espressif/esp-idf!37774
2025-03-21 09:27:51 +08:00
Island
72b8f2b5e3 Merge branch 'bugfix/disable_dbg_hci_cmd_on_esp32_v5.2' into 'release/v5.2'
Disable debug vendor hci command on ESP32 (v5.2)

See merge request espressif/esp-idf!37628
2025-03-18 11:02:33 +08:00
linruihao
2887be193b fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-14 17:53:05 +08:00
chenjianhua
88a4083938 fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-14 11:04:46 +08:00
gongyantao
c3930921d7 fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-14 11:04:46 +08:00
Jin Cheng
64aa888384 fix(bt/controller): fixed some controller bugs on ESP32.
1. added a VSC to control whether to initiate lmp_auto_rate
        - Closes https://github.com/espressif/esp-idf/issues/15133
    2. fixed EA resource cleanup error after SNIFF negotiation failure
        - Closes https://github.com/espressif/esp-idf/issues/13605
    3. removed an assertion in SCO data TX handler after disconnection
        - Closes https://github.com/espressif/esp-idf/issues/15176
2025-03-14 11:04:46 +08:00
zhiweijian
3527a1d0e9 fix(ble/controller): reduce controller bin size 2025-03-14 11:03:16 +08:00
Island
8d3429a4ea Merge branch 'bugfix/fix_some_ble_bugs_250220_esp32c3_v5.2' into 'release/v5.2'
Fixed some BLE bugs 250220 on esp32c3(b34b7d6) (v5.2)

See merge request espressif/esp-idf!37699
2025-03-14 10:25:07 +08:00
Island
3d18baa009 Merge branch 'fix/feed_wdts_during_ble_log_dump_c2_v5.2' into 'release/v5.2'
fix(ble): add feed wdts during ble log dump for ESP32-C2 (v5.2)

See merge request espressif/esp-idf!37718
2025-03-13 19:34:26 +08:00
Island
01a4d52e27 Merge branch 'feature/update_controller_lib_20250310_v5.2' into 'release/v5.2'
Feature/update controller lib 20250310 (v5.2)

See merge request espressif/esp-idf!37680
2025-03-13 14:25:30 +08:00
Zhou Xiao
f492c499a8 fix(ble): add feed wdts during ble log dump for ESP32-C2
(cherry picked from commit e2e8e7dce1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-13 12:53:40 +08:00
chenjianhua
ce5d89fad3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
2025-03-13 11:15:14 +08:00
Island
fbcc36a0ee Merge branch 'feat/add_ble_ctrl_log_module_on_esp32c3_v5.2' into 'release/v5.2'
feat(bt): Added BLE log module on ESP32-C3 and ESP32-S3(723439d) (v5.2)

See merge request espressif/esp-idf!37359
2025-03-13 10:57:03 +08:00
Shen Weilong
a784e0dba2 feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2 2025-03-13 09:13:43 +08:00
Shen Wei Long
13d3c588fd feat(ble): tell controller if vhci is enabled for ESP32-C2
(cherry picked from commit 892b3a0b0e)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-03-13 09:13:17 +08:00
Marius Vikhammer
a0ba8c9e1d Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.2' into 'release/v5.2'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.2)

See merge request espressif/esp-idf!37121
2025-03-12 09:58:59 +08:00
Sudeep Mohanty
ed720503fb 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:06:53 +01:00
chenjianhua
e4b8dba8fd feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(723439d)
- Added BLE controller debug log trace
- Added BLE controller log module
2025-03-06 14:48:31 +08:00
Zhao Wei Liang
3283d9e55c feat(ble): add a debug way to retain scene on ESP32-C6 2025-03-06 14:47:31 +08:00
cjin
894cd1dfa2 change(ble): update esp32c6 lib to 7ead2d29 2025-03-06 14:38:11 +08:00
cjin
c26c5e5fee change(ble): update esp32h2 lib to 7ead2d29 2025-03-06 14:38:11 +08:00
zwl
b1a4aeb539 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-03-06 14:38:11 +08:00
Shen Weilong
238c71b3da change(ble): Supported cuttable architecture for ble 2025-03-06 14:38:11 +08:00
Island
ac5760d28e Merge branch 'change/ble_update_20250221_v5.2' into 'release/v5.2'
Combined backport MR for BLE Lib & Feature Updates

See merge request espressif/esp-idf!37188
2025-03-06 11:49:38 +08:00
Zhou Xiao
2ad201f7e7 change(ble): [AUTO_MR] Update lib_esp32h2 to 1d7eebaf 2025-03-04 10:28:06 +08:00
Zhou Xiao
50b5970d0f feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3 2025-03-03 16:36:40 +08:00
Zhou Xiao
e45ce70f1d feat(ble): support ble log spi out for ESP32 2025-03-03 16:36:40 +08:00
Zhou Xiao
be79a549c4 change(ble): update ble log spi out config for ESP32-H2 2025-03-03 16:36:40 +08:00
Zhou Xiao
c3785f3a0d change(ble): update ble log spi out config for ESP32-C6 2025-03-03 16:36:40 +08:00
Zhou Xiao
79f582adaa change(ble): update ble log spi out config for ESP32-C2 2025-03-03 16:36:40 +08:00