4 struct smp_command_hdr
{
8 #define SMP_CMD_PAIRING_REQ 0x01
9 #define SMP_CMD_PAIRING_RSP 0x02
10 struct smp_cmd_pairing
{
19 #define SMP_CMD_PAIRING_CONFIRM 0x03
20 struct smp_cmd_pairing_confirm
{
24 #define SMP_CMD_PAIRING_RANDOM 0x04
25 struct smp_cmd_pairing_random
{
29 #define SMP_CMD_PAIRING_FAIL 0x05
30 struct smp_cmd_pairing_fail
{
34 #define SMP_CMD_ENCRYPT_INFO 0x06
35 struct smp_cmd_encrypt_info
{
39 #define SMP_CMD_MASTER_IDENT 0x07
40 struct smp_cmd_master_ident
{
45 #define SMP_CMD_IDENT_INFO 0x08
46 struct smp_cmd_ident_info
{
50 #define SMP_CMD_IDENT_ADDR_INFO 0x09
51 struct smp_cmd_ident_addr_info
{
56 #define SMP_CMD_SIGN_INFO 0x0a
57 struct smp_cmd_sign_info
{
61 #define SMP_CMD_SECURITY_REQ 0x0b
62 struct smp_cmd_security_req
{
66 #define SMP_PASSKEY_ENTRY_FAILED 0x01
67 #define SMP_OOB_NOT_AVAIL 0x02
68 #define SMP_AUTH_REQUIREMENTS 0x03
69 #define SMP_CONFIRM_FAILED 0x04
70 #define SMP_PAIRING_NOTSUPP 0x05
71 #define SMP_ENC_KEY_SIZE 0x06
72 #define SMP_CMD_NOTSUPP 0x07
73 #define SMP_UNSPECIFIED 0x08
74 #define SMP_REPEATED_ATTEMPTS 0x09