nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
GATT Status Codes

Macros

#define BLE_GATT_STATUS_SUCCESS   0x0000
 
#define BLE_GATT_STATUS_UNKNOWN   0x0001
 
#define BLE_GATT_STATUS_ATTERR_INVALID   0x0100
 
#define BLE_GATT_STATUS_ATTERR_INVALID_HANDLE   0x0101
 
#define BLE_GATT_STATUS_ATTERR_READ_NOT_PERMITTED   0x0102
 
#define BLE_GATT_STATUS_ATTERR_WRITE_NOT_PERMITTED   0x0103
 
#define BLE_GATT_STATUS_ATTERR_INVALID_PDU   0x0104
 
#define BLE_GATT_STATUS_ATTERR_INSUF_AUTHENTICATION   0x0105
 
#define BLE_GATT_STATUS_ATTERR_REQUEST_NOT_SUPPORTED   0x0106
 
#define BLE_GATT_STATUS_ATTERR_INVALID_OFFSET   0x0107
 
#define BLE_GATT_STATUS_ATTERR_INSUF_AUTHORIZATION   0x0108
 
#define BLE_GATT_STATUS_ATTERR_PREPARE_QUEUE_FULL   0x0109
 
#define BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_FOUND   0x010A
 
#define BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_LONG   0x010B
 
#define BLE_GATT_STATUS_ATTERR_INSUF_ENC_KEY_SIZE   0x010C
 
#define BLE_GATT_STATUS_ATTERR_INVALID_ATT_VAL_LENGTH   0x010D
 
#define BLE_GATT_STATUS_ATTERR_UNLIKELY_ERROR   0x010E
 
#define BLE_GATT_STATUS_ATTERR_INSUF_ENCRYPTION   0x010F
 
#define BLE_GATT_STATUS_ATTERR_UNSUPPORTED_GROUP_TYPE   0x0110
 
#define BLE_GATT_STATUS_ATTERR_INSUF_RESOURCES   0x0111
 
#define BLE_GATT_STATUS_ATTERR_RFU_RANGE1_BEGIN   0x0112
 
#define BLE_GATT_STATUS_ATTERR_RFU_RANGE1_END   0x017F
 
#define BLE_GATT_STATUS_ATTERR_APP_BEGIN   0x0180
 
#define BLE_GATT_STATUS_ATTERR_APP_END   0x019F
 
#define BLE_GATT_STATUS_ATTERR_RFU_RANGE2_BEGIN   0x01A0
 
#define BLE_GATT_STATUS_ATTERR_RFU_RANGE2_END   0x01DF
 
#define BLE_GATT_STATUS_ATTERR_RFU_RANGE3_BEGIN   0x01E0
 
#define BLE_GATT_STATUS_ATTERR_RFU_RANGE3_END   0x01FC
 
#define BLE_GATT_STATUS_ATTERR_CPS_CCCD_CONFIG_ERROR   0x01FD
 
#define BLE_GATT_STATUS_ATTERR_CPS_PROC_ALR_IN_PROG   0x01FE
 
#define BLE_GATT_STATUS_ATTERR_CPS_OUT_OF_RANGE   0x01FF
 

Detailed Description

Macro Definition Documentation

#define BLE_GATT_STATUS_ATTERR_APP_BEGIN   0x0180

ATT Error: Application range begin.

#define BLE_GATT_STATUS_ATTERR_APP_END   0x019F

ATT Error: Application range end.

#define BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_FOUND   0x010A

ATT Error: Used in ATT as Attribute not found.

#define BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_LONG   0x010B

ATT Error: Attribute cannot be read or written using read/write blob requests.

#define BLE_GATT_STATUS_ATTERR_CPS_CCCD_CONFIG_ERROR   0x01FD

ATT Common Profile and Service Error: Client Characteristic Configuration Descriptor improperly configured.

#define BLE_GATT_STATUS_ATTERR_CPS_OUT_OF_RANGE   0x01FF

ATT Common Profile and Service Error: Out Of Range.

#define BLE_GATT_STATUS_ATTERR_CPS_PROC_ALR_IN_PROG   0x01FE

ATT Common Profile and Service Error: Procedure Already in Progress.

#define BLE_GATT_STATUS_ATTERR_INSUF_AUTHENTICATION   0x0105

ATT Error: Authenticated link required.

#define BLE_GATT_STATUS_ATTERR_INSUF_AUTHORIZATION   0x0108

ATT Error: Used in ATT as Insufficient Authorisation.

#define BLE_GATT_STATUS_ATTERR_INSUF_ENC_KEY_SIZE   0x010C

ATT Error: Encryption key size used is insufficient.

#define BLE_GATT_STATUS_ATTERR_INSUF_ENCRYPTION   0x010F

ATT Error: Encrypted link required.

#define BLE_GATT_STATUS_ATTERR_INSUF_RESOURCES   0x0111

ATT Error: Encrypted link required.

#define BLE_GATT_STATUS_ATTERR_INVALID   0x0100

ATT Error: Invalid Error Code.

#define BLE_GATT_STATUS_ATTERR_INVALID_ATT_VAL_LENGTH   0x010D

ATT Error: Invalid value size.

#define BLE_GATT_STATUS_ATTERR_INVALID_HANDLE   0x0101

ATT Error: Invalid Attribute Handle.

#define BLE_GATT_STATUS_ATTERR_INVALID_OFFSET   0x0107

ATT Error: Offset specified was past the end of the attribute.

#define BLE_GATT_STATUS_ATTERR_INVALID_PDU   0x0104

ATT Error: Used in ATT as Invalid PDU.

#define BLE_GATT_STATUS_ATTERR_PREPARE_QUEUE_FULL   0x0109

ATT Error: Used in ATT as Prepare Queue Full.

#define BLE_GATT_STATUS_ATTERR_READ_NOT_PERMITTED   0x0102

ATT Error: Read not permitted.

#define BLE_GATT_STATUS_ATTERR_REQUEST_NOT_SUPPORTED   0x0106

ATT Error: Used in ATT as Request Not Supported.

#define BLE_GATT_STATUS_ATTERR_RFU_RANGE1_BEGIN   0x0112

ATT Error: Reserved for Future Use range #1 begin.

#define BLE_GATT_STATUS_ATTERR_RFU_RANGE1_END   0x017F

ATT Error: Reserved for Future Use range #1 end.

#define BLE_GATT_STATUS_ATTERR_RFU_RANGE2_BEGIN   0x01A0

ATT Error: Reserved for Future Use range #2 begin.

#define BLE_GATT_STATUS_ATTERR_RFU_RANGE2_END   0x01DF

ATT Error: Reserved for Future Use range #2 end.

#define BLE_GATT_STATUS_ATTERR_RFU_RANGE3_BEGIN   0x01E0

ATT Error: Reserved for Future Use range #3 begin.

#define BLE_GATT_STATUS_ATTERR_RFU_RANGE3_END   0x01FC

ATT Error: Reserved for Future Use range #3 end.

#define BLE_GATT_STATUS_ATTERR_UNLIKELY_ERROR   0x010E

ATT Error: Very unlikely error.

#define BLE_GATT_STATUS_ATTERR_UNSUPPORTED_GROUP_TYPE   0x0110

ATT Error: Attribute type is not a supported grouping attribute.

#define BLE_GATT_STATUS_ATTERR_WRITE_NOT_PERMITTED   0x0103

ATT Error: Write not permitted.

#define BLE_GATT_STATUS_SUCCESS   0x0000

Success.

#define BLE_GATT_STATUS_UNKNOWN   0x0001

Unknown or not applicable status.