diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2002-12-21 19:19:17 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2002-12-21 19:19:17 +0000 | 
| commit | b76e31a4c8d609d5334fa8958c53f09b0014aeac (patch) | |
| tree | 45a5291d1f4b91d0095ada2d6bd061e4130c3a9c | |
| parent | 8b78ba1604231b0660fa50a6f79f6b5f1b5db418 (diff) | |
Add the vendor and testing defines
| -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 | 
