반응형
참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/
참고자료: https://www.bluetooth.com/specifications/specs/core-specification-supplement-10/
ATT_ERROR_RSP PDU의 Error code 내용을 정리 하였다.
ATT_ERROR_RSP Error Code | ||
Name | Error Code | Description |
Invalid Handle | 0x01 | The attribute handle given was not valid on this server. |
Read Not Permitted | 0x02 | The attribute cannot be read. |
Write Not Permitted | 0x03 | The attribute cannot be written. |
Invalid PDU | 0x04 | The attribute PDU was invalid. |
Insufficient Authentication | 0x05 | The attribute requires authentication before it can be read or written. |
Request Not Supported | 0x06 | ATT Server does not support the request received from the client. |
Invalid Offset | 0x07 | Offset specified was past the end of the attribute. |
Insufficient Authorization | 0x08 | The attribute requires authorization before it can be read or written. |
Prepare Queue Full | 0x09 | Too many prepare writes have been queued. |
Attribute Not Found | 0x0A | No attribute found within the given attribute handle range. |
Attribute Not Long | 0x0B | The attribute cannot be read using the ATT_READ_BLOB_REQ PDU. |
Encryption Key Size Too Short | 0x0C | The Encryption Key Size used for encrypting this link is too short. |
Invalid Attribute Value Length | 0x0D | The attribute value length is invalid for the operation. |
Unlikely Error | 0x0E | The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested. |
Insufficient Encryption | 0x0F | The attribute requires encryption before it can be read or written. |
Unsupported Group Type | 0x10 | The attribute type is not a supported grouping attribute as defined by a higher layer specification. |
Insufficient Resources | 0x11 | Insufficient Resources to complete the request. |
Database Out Of Sync | 0x12 | The server requests the client to rediscover the database. |
Value Not Allowed | 0x13 | The attribute parameter value was not allowed. |
Application Error | 0x80 – 0x9F | Application error code defined by a higher layer specification. |
CommonProfileandService Error Codes | 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 | |
Reserved for future use | All other values | Reserved for future use. |
반응형
'블루투스 > ATT' 카테고리의 다른 글
ATT Opcode (ATT PDU) - 세로 버전 (0) | 2023.01.10 |
---|---|
ATT Opcode (ATT PDU) - 가로 버전 (0) | 2023.01.10 |
ATT(Attribute Protocol) (0) | 2023.01.09 |