Part B. Common Profile and Service Error Codes
1. Overview of Common Profile and Service Error Codes
This document lists the common profile and service error codes sent over the Attribute Protocol. Error codes have a size of one octet.
1.1. Usage Descriptions
The purpose of this section is to give descriptions of how the common profile error codes should be used. It is beyond the scope of this document to give detailed descriptions of all situations where error codes can be used, especially as this is implementation dependent.
1.2. List of Error Codes
The possible range of common profile error codes is 0xE0 to 0xFF. The Common Profile and Service Error Code Descriptions Part provides an error code usage description for each failure error code.
Error Code | Name |
|---|---|
0xE0 – 0xFB | Reserved for future use |
0xFC | Write Request Rejected |
0xFD | Client Characteristic Configuration Descriptor Improperly Configured |
0xFE | Procedure Already in Progress |
0xFF | Out of Range |
2. Common Profile and Service Error Code Descriptions
2.1. Out of Range (0xFF)
The Out of Range error code is used when an attribute value is out of range as defined by a profile or service specification.
2.2. Procedure Already in Progress (0xFE)
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.
2.3. Client Characteristic Configuration Descriptor Improperly Configured (0xFD)
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.
2.4. Write Request Rejected (0xFC)
The Write Request Rejected error code is used when a requested write operation cannot be fulfilled for reasons other than permissions.
Note
Note: This differs from the “Write Not Permitted” error response in [Vol 3], Part F, Section 3.4.1.1, which is intended when the write operation cannot be fulfilled due to permissions.