xref: /btstack/src/hci_dump.h (revision 8b658ebcf868c8176b3f7e17042b1385b71e098d)
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_format_t;
15 
16 void hci_dump_open(char *filename, hci_dump_format_t format);
17 void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len);
18 void hci_dump_close();
19