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
Macro | Description |
---|---|
BLE_SMP_REASON_PASSKEY_ENTRY_FAILED | User failed to correctly input the passkey. |
BLE_SMP_REASON_OOB_NOT_AVAILABLE | Out-of-Band (OOB) data required for pairing is not available. |
BLE_SMP_REASON_AUTH_REQ | Authentication requirements could not be satisfied due to insufficient IO capabilities. |
BLE_SMP_REASON_CONFIRM_VALUE_FAILED | The confirmation value exchanged during pairing does not match. |
BLE_SMP_REASON_PAIRING_NOT_SUPPORTED | The device does not support pairing. |
BLE_SMP_REASON_ENCRYPT_KEY_SIZE | The encryption key size is too small for secure communication. |
BLE_SMP_REASON_COMMAND_NOT_SUPPORTED | The received SMP command is not supported by the device. |
BLE_SMP_REASON_UNSPECIFIED_REASON | Pairing failed for an unspecified reason. |
BLE_SMP_REASON_REPEATED_ATTEMPTS | Pairing failed due to repeated attempts in a short period. |
BLE_SMP_REASON_INVALID_PARAMETERS | Invalid parameters were provided in the SMP command. |
BLE_SMP_REASON_DHKEY_CHECK_FAILED | The DHKey Check value does not match the expected value. |
BLE_SMP_REASON_NUMERIC_COMPARISON_FAILED | Numeric comparison during pairing failed due to mismatched confirmation values. |