Enumeration Case

CBATTErrorInsufficientAuthorization

Reading or writing the attribute’s value failed for lack of authorization.

Declaration

CBATTErrorInsufficientAuthorization = 0x08

Discussion

This error indicates you must obtain authorization before reading or writing the attribute’s value.

See Also

Error Codes

CBATTErrorSuccess

The ATT command or request successfully completed.

CBATTErrorInvalidHandle

The attribute handle is invalid on this peripheral.

CBATTErrorReadNotPermitted

The permissions prohibit reading the attribute’s value.

CBATTErrorWriteNotPermitted

The permissions prohibit writing the attribute’s value.

CBATTErrorInvalidPdu

The attribute Protocol Data Unit (PDU) is invalid.

CBATTErrorInsufficientAuthentication

Reading or writing the attribute’s value failed for lack of authentication.

CBATTErrorRequestNotSupported

The attribute server doesn’t support the request received from the client.

CBATTErrorInvalidOffset

The specified offset value was past the end of the attribute’s value.

CBATTErrorPrepareQueueFull

The prepare queue is full, as a result of there being too many write requests in the queue.

CBATTErrorAttributeNotFound

The attribute wasn’t found within the specified attribute handle range.

CBATTErrorAttributeNotLong

The ATT read blob request can’t read or write the attribute.

CBATTErrorInsufficientEncryptionKeySize

The encryption key size used for encrypting this link is insufficient.

CBATTErrorInvalidAttributeValueLength

The length of the attribute’s value is invalid for the intended operation.

CBATTErrorUnlikelyError

The ATT request encountered an unlikely error and wasn’t completed.

CBATTErrorInsufficientEncryption

Reading or writing the attribute’s value failed for lack of encryption.

CBATTErrorUnsupportedGroupType

The attribute type isn’t a supported grouping attribute as defined by a higher-layer specification.

CBATTErrorInsufficientResources

Resources are insufficient to complete the ATT request.