summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2012-01-17 20:28:43 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-01-19 00:15:17 +0200
commitd9835e13463e6b07098b70a281ad6884a0fc9aa0 (patch)
treeb3e1adddf54b1f56341e159681fc0f3869bed9ea /lib
parent80c54f796b61b11f495818f75b198e9513f3bb94 (diff)
Add macros for the possible link key types
Diffstat (limited to 'lib')
-rw-r--r--lib/hci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/hci.h b/lib/hci.h
index 48692facd..7f68ea0dd 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -293,6 +293,16 @@ enum {
#define HCI_LM_RELIABLE 0x0010
#define HCI_LM_SECURE 0x0020
+/* Link Key types */
+#define HCI_LK_COMBINATION 0x00
+#define HCI_LK_LOCAL_UNIT 0x01
+#define HCI_LK_REMOTE_UNIT 0x02
+#define HCI_LK_DEBUG_COMBINATION 0x03
+#define HCI_LK_UNAUTH_COMBINATION 0x04
+#define HCI_LK_AUTH_COMBINATION 0x05
+#define HCI_LK_CHANGED_COMBINATION 0x06
+#define HCI_LK_INVALID 0xFF
+
/* ----- HCI Commands ----- */
/* Link Control */