From 2efc1c3c7cc15bac31fef3f86ee3ccd1b93208a4 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 44341b15e587..43ecd22ec6b5 160000 --- a/components/bt/controller/lib_esp32 +++ b/components/bt/controller/lib_esp32 @@ -1 +1 @@ -Subproject commit 44341b15e58792946cc65ed8d4483929194d182f +Subproject commit 43ecd22ec6b5b484709693ae8e86478a7f130f17 From f449df139c9ae911808834423490f37a61337322 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 8216a2ac3bf0..7b587ea29a06 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