support logging of SCO packets in PacketLogger format

This commit is contained in:
matthias.ringwald@gmail.com 2015-02-13 21:56:57 +00:00
parent ae7a3728bf
commit 8d675e3dab

View File

@ -217,6 +217,13 @@ void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t
header_packetlogger.type = 0x02;
}
break;
case HCI_SCO_DATA_PACKET:
if (in) {
header_packetlogger.type = 0x09;
} else {
header_packetlogger.type = 0x08;
}
break;
case HCI_EVENT_PACKET:
header_packetlogger.type = 0x01;
break;