mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 01:21:28 +00:00
hci_dump: support iso packets via stdout
This commit is contained in:
parent
1c1afb4d65
commit
5a831baef6
@ -89,6 +89,13 @@ static void hci_dump_embedded_stdout_packet(uint8_t packet_type, uint8_t in, uin
|
||||
printf("SCO => ");
|
||||
}
|
||||
break;
|
||||
case HCI_ISO_DATA_PACKET:
|
||||
if (in) {
|
||||
printf("ISO <= ");
|
||||
} else {
|
||||
printf("ISO => ");
|
||||
}
|
||||
break;
|
||||
case LOG_MESSAGE_PACKET:
|
||||
printf("LOG -- %s\n", (char*) packet);
|
||||
return;
|
||||
|
@ -140,6 +140,13 @@ static void hci_dump_segger_rtt_stdout_packet(uint8_t packet_type, uint8_t in, u
|
||||
SEGGER_RTT_printf(0, "SCO => ");
|
||||
}
|
||||
break;
|
||||
case HCI_ISO_DATA_PACKET:
|
||||
if (in) {
|
||||
SEGGER_RTT_printf(0, "ISO <= ");
|
||||
} else {
|
||||
SEGGER_RTT_printf(0, "ISO => ");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
@ -95,6 +95,13 @@ static void hci_dump_posix_stdout_packet(uint8_t packet_type, uint8_t in, uint8_
|
||||
printf("SCO => ");
|
||||
}
|
||||
break;
|
||||
case HCI_ISO_DATA_PACKET:
|
||||
if (in) {
|
||||
printf("ISO <= ");
|
||||
} else {
|
||||
printf("ISO => ");
|
||||
}
|
||||
break;
|
||||
case LOG_MESSAGE_PACKET:
|
||||
printf("LOG -- %s\n", (char*) packet);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user