![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
This class contains the required parameters for a GroupTable::READ_ENTRIES_CMD
command.
More...
#include <group_table.h>
Public Member Functions | |
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... | |
Data Fields | |
uint8_t | start |
Offset to start reading entries from. More... | |
uint8_t | count |
Number of entries to read. More... | |
This class contains the required parameters for a GroupTable::READ_ENTRIES_CMD
command.
Definition at line 223 of file group_table.h.
|
inline |
Write the object on to a ByteArray so it can be sent over the network.
The buffer passed in MUST have enough size to hold the serialized object, e.g.,
[in,out] | array | ByteArray reference to write the object to. |
[in] | offset | offset to start writing to. |
Definition at line 245 of file group_table.h.
References count, HF_SERIALIZABLE_CHECK, start, and HF::Common::ByteArray::write().
|
inline |
Number bytes needed to serialize the message.
Definition at line 239 of file group_table.h.
|
inline |
Read a message from a ByteArray.
[in] | array | ByteArray reference to read the message from. |
[in] | offset | offset to start reading from. |
Definition at line 256 of file group_table.h.
References count, HF_SERIALIZABLE_CHECK, HF::Common::ByteArray::read(), and start.
uint8_t HF::Core::GroupTable::ReadEntries::count |
Number of entries to read.
Definition at line 226 of file group_table.h.
uint8_t HF::Core::GroupTable::ReadEntries::start |
Offset to start reading entries from.
Definition at line 225 of file group_table.h.