diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2003-03-22 08:00:36 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2003-03-22 08:00:36 +0000 | 
| commit | 1c9576607a611e033e0bac0f56d91146c120a16d (patch) | |
| tree | bf1f45ee6e5aed3e94fb4a6b154b98efda4614ca /include/hci.h | |
| parent | bfcbbde6d7baebca27c6e93f02f6279e5f36c866 (diff) | |
Support for reading the clock offset
Diffstat (limited to 'include/hci.h')
| -rw-r--r-- | include/hci.h | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h index 212db12b..904bc5c8 100644 --- a/include/hci.h +++ b/include/hci.h @@ -546,6 +546,12 @@ typedef struct {  } __attribute__ ((packed)) read_remote_version_cp;  #define READ_REMOTE_VERSION_CP_SIZE 2 +#define OCF_READ_CLOCK_OFFSET	0x001F +typedef struct { +	uint16_t	handle; +} __attribute__ ((packed)) read_clock_offset_cp; +#define READ_CLOCK_OFFSET_CP_SIZE 2 +  /* Link Policy */  #define OGF_LINK_POLICY	0x02    @@ -777,6 +783,14 @@ typedef struct {  } __attribute__ ((packed)) evt_link_key_notify;  #define EVT_LINK_KEY_NOTIFY_SIZE 23 +#define EVT_READ_CLOCK_OFFSET_COMPLETE 0x1C +typedef struct { +	uint8_t		status; +	uint16_t	handle; +	uint16_t	clock_offset; +} __attribute__ ((packed)) evt_read_clock_offset_complete; +#define EVT_READ_CLOCK_OFFSET_COMPLETE_SIZE 5 +  #define EVT_CONN_PTYPE_CHANGED	0x1D  typedef struct {  	uint8_t 	status;  | 
