mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Try to figure out which HCI command that is failing
This commit is contained in:
parent
7714e807f6
commit
8d7265f92c
1 changed files with 6 additions and 0 deletions
6
BTD.cpp
6
BTD.cpp
|
@ -466,6 +466,12 @@ void BTD::HCI_event_task() {
|
||||||
#ifdef DEBUG_USB_HOST
|
#ifdef DEBUG_USB_HOST
|
||||||
Notify(PSTR("\r\nHCI Command Failed: "), 0x80);
|
Notify(PSTR("\r\nHCI Command Failed: "), 0x80);
|
||||||
D_PrintHex<uint8_t > (hcibuf[2], 0x80);
|
D_PrintHex<uint8_t > (hcibuf[2], 0x80);
|
||||||
|
Notify(PSTR("\r\nNum HCI Command Packets: "), 0x80);
|
||||||
|
D_PrintHex<uint8_t > (hcibuf[3], 0x80);
|
||||||
|
Notify(PSTR("\r\nCommand Opcode: "), 0x80);
|
||||||
|
D_PrintHex<uint8_t > (hcibuf[4], 0x80);
|
||||||
|
Notify(PSTR(" "), 0x80);
|
||||||
|
D_PrintHex<uint8_t > (hcibuf[5], 0x80);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue