A type definition for the ROBOTalk packet. More...
#include <dn_robotalk.h>
Public Attributes | |
struct { | |
uint16_t command | |
uint8_t data [RTK_SIZE_DATA] | |
uint8_t enq | |
uint8_t from_id | |
uint8_t len | |
uint8_t to_id | |
}; | |
uint8_t | buf [RTK_SIZE_PACKET] |
A type definition for the ROBOTalk packet.
Definition at line 143 of file dn_robotalk.h.
struct { ... } |
Buffer.
Definition at line 154 of file dn_robotalk.h.
Command.
Definition at line 149 of file dn_robotalk.h.
Data. The tail 2bits is used for CRC.
Definition at line 152 of file dn_robotalk.h.
Enquiry.
Definition at line 147 of file dn_robotalk.h.
Id of host.
Definition at line 150 of file dn_robotalk.h.
The length of data. This does not contain CRC length.
Definition at line 148 of file dn_robotalk.h.
Id of the target client.
Definition at line 151 of file dn_robotalk.h.