From 861a651b11e5fd32812e188b8b3e62419d5f8e44 Mon Sep 17 00:00:00 2001 From: cjin Date: Fri, 6 Mar 2026 12:12:25 +0800 Subject: [PATCH 1/2] fix(ble): fix ble reset randomly assertion on ESP32-C2 --- components/bt/controller/lib_esp32c2/esp32c2-bt-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib index a5b7488a78..442f1515ba 160000 --- a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib +++ b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib @@ -1 +1 @@ -Subproject commit a5b7488a78cc5cca112122a560487411dbb6a830 +Subproject commit 442f1515baf3917f58494f952da3767600bda9bf From 19c224430286845a78b6788f90dd0bd077f95871 Mon Sep 17 00:00:00 2001 From: cjin Date: Mon, 9 Mar 2026 16:37:43 +0800 Subject: [PATCH 2/2] fix(ble): fix phy update ctrl process unexpectedly trimmed on ESP32C2 --- components/bt/controller/esp32c2/ble_dummy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/bt/controller/esp32c2/ble_dummy.h b/components/bt/controller/esp32c2/ble_dummy.h index ac72062abf..8e51a2c09d 100644 --- a/components/bt/controller/esp32c2/ble_dummy.h +++ b/components/bt/controller/esp32c2/ble_dummy.h @@ -220,9 +220,9 @@ void r_ble_lll_conn_rx_pkt_isr_eco4(void){} // int_eco4 r_ble_ll_conn_env_init(void){return 0;} #endif // !DEFAULT_BT_LE_ROLE_CENTROL && !DEFAULT_BT_LE_ROLE_PERIPHERAL -#if !DEFAULT_BT_LE_ROLE_PERIPHERAL || !DEFAULT_BT_LE_2M_PHY && !DEFAULT_BT_LE_CODED_PHY +#if !DEFAULT_BT_LE_2M_PHY && !DEFAULT_BT_LE_CODED_PHY void r_ble_ll_ctrl_rx_phy_update_ind(void){} -void r_ble_ll_ctrl_rx_phy_update_ind_eco4(void){} +uint8_t r_ble_ll_ctrl_rx_phy_update_ind_eco4(void){return 0x07;} #endif // !DEFAULT_BT_LE_2M_PHY && !DEFAULT_BT_LE_CODED_PHY #if !DEFAULT_BT_LE_50_FEATURE_SUPPORT