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