diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2012-01-17 20:28:43 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-01-19 00:15:17 +0200 |
commit | d9835e13463e6b07098b70a281ad6884a0fc9aa0 (patch) | |
tree | b3e1adddf54b1f56341e159681fc0f3869bed9ea /lib | |
parent | 80c54f796b61b11f495818f75b198e9513f3bb94 (diff) |
Add macros for the possible link key types
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hci.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 */ |