xref: /btstack/src/hci_dump.h (revision 8adf0dda452dfdcc90e999c1581cd0f7e35e07d6)
1 /*
2  *  hci_dump.h
3  *
4  *  Dump HCI trace in BlueZ's hcidump format
5  *
6  *  Created by Matthias Ringwald on 5/26/09.
7  */
8 
9 #include <stdint.h>
10 
11 typedef enum {
12     HCI_DUMP_BLUEZ = 0,
13     HCI_DUMP_PACKETLOGGER,
14     HCI_DUMP_STDOUT
15 } hci_dump_format_t;
16 
17 void hci_dump_open(char *filename, hci_dump_format_t format);
18 void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len);
19 void hci_dump_close();
20