diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2002-10-07 06:01:46 +0000 |
---|---|---|
committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-10-07 06:01:46 +0000 |
commit | 5c637d2cdb568e8d3c0cf08a57fca8131ddbe036 (patch) | |
tree | 188e201cb6f0bc669569668a655dd756596ab90e /include/hci.h | |
parent | b7597027bc00feec6a7c90b5bef45f348417781f (diff) |
Added link supervision timeout cmd and events.
Diffstat (limited to 'include/hci.h')
-rw-r--r-- | include/hci.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h index bd4f692c..9e2848f6 100644 --- a/include/hci.h +++ b/include/hci.h @@ -256,6 +256,21 @@ typedef struct { } __attribute__ ((packed)) write_inq_activity_cp; #define WRITE_INQ_ACTIVITY_CP_SIZE 4 +#define OCF_READ_LINK_SUPERVISION_TIMEOUT 0x0036 +typedef struct { + uint8_t status; + uint16_t handle; + uint16_t link_sup_to; +} __attribute__ ((packed)) read_link_supervision_timeout_rp; +#define READ_LINK_SUPERVISION_TIMEOUT_RP_SIZE 5 + +#define OCF_WRITE_LINK_SUPERVISION_TIMEOUT 0x0037 +typedef struct { + uint16_t handle; + uint16_t link_sup_to; +} __attribute__ ((packed)) write_link_supervision_timeout_cp; +#define WRITE_LINK_SUPERVISION_TIMEOUT_CP_SIZE 4 + #define OCF_READ_AUTH_ENABLE 0x001F #define OCF_WRITE_AUTH_ENABLE 0x0020 #define AUTH_DISABLED 0x00 @@ -668,6 +683,14 @@ typedef struct { } __attribute__ ((packed)) evt_link_key_notify; #define EVT_LINK_KEY_NOTIFY_SIZE 23 +#define EVT_CONN_PTYPE_CHANGED 0x1D +typedef struct { + uint8_t status; + uint16_t handle; + uint16_t ptype; +} __attribute__ ((packed)) evt_conn_ptype_changed; +#define EVT_CONN_PTYPE_CHANGED_SIZE 5 + #define EVT_READ_REMOTE_FEATURES_COMPLETE 0x0B typedef struct { uint8_t status; |