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