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