Robox Library for Cpp: BCC/31 module 1.0.0
RLibCpp BCC/31 protocol implementation
|
The Bcc message raw data structure. More...
#include <message.h>
Public Member Functions | |
bccMessage () | |
Default constructor. | |
bccMessage (bccMessage *source) | |
Copy constructor. | |
void | clear () |
Clears the message. | |
void | copyFrom (const bccMessage *source) |
Copy from a source object. | |
bool | isSameOf (const bccMessage &other) |
Compare to ither message. | |
Public Attributes | |
uint8_t | dst |
Destination ID. | |
uint8_t | dch |
Destination channel ID. | |
uint8_t | src |
Source ID. | |
uint8_t | sch |
Source channel ID. | |
uint16_t | msg |
Message code. | |
uint8_t | len |
Size of the data area (0 = no data) | |
uint8_t | pid |
Protocol ID. | |
uint8_t | res |
Reserved (eg DLC) | |
uint8_t | data [255] |
Optional message data. | |
The Bcc message raw data structure.
|
inline |
Default constructor.
|
inline |
Copy constructor.
source | The source object |
|
inline |
Clears the message.
|
inline |
Copy from a source object.
source | The source object |
|
inline |
Compare to ither message.
other | The message to comapre |
uint8_t data[255] |
Optional message data.
uint8_t dch |
Destination channel ID.
uint8_t dst |
Destination ID.
uint8_t len |
Size of the data area (0 = no data)
uint16_t msg |
Message code.
uint8_t pid |
Protocol ID.
uint8_t res |
Reserved (eg DLC)
uint8_t sch |
Source channel ID.
uint8_t src |
Source ID.