// bthxddi.h
typedef enum _BTHX_HCI_PACKET_TYPE {
HciPacketCommand,
HciPacketAclData,
HciPacketEvent
} BTHX_HCI_PACKET_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The BTHX_HCI_PACKET_TYPE enumeration lists the different types of packets being sent from the Bluetooth stack to the transport driver.
HciPacketCommandThe packet represents a command.
HciPacketAclDataThe packet represents ACL data.
HciPacketEventThe packet represents an event.
The IOCTL_BTHX_READ_HCI and IOCTL_BTHX_WRITE_HCI IOCTLs are used to read/write data to/from the transport driver. The BTHX_HCI_PACKET_TYPE enumeration is used to specify with which type of packet the read/write is associated.