MeshNet
1.0.0
|
Structure, that contains one row with data from out ID table. More...
#include <meshTables.h>
Public Member Functions | |
MeshOIDTableRow ()=default | |
MeshOIDTableRow (uint8_t id, uint8_t destination, SystemPacketType type) | |
void | clear () |
Removes all data from current row. More... | |
size_t | printRow (OSTREAM &stream) const |
bool | operator== (const MeshOIDTableRow &another) const |
Static Public Member Functions | |
static size_t | printHeader (OSTREAM &stream) |
Print header for table of rows. More... | |
Data Fields | |
uint8_t | ID = 0 |
ID of message. More... | |
uint8_t | Destination = 0 |
Message destination. If set to UNKNOWN_MESH_ADDRESS (253), no destination is specified. More... | |
SystemPacketType | Type = SystemPacketType::SPT_DATA |
Type of system message. More... | |
Structure, that contains one row with data from out ID table.
|
default |
MeshOIDTableRow::MeshOIDTableRow | ( | uint8_t | id, |
uint8_t | destination, | ||
SystemPacketType | type | ||
) |
|
inline |
Removes all data from current row.
|
inline |
|
static |
Print header for table of rows.
stream | Stream, where header will be printed. |
size_t MeshOIDTableRow::printRow | ( | OSTREAM & | stream | ) | const |
@breif Prints row to stream.
stream | Stream, where row will be printed. |
uint8_t MeshOIDTableRow::Destination = 0 |
Message destination. If set to UNKNOWN_MESH_ADDRESS (253), no destination is specified.
uint8_t MeshOIDTableRow::ID = 0 |
ID of message.
SystemPacketType MeshOIDTableRow::Type = SystemPacketType::SPT_DATA |
Type of system message.