Base class of two different serial protocols. More...
#include <cplSerial.h>
Protected Member Functions | |
virtual void | defineProtocol (byte _kataddr)=0 |
Defines the protocol's attributes. | |
virtual bool | load_tbl ()=0 |
Loads the command table from the robot's firmware. | |
Protected Attributes | |
TPacket | cmd [256] |
command table | |
THeader | hdr |
header | |
byte | read_buf [256] |
receive buffer | |
byte | send_buf [256] |
sending buffer |
Base class of two different serial protocols.
Definition at line 92 of file cplSerial.h.
virtual void CCplSerial::defineProtocol | ( | byte | _kataddr | ) | [protected, pure virtual] |
Defines the protocol's attributes.
Implemented in CCplSerialCRC.
virtual bool CCplSerial::load_tbl | ( | ) | [protected, pure virtual] |
Loads the command table from the robot's firmware.
Implemented in CCplSerialCRC.
TPacket CCplSerial::cmd[256] [protected] |
command table
Definition at line 96 of file cplSerial.h.
THeader CCplSerial::hdr [protected] |
header
Definition at line 95 of file cplSerial.h.
byte CCplSerial::read_buf[256] [protected] |
receive buffer
Definition at line 99 of file cplSerial.h.
byte CCplSerial::send_buf[256] [protected] |
sending buffer
Definition at line 98 of file cplSerial.h.