Pairing failure reasons

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

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.