Commit Graph

4231 Commits

Author SHA1 Message Date
Wang Meng Yang
7c70024da5 Merge branch 'bugfix/fix_esp32_bt_disable_crash_v5.1' into 'release/v5.1'
fix(bt): Fix controller disable cause iwdt timeout on esp32 (v5.1)

See merge request espressif/esp-idf!37775
2025-03-24 14:44:40 +08:00
xiongweichao
3b6ad2ac10 fix(bt/bluedroid): fixed other events being reported when disconnected
- Since no initial value is assigned, the variable evt is a random value,
causing the ESP_BT_GAP_DISC_STATE_CHANGED_EVT event to be reported when
the connection is disconnected.
2025-03-21 11:22:36 +08:00
linruihao
77e1943ed2 fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-21 11:16:22 +08:00
Rahul Tank
c4e013b032 Merge branch 'bugfix/fix_smp_command_allocation_v5.1' into 'release/v5.1'
fix(nimble): Fix SMP command allocation (v5.1)

See merge request espressif/esp-idf!37849
2025-03-20 21:48:07 +08:00
Island
d8c26f7ceb Merge branch 'change/ble_update_lib_20250313_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250313 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!37819
2025-03-20 11:37:40 +08:00
Rahul Tank
1dcd9aaed8 fix(nimble): Fix SMP command allocation 2025-03-19 21:00:25 +05:30
Geng Yuchao
0ea48c1960 fix(ble): Add link requires esp_phy for ble. 2025-03-19 19:30:04 +08:00
Zhou Xiao
0eed404ef2 feat(ble): support ble log simple output via SPI interface 2025-03-19 19:29:56 +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
e9b57f60af fix(ble): remove macro in lpclk src get api on ESP32-C6
(cherry picked from commit b62f094ed5)

Co-authored-by: cjin <jinchen@espressif.com>
2025-03-18 12:54:05 +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
Shreeyash
94eaf3fb23 feat(nimble): support vendor event mask set and vendor HCI event on nimble host 2025-03-17 17:00:55 +05:30
Rahul Tank
ecdc69c98a fix(nimble): Fix incorrect event deinit in gatt caching discovery 2025-03-14 19:13:17 +05:30
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
efddb5f5e6 Merge branch 'feature/move_tinycrypt_to_bt_common_v5.1' into 'release/v5.1'
Feature/move tinycrypt to bt common (v5.1)

See merge request espressif/esp-idf!37579
2025-03-14 10:24:34 +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
Shen Weilong
5c8b66f314 feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-13 17:26:31 +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
Wang Meng Yang
9c91ff7845 Merge branch 'bugfix/spp_free_server_slot_err_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed freeing spp server memory when disconnected(v5.1)

See merge request espressif/esp-idf!37611
2025-03-12 17:26:48 +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
Marius Vikhammer
4aa92562ba Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.1' into 'release/v5.1'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.1)

See merge request espressif/esp-idf!37123
2025-03-12 10:00:36 +08:00
Island
64d22a4e62 Merge branch 'feat/support_read_periodic_adv_size_v5.1' into 'release/v5.1'
feat(ble/bluedroid): Support read periodic advertiser list size command (v5.1)

See merge request espressif/esp-idf!37501
2025-03-11 10:52:35 +08:00
xiongweichao
0c09ca81c1 fix(bt/bluedroid): Fixed freeing spp server memory when disconnected 2025-03-11 09:39:16 +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
zhanghaipeng
9689d076b6 feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-10 14:38:55 +08:00
Shen Weilong
8d57c19015 change(bt): moved porting/ext/tinycrypt into common 2025-03-10 09:10:58 +08:00
Abhinav Kudnar
4e7990ea21 fix(nimble): Exposed the ble_gap_wl_tx_add API to add a device in whitelist, other fixes 2025-03-07 14:34:01 +05:30
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
Rahul Tank
2b897075a7 fix(nimble): Fix SC only pairing failure 2025-03-05 19:45:27 +05:30
Island
9ca83ba4f4 Merge branch 'bugfix/fix_ble_kconfig_v5.1' into 'release/v5.1'
fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior (v5.1)

See merge request espressif/esp-idf!37419
2025-03-05 15:08:12 +08:00
Rahul Tank
fbec1c0964 Merge branch 'bugfix/fix_link_estab_compile_failure_v5.1' into 'release/v5.1'
fix(nimble): Handle probable release breaking change (v5.1)

See merge request espressif/esp-idf!37437
2025-03-05 14:56:02 +08:00
Wang Meng Yang
28035c9873 Merge branch 'bugfix/spp_mem_leak_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed memory leaks in SPP callback mode (v5.1)

See merge request espressif/esp-idf!37388
2025-03-05 09:09:21 +08:00
Rahul Tank
e620fddc85 fix(nimble): Handle probable release breaking change
link_estab event may be handled by customers in application and the previous would break it.
Revert few changes so as to not break the customer's code
2025-03-03 12:47:09 +05:30
zhanghaipeng
5fc7854542 fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior 2025-03-03 11:19:07 +08:00
Rahul Tank
22e5ec0cc5 Merge branch 'bugfix/set_data_len_post_conn_v5.1' into 'release/v5.1'
fix(nimble): update data length after connection for all chips (v5.1)

See merge request espressif/esp-idf!37291
2025-03-01 16:36:20 +08:00