From 8bf1391cac99825fef5230e86f407cce67ef6d37 Mon Sep 17 00:00:00 2001 From: zhanghaipeng Date: Wed, 24 Apr 2024 11:56:39 +0800 Subject: [PATCH 1/2] fix(ble/controller): Update esp32 bt-lib (4012cfb) - Fixed BLE coex assert - Fixed BLE DTM status and tx count --- components/bt/controller/lib_esp32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/controller/lib_esp32 b/components/bt/controller/lib_esp32 index 44341b15e5..43ecd22ec6 160000 --- a/components/bt/controller/lib_esp32 +++ b/components/bt/controller/lib_esp32 @@ -1 +1 @@ -Subproject commit 44341b15e58792946cc65ed8d4483929194d182f +Subproject commit 43ecd22ec6b5b484709693ae8e86478a7f130f17 From 2ca8c10a49274fad7b23a4bb96a7bdc22f82511a Mon Sep 17 00:00:00 2001 From: zhanghaipeng Date: Fri, 26 Apr 2024 14:59:31 +0800 Subject: [PATCH 2/2] feat(ble/bluedroid): Support BLE command status debug log --- components/bt/host/bluedroid/stack/btu/btu_hcif.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/bt/host/bluedroid/stack/btu/btu_hcif.c b/components/bt/host/bluedroid/stack/btu/btu_hcif.c index 1bfa1a81e0..e62d9eb3de 100644 --- a/components/bt/host/bluedroid/stack/btu/btu_hcif.c +++ b/components/bt/host/bluedroid/stack/btu/btu_hcif.c @@ -1246,6 +1246,9 @@ static void btu_hcif_command_complete_evt(BT_HDR *response, void *context) static void btu_hcif_hdl_command_status (UINT16 opcode, UINT8 status, UINT8 *p_cmd, void *p_vsc_status_cback) { + if (status != HCI_SUCCESS){ + HCI_TRACE_WARNING("%s,opcode:0x%04x,status:0x%02x", __func__, opcode,status); + } BD_ADDR bd_addr; UINT16 handle; #if BTM_SCO_INCLUDED == TRUE