Skip to content

Commit 212f316

Browse files
committed
feat(ble/bluedroid): Support BLE command status debug log
1 parent 0fcc940 commit 212f316

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/bt/host/bluedroid/stack/btu/btu_hcif.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,9 @@ static void btu_hcif_command_complete_evt(BT_HDR *response, void *context)
12521252
static void btu_hcif_hdl_command_status (UINT16 opcode, UINT8 status, UINT8 *p_cmd,
12531253
void *p_vsc_status_cback)
12541254
{
1255+
if (status != HCI_SUCCESS){
1256+
HCI_TRACE_WARNING("%s,opcode:0x%04x,status:0x%02x", __func__, opcode,status);
1257+
}
12551258
BD_ADDR bd_addr;
12561259
UINT16 handle;
12571260
#if BTM_SCO_INCLUDED == TRUE

0 commit comments

Comments
 (0)