diff options
-rw-r--r-- | include/hci.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/hci.h b/include/hci.h index a00b7218..8093c35a 100644 --- a/include/hci.h +++ b/include/hci.h @@ -504,7 +504,7 @@ typedef struct { #define READ_REMOTE_VERSION_CP_SIZE 2 /* Link Policy */ -#define OGF_LINK_POLICY 0x02 +#define OGF_LINK_POLICY 0x02 typedef struct { uint8_t service_type; /* 1 = best effort */ @@ -600,6 +600,12 @@ typedef struct { } __attribute__ ((packed)) read_rssi_rp; #define READ_RSSI_RP_SIZE 4 +/* Testing commands */ +#define OGF_TESTING_CMD 0x3e + +/* Vendor specific commands */ +#define OGF_VENDOR_CMD 0x3f + /* ---- HCI Events ---- */ #define EVT_INQUIRY_COMPLETE 0x01 @@ -777,6 +783,10 @@ typedef struct { uint8_t incomming; } __attribute__ ((packed)) evt_si_security; +#define EVT_TESTING 0xfe + +#define EVT_VENDOR 0xff + /* -------- HCI Packet structures -------- */ #define HCI_TYPE_LEN 1 |