nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
GAP Security status

Macros

#define BLE_GAP_SEC_STATUS_SUCCESS   0x00
 
#define BLE_GAP_SEC_STATUS_TIMEOUT   0x01
 
#define BLE_GAP_SEC_STATUS_PDU_INVALID   0x02
 
#define BLE_GAP_SEC_STATUS_RFU_RANGE1_BEGIN   0x03
 
#define BLE_GAP_SEC_STATUS_RFU_RANGE1_END   0x80
 
#define BLE_GAP_SEC_STATUS_PASSKEY_ENTRY_FAILED   0x81
 
#define BLE_GAP_SEC_STATUS_OOB_NOT_AVAILABLE   0x82
 
#define BLE_GAP_SEC_STATUS_AUTH_REQ   0x83
 
#define BLE_GAP_SEC_STATUS_CONFIRM_VALUE   0x84
 
#define BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP   0x85
 
#define BLE_GAP_SEC_STATUS_ENC_KEY_SIZE   0x86
 
#define BLE_GAP_SEC_STATUS_SMP_CMD_UNSUPPORTED   0x87
 
#define BLE_GAP_SEC_STATUS_UNSPECIFIED   0x88
 
#define BLE_GAP_SEC_STATUS_REPEATED_ATTEMPTS   0x89
 
#define BLE_GAP_SEC_STATUS_INVALID_PARAMS   0x8A
 
#define BLE_GAP_SEC_STATUS_RFU_RANGE2_BEGIN   0x8B
 
#define BLE_GAP_SEC_STATUS_RFU_RANGE2_END   0xFF
 

Detailed Description

Macro Definition Documentation

#define BLE_GAP_SEC_STATUS_AUTH_REQ   0x83

Authentication requirements not met.

#define BLE_GAP_SEC_STATUS_CONFIRM_VALUE   0x84

Confirm value failed.

#define BLE_GAP_SEC_STATUS_ENC_KEY_SIZE   0x86

Encryption key size.

#define BLE_GAP_SEC_STATUS_INVALID_PARAMS   0x8A

Invalid parameters.

#define BLE_GAP_SEC_STATUS_OOB_NOT_AVAILABLE   0x82

Out of Band Key not available.

#define BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP   0x85

Pairing not supported.

#define BLE_GAP_SEC_STATUS_PASSKEY_ENTRY_FAILED   0x81

Passkey entry failed (user cancelled or other).

#define BLE_GAP_SEC_STATUS_PDU_INVALID   0x02

Invalid PDU received.

#define BLE_GAP_SEC_STATUS_REPEATED_ATTEMPTS   0x89

Too little time elapsed since last attempt.

#define BLE_GAP_SEC_STATUS_RFU_RANGE1_BEGIN   0x03

Reserved for Future Use range #1 begin.

#define BLE_GAP_SEC_STATUS_RFU_RANGE1_END   0x80

Reserved for Future Use range #1 end.

#define BLE_GAP_SEC_STATUS_RFU_RANGE2_BEGIN   0x8B

Reserved for Future Use range #2 begin.

#define BLE_GAP_SEC_STATUS_RFU_RANGE2_END   0xFF

Reserved for Future Use range #2 end.

#define BLE_GAP_SEC_STATUS_SMP_CMD_UNSUPPORTED   0x87

Unsupported SMP command.

#define BLE_GAP_SEC_STATUS_SUCCESS   0x00

Procedure completed with success.

#define BLE_GAP_SEC_STATUS_TIMEOUT   0x01

Procedure timed out.

#define BLE_GAP_SEC_STATUS_UNSPECIFIED   0x88

Unspecified reason.