From 8d675e3dab561ca290854925bcf8f3e1bc01e809 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Fri, 13 Feb 2015 21:56:57 +0000 Subject: [PATCH] support logging of SCO packets in PacketLogger format --- src/hci_dump.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/hci_dump.c b/src/hci_dump.c index 26ac7f7b6..dc88008e6 100644 --- a/src/hci_dump.c +++ b/src/hci_dump.c @@ -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;