![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Helper class to match any interface. More...
#include <interface.h>
Additional Inherited Members | |
![]() | |
Interface (uint16_t id=0, uint8_t role=0) | |
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... | |
![]() | |
uint16_t | role: 1 |
Interface role : Server or Client. More... | |
uint16_t | id: 15 |
Identifier of the interface. More... | |
![]() | |
static constexpr uint16_t | min_size = sizeof(uint16_t) |
Minimum pack/unpack required data size. | |
Helper class to match any interface.
Definition at line 101 of file interface.h.