Error codes to be returned by read and write handlers for characteristic values.
Enumerator |
---|
success | read or write request could be fulfilled without an error
|
invalid_handle | The attribute handle given was not valid on this server.
|
read_not_permitted | The attribute cannot be read.
|
write_not_permitted | The attribute cannot be written.
|
invalid_pdu | The attribute PDU was invalid.
|
insufficient_authentication | The attribute requires authentication before it can be read or written.
|
request_not_supported | Attribute server does not support the request received from the client.
|
invalid_offset | Offset specified was past the end of the attribute.
|
insufficient_authorization | The attribute requires authorization before it can be read or written.
|
prepare_queue_full | Too many prepare writes have been queued.
|
attribute_not_found | No attribute found within the given attri- bute handle range.
|
attribute_not_long | The attribute cannot be read or written using the Read Blob Request.
|
insufficient_encryption_key_size | The Encryption Key Size used for encrypting this link is insufficient.
|
invalid_attribute_value_length | The attribute value length is invalid for the operation.
|
unlikely_error | The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested.
|
insufficient_encryption | The attribute requires encryption before it can be read or written.
|
unsupported_group_type | The attribute type is not a supported grouping attribute as defined by a higher layer specification.
|
insufficient_resources | Insufficient Resources to complete the request.
|
application_error_start | Start of range for application specific error codes
|
application_error_end | Last code of the range for application specific error codes
|
out_of_range | The Out of Range error code is used when an attribute value is out of range as defined by a profile or service specification.
|
procedure_already_in_progress | The Procedure Already in Progress error code is used when a profile or service request cannot be serviced because an operation that has been previously triggered is still in progress.
|
cccd_improperly_configured | The Client Characteristic Configuration Descriptor Improperly Configured error code is used when a Client Characteristic Configuration descriptor is not configured according to the requirements of the profile or service.
|