summaryrefslogtreecommitdiffstats
path: root/include/hci.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-11-04 11:21:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-11-04 11:21:34 +0000
commit9427f5dc51c6962692eecd7250f2a1130dbc49ad (patch)
tree00aaaf6157dc00262007d539be0aef74365f9399 /include/hci.h
parent599e9c7e04dd55654ba8664ef2eba467ea0de277 (diff)
Add hci_change_link_key() function
Diffstat (limited to 'include/hci.h')
-rw-r--r--include/hci.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index 00f2d21a..c8c3aa16 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -370,6 +370,12 @@ typedef struct {
} __attribute__ ((packed)) set_conn_encrypt_cp;
#define SET_CONN_ENCRYPT_CP_SIZE 3
+#define OCF_CHANGE_CONN_LINK_KEY 0x0015
+typedef struct {
+ uint16_t handle;
+} __attribute__ ((packed)) change_conn_link_key_cp;
+#define CHANGE_CONN_LINK_KEY_CP_SIZE 2
+
#define OCF_REMOTE_NAME_REQ 0x0019
typedef struct {
bdaddr_t bdaddr;
@@ -860,6 +866,13 @@ typedef struct {
} __attribute__ ((packed)) evt_encrypt_change;
#define EVT_ENCRYPT_CHANGE_SIZE 5
+#define EVT_CHANGE_CONN_LINK_KEY_COMPLETE 0x09
+typedef struct {
+ uint8_t status;
+ uint16_t handle;
+} __attribute__ ((packed)) evt_change_conn_link_key_complete;
+#define EVT_CHANGE_CONN_LINK_KEY_COMPLETE_SIZE 3
+
#define EVT_READ_REMOTE_FEATURES_COMPLETE 0x0B
typedef struct {
uint8_t status;