1 /* 2 * hci_h4_transport.h 3 * 4 * Created by Matthias Ringwald on 4/29/09. 5 * 6 */ 7 #pragma once 8 9 #include "hci_transport.h" 10 11 /* HCI packet types */ 12 13 /** 14 * Indicates (first byte) that this pkt to the bluetooth module is a command pkt. The 15 * module will send a #HCI_EVENT_PACKET for response. 16 */ 17 #define HCI_COMMAND_DATA_PACKET 0x01 18 19 /** 20 * Indicates (first byte) that this pkt is a acl pkt. Will be sent to and from the module. 21 */ 22 #define HCI_ACL_DATA_PACKET 0x02 23 24 /** 25 * Indicates (first byte) that this pkt is a sco pkt. Will be sent to and from the module. 26 */ 27 #define HCI_SCO_DATA_PACKET 0x03 28 29 /** 30 * Indicates (first byte) that this pkt is an event pkt. Only sent by the bluetooth module. 31 */ 32 #define HCI_EVENT_PACKET 0x04 33 34 35 36 extern hci_transport_t hci_h4_transport; 37