1.2.2.1.4.1.5 Pairing fail reason
C
#define BLE_SMP_REASON_PASSKEY_ENTRY_FAILED 0x01 #define BLE_SMP_REASON_OOB_NOT_AVAILABLE 0x02 #define BLE_SMP_REASON_AUTH_REQ 0x03 #define BLE_SMP_REASON_CONFIRM_VALUE_FAILED 0x04 #define BLE_SMP_REASON_PAIRING_NOT_SUPPORTED 0x05 #define BLE_SMP_REASON_ENCRYPT_KEY_SIZE 0x06 #define BLE_SMP_REASON_COMMAND_NOT_SUPPORTED 0x07 #define BLE_SMP_REASON_UNSPECIFIED_REASON 0x08 #define BLE_SMP_REASON_REPEATED_ATTEMPTS 0x09 #define BLE_SMP_REASON_INVALID_PARAMETERS 0x0A #define BLE_SMP_REASON_DHKEY_CHECK_FAILED 0x0B #define BLE_SMP_REASON_NUMERIC_COMPARISON_FAILED 0x0C
Description
The definition of the reason for pairing fail.
Macro Definition
Macro | Description |
---|---|
BLE_SMP_REASON_PASSKEY_ENTRY_FAILED | The user input of passkey failed. |
BLE_SMP_REASON_OOB_NOT_AVAILABLE | The OOB data is not available. |
BLE_SMP_REASON_AUTH_REQ | Authentication requirements cannot be met due to IO capabilities of one or both devices. |
BLE_SMP_REASON_CONFIRM_VALUE_FAILED | The confirm value does not match. |
BLE_SMP_REASON_PAIRING_NOT_SUPPORTED | Pairing is not supported by the device. |
BLE_SMP_REASON_ENCRYPT_KEY_SIZE | Encryption key size is insufficient. |
BLE_SMP_REASON_COMMAND_NOT_SUPPORTED | The SMP command received is not supported on this device. |
BLE_SMP_REASON_UNSPECIFIED_REASON | Pairing failed due to an unspecified reason. |
BLE_SMP_REASON_REPEATED_ATTEMPTS | Too little time has elapsed since last pairing request or security request. |
BLE_SMP_REASON_INVALID_PARAMETERS | The command length is invalid. |
BLE_SMP_REASON_DHKEY_CHECK_FAILED | DHKey Check value received doesn’t match the one calculated by the local device. |
BLE_SMP_REASON_NUMERIC_COMPARISON_FAILED | The confirm values in the numeric comparison protocol do not match. |