Roboid Control for C++
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
RoboidControl::InvestigateMsg Class Reference

Detailed Description

Message to request details for a Thing.

#include <InvestigateMsg.h>

Inherits RoboidControl::IMessage.

Public Member Functions

 InvestigateMsg (unsigned char networkId, unsigned char thingId)
 Create a new message for sending.
 
 InvestigateMsg (char *buffer)
 
virtual ~InvestigateMsg ()
 Destructor for the message.
 
virtual unsigned char Serialize (char *buffer) override
 

Static Public Member Functions

static unsigned char * ReceiveMsg (unsigned char packetSize)
 

Public Attributes

unsigned char networkId
 The network ID of the thing.
 
unsigned char thingId
 the ID of the thing
 

Static Public Attributes

static const unsigned char id = 0x81
 The message ID.
 
static const unsigned char length = 3
 The length of the message.
 

Constructor & Destructor Documentation

◆ InvestigateMsg() [1/2]

RoboidControl::InvestigateMsg::InvestigateMsg ( unsigned char  networkId,
unsigned char  thingId 
)

Create a new message for sending.

Parameters
networkIdThe network ID for the thing
thingIdThe ID of the thing

◆ InvestigateMsg() [2/2]

RoboidControl::InvestigateMsg::InvestigateMsg ( char *  buffer)

Member Function Documentation

◆ Serialize()

unsigned char RoboidControl::InvestigateMsg::Serialize ( char *  buffer)
overridevirtual