![]() |
Roboid Control for C#
|
Message providing generic details about a Thing.
Public Member Functions | |
ThingMsg (byte networkId, Thing thing) | |
Create a message for sending. | |
ThingMsg (byte[] buffer) | |
Create a message for receiving. | |
override byte | Serialize (ref byte[] buffer) |
Serialize the message into a byte array. | |
Static Public Attributes | |
const byte | id = 0x80 |
The message ID. | |
const byte | length = 5 |
The length of the message. | |
RoboidControl.ThingMsg.ThingMsg | ( | byte | networkId, |
Thing | thing | ||
) |
Create a message for sending.
networkId | The network ID of the thing |
thing | The thing |
RoboidControl.ThingMsg.ThingMsg | ( | byte[] | buffer | ) |
Create a message for receiving.
buffer | The byte array to parse |
|
virtual |
Serialize the message into a byte array.
buffer | The buffer to serialize into |
Reimplemented from RoboidControl.IMessage.