Enumeration Case


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


case insufficientAuthorization = 8


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

See Also

Error Codes

case success

The ATT command or request successfully completed.

case invalidHandle

The attribute handle is invalid on this peripheral.

case readNotPermitted

The permissions prohibit reading the attribute’s value.

case writeNotPermitted

The permissions prohibit writing the attribute’s value.

case invalidPdu

The attribute Protocol Data Unit (PDU) is invalid.

case insufficientAuthentication

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

case requestNotSupported

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

case invalidOffset

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

case prepareQueueFull

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

case attributeNotFound

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

case attributeNotLong

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

case insufficientEncryptionKeySize

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

case invalidAttributeValueLength

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

case unlikelyError

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

case insufficientEncryption

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

case unsupportedGroupType

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

case insufficientResources

Resources are insufficient to complete the ATT request.