Message for sending generic text.
Definition TextMsg.h:7
static const unsigned char length
The length of the message without the text itself.
Definition TextMsg.h:12
const char * text
The text without the null terminator.
Definition TextMsg.h:18
unsigned char networkId
The network ID of the thing.
Definition TextMsg.h:14
virtual ~TextMsg()
Destructor for the message.
Definition TextMsg.cpp:22
virtual unsigned char Serialize(char *buffer) override
Serialize the message into a byte array for sending.
Definition TextMsg.cpp:24