BLE_API
v2.1.3
|
Typedefs | |
typedef uint8_t | BleAttErrorRsp |
BLE attribute error code definition.
#define ERR_CODE_ATT_APPLICATION_ERROR 0x80 |
Attribute application error.
#define ERR_CODE_ATT_ATTRIBUTE_NOT_FOUND 0x0A |
Attribute not found.
#define ERR_CODE_ATT_ATTRIBUTE_NOT_LONG 0x0B |
Attribute cannot be read or written using read/write blob requests.
#define ERR_CODE_ATT_CLIENT_CHAR_CONFIG_DESCRTR_IMPROPERLY_CONFIGURED 0xFD |
Client characteristic configuration descriptor improperly configured.
#define ERR_CODE_ATT_DATABASE_OUT_OF_SYNC 0x12 |
The server requests the client to rediscover the database.
#define ERR_CODE_ATT_INSUFFICIENT_AUTHENTICATION 0x05 |
Authenticated link required.
#define ERR_CODE_ATT_INSUFFICIENT_AUTHORIZATION 0x08 |
Insufficient authorization.
#define ERR_CODE_ATT_INSUFFICIENT_ENCRYPTION 0x0F |
Encrypted link required.
#define ERR_CODE_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE 0x0C |
Encryption key size is insufficient.
#define ERR_CODE_ATT_INSUFFICIENT_RESOURCES 0x11 |
Encrypted link required.
#define ERR_CODE_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH 0x0D |
Invalid value length.
#define ERR_CODE_ATT_INVALID_HANDLE 0x01 |
Invalid attribute handle.
#define ERR_CODE_ATT_INVALID_OFFSET 0x07 |
Invalid offset
#define ERR_CODE_ATT_INVALID_PDU 0x04 |
Invalid PDU.
#define ERR_CODE_ATT_NO_ERROR 0x00 |
The procedure finished without errors.
#define ERR_CODE_ATT_OUT_OF_RANGE 0xFF |
Out of range.
#define ERR_CODE_ATT_PREPARE_QUEUE_FULL 0x09 |
Prepare queue full.
#define ERR_CODE_ATT_PROCEDURE_ALREADY_IN_PROGRESS 0xFE |
Procedure already in progress.
#define ERR_CODE_ATT_READ_NOT_PERMITTED 0x02 |
Read not permitted.
#define ERR_CODE_ATT_REQUEST_NOT_SUPPORTED 0x06 |
Request not supported.
#define ERR_CODE_ATT_RESERVED 0x14 |
Reserved for future use.
#define ERR_CODE_ATT_UNLIKELY_ERROR 0x0E |
Unlikely error.
#define ERR_CODE_ATT_UNSUPPORTED_GROUP_TYPE 0x10 |
Attribute type is not a supported grouping attribute.
#define ERR_CODE_ATT_VALUE_NOT_ALLOWED 0x13 |
The attribute parameter value was not allowed.
#define ERR_CODE_ATT_WRITE_NOT_PERMITTED 0x03 |
Write not permitted.
#define ERR_CODE_ATT_WRITE_REQUEST_REJECTED 0xFC |
Write request rejected.