1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
package linux
type packetType uint8
// HCI Packet types
const (
typCommandPkt packetType = 0X01
typACLDataPkt = 0X02
typSCODataPkt = 0X03
typEventPkt = 0X04
typVendorPkt = 0XFF
)
// Event Type
const (
advInd = 0x00 // Connectable undirected advertising (ADV_IND).
advDirectInd = 0x01 // Connectable directed advertising (ADV_DIRECT_IND)
advScanInd = 0x02 // Scannable undirected advertising (ADV_SCAN_IND)
advNonconnInd = 0x03 // Non connectable undirected advertising (ADV_NONCONN_IND)
scanRsp = 0x04 // Scan Response (SCAN_RSP)
)
|