Message to request details for a Thing.
#include <InvestigateMsg.h>
|
| | InvestigateMsg (unsigned char networkId, Thing *thing) |
| | Create an investigate message.
|
| |
| | InvestigateMsg (char *buffer) |
| |
|
virtual | ~InvestigateMsg () |
| | Destructor for the message.
|
| |
| virtual unsigned char | Serialize (char *buffer) override |
| | Serialize the message into a byte array for sending.
|
| |
|
|
unsigned char | networkId |
| | The network ID of the thing.
|
| |
|
unsigned char | thingId |
| | the ID of the thing
|
| |
|
|
static const unsigned char | id = 0x81 |
| | The message ID.
|
| |
|
static const unsigned char | length = 3 |
| | The length of the message.
|
| |
◆ InvestigateMsg() [1/2]
| RoboidControl::InvestigateMsg::InvestigateMsg |
( |
unsigned char |
networkId, |
|
|
Thing * |
thing |
|
) |
| |
Create an investigate message.
- Parameters
-
| networkId | The network ID for the thing |
| thing | The thing for which the details are requested |
◆ InvestigateMsg() [2/2]
| RoboidControl::InvestigateMsg::InvestigateMsg |
( |
char * |
buffer | ) |
|
◆ Serialize()
| unsigned char RoboidControl::InvestigateMsg::Serialize |
( |
char * |
buffer | ) |
|
|
overridevirtual |
Serialize the message into a byte array for sending.
- Parameters
-
| buffer | The buffer to serilize into |
- Returns
- The length of the message in the buffer
Reimplemented from RoboidControl::IMessage.