1.1.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

MacroDescription
BLE_SMP_REASON_PASSKEY_ENTRY_FAILEDThe user input of passkey failed.
BLE_SMP_REASON_OOB_NOT_AVAILABLEThe OOB data is not available.
BLE_SMP_REASON_AUTH_REQAuthentication requirements cannot be met due to IO capabilities of one or both devices.
BLE_SMP_REASON_CONFIRM_VALUE_FAILEDThe confirm value does not match.
BLE_SMP_REASON_PAIRING_NOT_SUPPORTEDPairing is not supported by the device.
BLE_SMP_REASON_ENCRYPT_KEY_SIZEEncryption key size is insufficient.
BLE_SMP_REASON_COMMAND_NOT_SUPPORTEDThe SMP command received is not supported on this device.
BLE_SMP_REASON_UNSPECIFIED_REASONPairing failed due to an unspecified reason.
BLE_SMP_REASON_REPEATED_ATTEMPTSToo little time has elapsed since last pairing request or security request.
BLE_SMP_REASON_INVALID_PARAMETERSThe command length is invalid.
BLE_SMP_REASON_DHKEY_CHECK_FAILEDDHKey Check value received doesn’t match the one calculated by the local device.
BLE_SMP_REASON_NUMERIC_COMPARISON_FAILEDThe confirm values in the numeric comparison protocol do not match.