summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-17 22:34:04 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-17 22:34:04 +0000
commitd213d431b00c0ab451257e688dfad9fb20037088 (patch)
treed5ddbd746a34c0561563b5055e6689635a879f15 /include
parent456c8fd652c0d96500adef3dd7abb067a000bc50 (diff)
Add definition for master link key command
Diffstat (limited to 'include')
-rw-r--r--include/hci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index fce19b9c..a0c85e74 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -386,6 +386,12 @@ typedef struct {
} __attribute__ ((packed)) change_conn_link_key_cp;
#define CHANGE_CONN_LINK_KEY_CP_SIZE 2
+#define OCF_MASTER_LINK_KEY 0x0017
+typedef struct {
+ uint8_t key_flag;
+} __attribute__ ((packed)) master_link_key_cp;
+#define MASTER_LINK_KEY_CP_SIZE 1
+
#define OCF_REMOTE_NAME_REQ 0x0019
typedef struct {
bdaddr_t bdaddr;
@@ -786,6 +792,10 @@ typedef struct {
#define OCF_READ_LOCAL_EXT_FEATURES 0x0004
typedef struct {
+ uint8_t page_num;
+} __attribute__ ((packed)) read_local_ext_features_cp;
+#define READ_LOCAL_EXT_FEATURES_CP_SIZE 1
+typedef struct {
uint8_t status;
uint8_t page_num;
uint8_t max_page_num;