Pairing failure reasons

C

#define BLE_SMP_REASON_PASSKEY_ENTRY_FAILED                 (0x01U)
#define BLE_SMP_REASON_OOB_NOT_AVAILABLE                    (0x02U)
#define BLE_SMP_REASON_AUTH_REQ                             (0x03U)
#define BLE_SMP_REASON_CONFIRM_VALUE_FAILED                 (0x04U)
#define BLE_SMP_REASON_PAIRING_NOT_SUPPORTED                (0x05U)
#define BLE_SMP_REASON_ENCRYPT_KEY_SIZE                     (0x06U)
#define BLE_SMP_REASON_COMMAND_NOT_SUPPORTED                (0x07U)
#define BLE_SMP_REASON_UNSPECIFIED_REASON                   (0x08U)
#define BLE_SMP_REASON_REPEATED_ATTEMPTS                    (0x09U)
#define BLE_SMP_REASON_INVALID_PARAMETERS                   (0x0AU)
#define BLE_SMP_REASON_DHKEY_CHECK_FAILED                   (0x0BU)
#define BLE_SMP_REASON_NUMERIC_COMPARISON_FAILED            (0x0CU)

Description

Enumerates the reasons why a BLE pairing process may fail.

Macro Definition

MacroDescription
BLE_SMP_REASON_PASSKEY_ENTRY_FAILEDUser failed to correctly input the passkey.
BLE_SMP_REASON_OOB_NOT_AVAILABLEOut-of-Band (OOB) data required for pairing is not available.
BLE_SMP_REASON_AUTH_REQAuthentication requirements could not be satisfied due to insufficient IO capabilities.
BLE_SMP_REASON_CONFIRM_VALUE_FAILEDThe confirmation value exchanged during pairing does not match.
BLE_SMP_REASON_PAIRING_NOT_SUPPORTEDThe device does not support pairing.
BLE_SMP_REASON_ENCRYPT_KEY_SIZEThe encryption key size is too small for secure communication.
BLE_SMP_REASON_COMMAND_NOT_SUPPORTEDThe received SMP command is not supported by the device.
BLE_SMP_REASON_UNSPECIFIED_REASONPairing failed for an unspecified reason.
BLE_SMP_REASON_REPEATED_ATTEMPTSPairing failed due to repeated attempts in a short period.
BLE_SMP_REASON_INVALID_PARAMETERSInvalid parameters were provided in the SMP command.
BLE_SMP_REASON_DHKEY_CHECK_FAILEDThe DHKey Check value does not match the expected value.
BLE_SMP_REASON_NUMERIC_COMPARISON_FAILEDNumeric comparison during pairing failed due to mismatched confirmation values.