From 8b620d2070e0f516a22af615b689969a03b4c7a2 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 e4677d83da202c94e1ec36f7ce9377aa30edc24f 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 ++-- components/bt/controller/lib_esp32c2/esp32c2-bt-lib | 2 +- 2 files changed, 3 insertions(+), 3 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 diff --git a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib index 442f1515ba..1b0f5aac0f 160000 --- a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib +++ b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib @@ -1 +1 @@ -Subproject commit 442f1515baf3917f58494f952da3767600bda9bf +Subproject commit 1b0f5aac0fcf91ea042c781e6da10a528ca0da03