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 { ... } |
uint8_t RTK_PACKET::buf[RTK_SIZE_PACKET] |
Buffer.
Definition at line 154 of file dn_robotalk.h.
uint16_t RTK_PACKET::command |
Command.
Definition at line 149 of file dn_robotalk.h.
uint8_t RTK_PACKET::data[RTK_SIZE_DATA] |
Data. The tail 2bits is used for CRC.
Definition at line 152 of file dn_robotalk.h.
uint8_t RTK_PACKET::enq |
Enquiry.
Definition at line 147 of file dn_robotalk.h.
uint8_t RTK_PACKET::from_id |
Id of host.
Definition at line 150 of file dn_robotalk.h.
uint8_t RTK_PACKET::len |
The length of data. This does not contain CRC length.
Definition at line 148 of file dn_robotalk.h.
uint8_t RTK_PACKET::to_id |
Id of the target client.
Definition at line 151 of file dn_robotalk.h.