![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
This class represents the response sent when a Protocol::Message::GET_ATTR_REQ request. More...
#include <attributes.h>
Public Member Functions | |
Response (IAttribute *_attribute=nullptr) | |
Constructor. More... | |
![]() | |
uint16_t | size () const |
Number bytes needed to serialize the message. More... | |
uint16_t | pack (Common::ByteArray &array, uint16_t offset=0) const |
Write the object on to a ByteArray so it can be sent over the network. More... | |
uint16_t | unpack (const Common::ByteArray &array, uint16_t offset=0) |
Read a message from a ByteArray. More... | |
Additional Inherited Members | |
![]() | |
static constexpr uint16_t | min_size = sizeof(uint8_t) |
Minimum number of bytes required by this message. | |
This class represents the response sent when a Protocol::Message::GET_ATTR_REQ request.
Definition at line 772 of file attributes.h.
|
inline |
Constructor.
[in] | _attribute | pointer to the attribute value to send in the response. |
Definition at line 782 of file attributes.h.