4namespace RoboidControl {
10 static const unsigned char id = 0x80;
12 static const unsigned char length = 5;
35 virtual unsigned char Serialize(
char* buffer)
override;
Root structure for all communcation messages.
Definition Messages.h:12
A thing is the primitive building block.
Definition Thing.h:17
Message providing generic information about a Thing.
Definition ThingMsg.h:7
unsigned char thingType
The Thing.Type of the thing.
Definition ThingMsg.h:18
unsigned char thingId
The ID of the thing.
Definition ThingMsg.h:16
virtual ~ThingMsg()
Destructor for the message.
Definition ThingMsg.cpp:33
static const unsigned char length
The length of the message.
Definition ThingMsg.h:12
unsigned char parentId
The parent of the thing in the hierarachy. This is null for root Things.
Definition ThingMsg.h:20
virtual unsigned char Serialize(char *buffer) override
Serialize the message into a byte array for sending.
Definition ThingMsg.cpp:35
unsigned char networkId
The network ID of the thing.
Definition ThingMsg.h:14