|
enum | ErrorCode : uint8_t {
ErrorCode::INVALID_HANDLE = 0x01,
ErrorCode::NO_READ_PERM = 0x02,
ErrorCode::NO_WRITE_PERM = 0x03,
ErrorCode::INVALID_PDU = 0x04,
ErrorCode::INSUFF_AUTHENTICATION = 0x05,
ErrorCode::UNSUPPORTED_REQUEST = 0x06,
ErrorCode::INVALID_OFFSET = 0x07,
ErrorCode::INSUFF_AUTHORIZATION = 0x08,
ErrorCode::PREPARE_QUEUE_FULL = 0x09,
ErrorCode::ATTRIBUTE_NOT_FOUND = 0x0A,
ErrorCode::ATTRIBUTE_NOT_LONG = 0x0B,
ErrorCode::INSUFF_ENCRYPTION_KEY_SIZE = 0x0C,
ErrorCode::INVALID_ATTRIBUTE_VALUE_LEN = 0x0D,
ErrorCode::UNLIKELY_ERROR = 0x0E,
ErrorCode::INSUFF_ENCRYPTION = 0x0F,
ErrorCode::UNSUPPORTED_GROUP_TYPE = 0x10,
ErrorCode::INSUFFICIENT_RESOURCES = 0x11,
ErrorCode::DB_OUT_OF_SYNC = 0x12,
ErrorCode::FORBIDDEN_VALUE = 0x13
} |
|
enum | Opcode : uint8_t {
Opcode::PDU_UNDEFINED = 0x00,
Opcode::METHOD_MASK = 0x3F,
Opcode::COMMAND_FLAG = 0x40,
Opcode::AUTH_SIGNATURE_FLAG = 0x80,
Opcode::ERROR_RSP = 0x01,
Opcode::EXCHANGE_MTU_REQ = 0x02,
Opcode::EXCHANGE_MTU_RSP = 0x03,
Opcode::FIND_INFORMATION_REQ = 0x04,
Opcode::FIND_INFORMATION_RSP = 0x05,
Opcode::FIND_BY_TYPE_VALUE_REQ = 0x06,
Opcode::FIND_BY_TYPE_VALUE_RSP = 0x07,
Opcode::READ_BY_TYPE_REQ = 0x08,
Opcode::READ_BY_TYPE_RSP = 0x09,
Opcode::READ_REQ = 0x0A,
Opcode::READ_RSP = 0x0B,
Opcode::READ_BLOB_REQ = 0x0C,
Opcode::READ_BLOB_RSP = 0x0D,
Opcode::READ_MULTIPLE_REQ = 0x0E,
Opcode::READ_MULTIPLE_RSP = 0x0F,
Opcode::READ_BY_GROUP_TYPE_REQ = 0x10,
Opcode::READ_BY_GROUP_TYPE_RSP = 0x11,
Opcode::WRITE_REQ = 0x12,
Opcode::WRITE_RSP = 0x13,
Opcode::WRITE_CMD = WRITE_REQ + COMMAND_FLAG,
Opcode::PREPARE_WRITE_REQ = 0x16,
Opcode::PREPARE_WRITE_RSP = 0x17,
Opcode::EXECUTE_WRITE_REQ = 0x18,
Opcode::EXECUTE_WRITE_RSP = 0x19,
Opcode::READ_MULTIPLE_VARIABLE_REQ = 0x20,
Opcode::READ_MULTIPLE_VARIABLE_RSP = 0x21,
Opcode::MULTIPLE_HANDLE_VALUE_NTF = 0x23,
Opcode::HANDLE_VALUE_NTF = 0x1B,
Opcode::HANDLE_VALUE_IND = 0x1D,
Opcode::HANDLE_VALUE_CFM = 0x1E,
Opcode::SIGNED_WRITE_CMD = WRITE_REQ + COMMAND_FLAG + AUTH_SIGNATURE_FLAG
} |
| ATT Opcode Summary Vol 3, Part F 3.4.8. More...
|
|
|
| AttErrorRsp (const uint8_t *source, const jau::nsize_t length) |
|
constexpr_cxx20 jau::nsize_t | getPDUValueOffset () const noexcept override |
| opcode + reqOpcodeCause + handleCause + errorCode More...
|
|
constexpr uint8_t | getRequestedOpcodeCause () const noexcept |
|
constexpr uint16_t | getHandleCause () const noexcept |
|
constexpr ErrorCode | getErrorCode () const noexcept |
|
constexpr_cxx20 std::string | getName () const noexcept override |
|
| AttPDUMsg (const uint8_t *source, const jau::nsize_t size) |
| Persistent memory, w/ ownership . More...
|
|
| AttPDUMsg (const Opcode opc, const jau::nsize_t size) |
| Persistent memory, w/ ownership . More...
|
|
| AttPDUMsg (const AttPDUMsg &o) noexcept=default |
|
| AttPDUMsg (AttPDUMsg &&o) noexcept=default |
|
AttPDUMsg & | operator= (const AttPDUMsg &o) noexcept=delete |
|
AttPDUMsg & | operator= (AttPDUMsg &&o) noexcept=delete |
|
virtual | ~AttPDUMsg () noexcept |
|
constexpr Opcode | getOpcode () const noexcept |
| ATT PDU Format Vol 3, Part F 3.3.1. More...
|
|
constexpr Opcode | getOpMethod () const noexcept |
| ATT PDU Format Vol 3, Part F 3.3.1. More...
|
|
constexpr bool | getOpCommandFlag () const noexcept |
| ATT PDU Format Vol 3, Part F 3.3.1. More...
|
|
constexpr bool | getOpAuthSigFlag () const noexcept |
| ATT PDU Format Vol 3, Part F 3.3.1. More...
|
|
constexpr jau::nsize_t | getAuthSigSize () const noexcept |
| ATT PDU Format Vol 3, Part F 3.3.1. More...
|
|
constexpr jau::nsize_t | getPDUParamSize () const noexcept |
| ATT PDU Format Vol 3, Part F 3.3.1. More...
|
|
constexpr_cxx20 jau::nsize_t | getPDUMinSize () const noexcept |
| Returns this PDU's minimum size, i.e. More...
|
|
constexpr_cxx20 jau::nsize_t | getPDUValueSize () const noexcept |
| Returns the octet size of the value attributes in this PDI, i.e. More...
|
|
constexpr_cxx20 jau::nsize_t | getMaxPDUValueSize (const jau::nsize_t mtu) const noexcept |
| Returns the theoretical maximum value size of a PDU. More...
|
|
virtual std::string | toString () const noexcept |
|
ATT Protocol PDUs Vol 3, Part F 3.4.1.1.
ATT_ERROR_RSP (ATT Opcode 0x01)
Definition at line 573 of file ATTPDUTypes.hpp.