BlueNRG-MS pack for STM32CubeMX: includes/sm.h Source File
From STM32CubeMX BlueNRG-MS
 |
BlueNRG-MS pack for STM32CubeMX
V4.4.0
The BlueNRG-MS pack is an additional software for STM32CubeMX.
|
Go to the documentation of this file. 40 #define IO_CAP_DISPLAY_ONLY (0x00) 41 #define IO_CAP_DISPLAY_YES_NO (0x01) 42 #define IO_CAP_KEYBOARD_ONLY (0x02) 43 #define IO_CAP_NO_INPUT_NO_OUTPUT (0x03) 44 #define IO_CAP_KEYBOARD_DISPLAY (0x04) 54 #define BONDING (0x01) 55 #define NO_BONDING (0x00) 65 #define MITM_PROTECTION_NOT_REQUIRED (0x00) 66 #define MITM_PROTECTION_REQUIRED (0x01) 76 #define OOB_AUTH_DATA_ABSENT (0x00) 77 #define OOB_AUTH_DATA_PRESENT (0x01) 87 #define AUTHORIZATION_NOT_REQUIRED (0x00) 88 #define AUTHORIZATION_REQUIRED (0x01) 98 #define CONNECTION_AUTHORIZED (0x01) 99 #define CONNECTION_REJECTED (0x02) 109 #define USE_FIXED_PIN_FOR_PAIRING (0x00) 110 #define DONOT_USE_FIXED_PIN_FOR_PAIRING (0x01) 120 #define SM_LINK_AUTHENTICATED (0x01) 121 #define SM_LINK_AUTHORIZED (0x02) 122 #define SM_LINK_ENCRYPTED (0x04) 132 #define PASSKEY_ENTRY_FAILED (0x01) 133 #define OOB_NOT_AVAILABLE (0x02) 134 #define AUTH_REQ_CANNOT_BE_MET (0x03) 135 #define CONFIRM_VALUE_FAILED (0x04) 136 #define PAIRING_NOT_SUPPORTED (0x05) 137 #define INSUFF_ENCRYPTION_KEY_SIZE (0x06) 138 #define CMD_NOT_SUPPORTED (0x07) 139 #define UNSPECIFIED_REASON (0x08) 140 #define VERY_EARLY_NEXT_ATTEMPT (0x09) 141 #define SM_INVALID_PARAMS (0x0A) 152 #define SM_PAIRING_SUCCESS (0x00) 153 #define SM_PAIRING_TIMEOUT (0x01) 154 #define SM_PAIRING_FAILED (0x02)