Commit Graph

799 Commits

Author SHA1 Message Date
Zhao Wei Liang
f9ab136a01 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:18:06 +08:00
Zhao Wei Liang
2de1e0c5a4 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:18:06 +08:00
Zhao Wei Liang
a19799cbd0 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:18:06 +08:00
Zhao Wei Liang
1e14a01f63 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:18:06 +08:00
linruihao
77e1943ed2 fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-21 11:16:22 +08:00
Zhou Xiao
df176c9f55 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-18 12:54:09 +08:00
Zhou Xiao
53f7c6f58b 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-18 12:54:07 +08:00
Zhou Xiao
ca33fdac08 feat(ble): add enhanced connect function on ESP32-C2
(cherry picked from commit 71cea01694)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 12:54:02 +08:00
Zhou Xiao
ae3b1680dc 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-18 12:54:00 +08:00
Zhou Xiao
8442fb9abf 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-18 12:53:58 +08:00
Zhou Xiao
8b8384140e 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-18 12:53:55 +08:00
Zhou Xiao
346d3819e9 change(ble): [AUTO_MR] Update lib_esp32c2 to 5d9a6661
(cherry picked from commit f198302067)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-18 12:53:53 +08:00
Zhou Xiao
8dc2ca29d8 change(ble): [AUTO_MR] Update lib_esp32c6 to 82a8be7d
(cherry picked from commit 3b85cf8818)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-18 12:53:51 +08:00
Zhou Xiao
6b0b3ccaad change(ble): [AUTO_MR] Update lib_esp32h2 to 82a8be7d
(cherry picked from commit 83da04398d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-18 12:53:49 +08:00
Island
588f566017 Merge branch 'bugfix/reduce_controller_bin_size_v5.1' into 'release/v5.1'
fix(ble/controller): reduce controller bin size (backport v5.1)

See merge request espressif/esp-idf!37746
2025-03-14 11:01:42 +08:00
Island
e4f4a78f5b Merge branch 'fix/feed_wdts_during_ble_log_dump_c2_v5.1' into 'release/v5.1'
fix(ble): add feed wdts during ble log dump for ESP32-C2 (v5.1)

See merge request espressif/esp-idf!37717
2025-03-13 19:34:20 +08:00
zhiweijian
37f0a678c0 fix(ble/controller): reduce controller bin size 2025-03-13 17:43:59 +08:00
Island
3991203223 Merge branch 'bugfix/fix_some_ble_bugs_250220_esp32c3_v5.1' into 'release/v5.1'
Fixed some BLE bugs 250220 on esp32c3(b34b7d6) (v5.1)

See merge request espressif/esp-idf!37698
2025-03-13 17:34:14 +08:00
Island
2c25cdf1cb Merge branch 'feature/update_controller_lib_20250310_v5.1' into 'release/v5.1'
Feature/update controller lib 20250310 (v5.1)

See merge request espressif/esp-idf!37679
2025-03-13 14:24:46 +08:00
Zhou Xiao
f9f17fc70a 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:35 +08:00
Island
ff51717640 Merge branch 'bugfix/disable_dbg_hci_cmd_on_esp32_v5.1' into 'release/v5.1'
Disable debug vendor hci command on ESP32 (v5.1)

See merge request espressif/esp-idf!37627
2025-03-13 10:55:41 +08:00
Shen Weilong
02c08ca49c feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2 2025-03-13 09:04:56 +08:00
Shen Wei Long
09ef128249 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:01:34 +08:00
Chen Jian Hua
640ee17ca7 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


(cherry picked from commit d672f909f3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-03-12 15:33:24 +08:00
chenjianhua
d0840de93e fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-10 15:37:34 +08:00
gongyantao
326abfbf18 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-10 15:37:22 +08:00
Jin Cheng
9372cf169c 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-10 15:37:12 +08:00
Sudeep Mohanty
2bba3944c2 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:10:09 +01:00
zhanghaipeng
5fc7854542 fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior 2025-03-03 11:19:07 +08:00
chenjianhua
8b481be911 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(723439d)
- Added BLE controller debug log trace
- Added BLE controller log module
2025-02-27 16:10:32 +08:00
Wang Meng Yang
0d0800d9ea Merge branch 'feat/add_vsc_to_support_test_v5.1' into 'release/v5.1'
feat(bt): add vendor hci command and event to support test (v5.1)

See merge request espressif/esp-idf!36568
2025-02-27 14:59:59 +08:00
zhanghaipeng
618923ccbf fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG
2025-02-26 16:19:41 +08:00
Zhao Wei Liang
c16a2b345d feat(ble): add a debug way to retain scene on ESP32-C6 2025-02-26 15:31:42 +08:00
cjin
2feaf5a89c change(ble): update esp32c6 lib to 7ead2d29 2025-02-25 18:04:38 +08:00
cjin
1164033475 change(ble): update esp32h2 lib to 7ead2d29 2025-02-25 18:04:38 +08:00
zwl
1195ce2e59 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-02-25 18:04:38 +08:00
Shen Weilong
f4a8aaffcb change(ble): Supported cuttable architecture for ble 2025-02-25 18:04:38 +08:00
zhanghaipeng
e71af692b9 fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-02-23 17:40:50 +08:00
gongyantao
286736469d feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command
2025-02-23 17:40:50 +08:00
linruihao
598eff9d27 feat(bt): add coexist scheme status support for bt page 2025-02-23 17:40:50 +08:00
Island
fe44aa768e Merge branch 'change/ble_update_lib_20250114_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250114 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!36477
2025-02-21 10:47:49 +08:00
Island
06da036d83 Merge branch 'feat/improve_bt_log_spi_output_interface_v5.1' into 'release/v5.1'
Feat/improve bt log spi output interface (v5.1)

See merge request espressif/esp-idf!37134
2025-02-21 10:47:42 +08:00
Zhou Xiao
59d0d04311 change(ble): [AUTO_MR] Update lib_esp32c2 to 7b7ee440 2025-02-20 14:35:57 +08:00
Jiang Jiang Jian
e9b7e6c434 Merge branch 'change/ble_update_lib_20250212_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250212 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!37041
2025-02-20 11:09:15 +08:00
Zhou Xiao
72d8b6d20f feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3
(cherry picked from commit e41f619566)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:44 +08:00
Zhou Xiao
6fe92090ae feat(ble): support ble log spi out for ESP32
(cherry picked from commit e2fbec5d2e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:41 +08:00
Zhou Xiao
2f37a7e4fd change(ble): update ble log spi out config for ESP32-H2
(cherry picked from commit 608ecf63e2)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:38 +08:00
Zhou Xiao
928f926ba8 change(ble): update ble log spi out config for ESP32-C6
(cherry picked from commit e61089e7e0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:36 +08:00
Zhou Xiao
e2bf0a9772 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:53:33 +08:00
Island
c48f642834 Merge branch 'feat/add_spi_output_v5.1' into 'release/v5.1'
Feat/add spi output (v5.1)

See merge request espressif/esp-idf!36953
2025-02-19 10:55:18 +08:00