Go to the documentation of this file.
30 #define SMP_CMD_PAIRING_REQ 0x01
31 #define SMP_CMD_PAIRING_RSP 0x02
41 #define SMP_IO_DISPLAY_ONLY 0x00
42 #define SMP_IO_DISPLAY_YESNO 0x01
43 #define SMP_IO_KEYBOARD_ONLY 0x02
44 #define SMP_IO_NO_INPUT_OUTPUT 0x03
45 #define SMP_IO_KEYBOARD_DISPLAY 0x04
47 #define SMP_OOB_NOT_PRESENT 0x00
48 #define SMP_OOB_PRESENT 0x01
50 #define SMP_DIST_ENC_KEY 0x01
51 #define SMP_DIST_ID_KEY 0x02
52 #define SMP_DIST_SIGN 0x04
54 #define SMP_AUTH_NONE 0x00
55 #define SMP_AUTH_BONDING 0x01
56 #define SMP_AUTH_MITM 0x04
58 #define SMP_CMD_PAIRING_CONFIRM 0x03
63 #define SMP_CMD_PAIRING_RANDOM 0x04
68 #define SMP_CMD_PAIRING_FAIL 0x05
73 #define SMP_CMD_ENCRYPT_INFO 0x06
78 #define SMP_CMD_MASTER_IDENT 0x07
84 #define SMP_CMD_IDENT_INFO 0x08
89 #define SMP_CMD_IDENT_ADDR_INFO 0x09
95 #define SMP_CMD_SIGN_INFO 0x0a
100 #define SMP_CMD_SECURITY_REQ 0x0b
105 #define SMP_PASSKEY_ENTRY_FAILED 0x01
106 #define SMP_OOB_NOT_AVAIL 0x02
107 #define SMP_AUTH_REQUIREMENTS 0x03
108 #define SMP_CONFIRM_FAILED 0x04
109 #define SMP_PAIRING_NOTSUPP 0x05
110 #define SMP_ENC_KEY_SIZE 0x06
111 #define SMP_CMD_NOTSUPP 0x07
112 #define SMP_UNSPECIFIED 0x08
113 #define SMP_REPEATED_ATTEMPTS 0x09
115 #define SMP_MIN_ENC_KEY_SIZE 7
116 #define SMP_MAX_ENC_KEY_SIZE 16
118 #define SMP_FLAG_TK_VALID 1
119 #define SMP_FLAG_CFM_PENDING 2
120 #define SMP_FLAG_MITM_AUTH 3