diff options
| author | Max Krasnyansky <maxk@qualcomm.com> | 2002-04-03 17:45:50 +0000 | 
|---|---|---|
| committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-04-03 17:45:50 +0000 | 
| commit | cf7340b7aa8fc1a5cae9bc55b368ef4b110cebc0 (patch) | |
| tree | e7b30e5bd24832d4d98b2067b227780872ff7f70 | |
| parent | 682fd2124fa3b6949c1901492ee9ff5183400316 (diff) | |
Added status commands
| -rw-r--r-- | include/hci.h | 31 | 
1 files changed, 31 insertions, 0 deletions
| diff --git a/include/hci.h b/include/hci.h index ef07bc06..65eabc62 100644 --- a/include/hci.h +++ b/include/hci.h @@ -461,6 +461,37 @@ typedef struct {  /* Status params */  #define OGF_STATUS_PARAM 	0x05 +#define OCF_READ_FAILED_CONTACT_COUNTER   0x0001 +typedef struct { +	uint8_t 	status; +	uint16_t	handle; +	uint8_t 	counter; +} __attribute__ ((packed)) read_failed_contact_counter_rp;  +#define READ_FAILED_CONTACT_COUNTER_RP_SIZE 4 +  +#define OCF_RESET_FAILED_CONTACT_COUNTER  0x0002 +typedef struct { +	uint8_t 	status; +	uint16_t	handle; +} __attribute__ ((packed)) reset_failed_contact_counter_rp;  +#define OCF_RESET_FAILED_CONTACT_COUNTER_RP_SIZE 4 +  +#define OCF_GET_LINK_QUALITY   0x0003 +typedef struct { +	uint8_t 	status; +	uint16_t	handle; +	uint8_t 	link_quality; +} __attribute__ ((packed)) get_link_quality_rp;  +#define GET_LINK_QUALITY_RP_SIZE 4 +  +#define OCF_READ_RSSI  0x0005 +typedef struct { +	uint8_t 	status; +	uint16_t	handle; +	uint8_t 	rssi; +} __attribute__ ((packed)) read_rssi_rp;  +#define READ_RSSI_RP_SIZE 4 +   /* ---- HCI Events ---- */  #define EVT_INQUIRY_COMPLETE 	0x01 | 
