|
KatanaNativeInterface $VERSION$
|
Base class of two different serial protocols. More...
#include <cplSerial.h>


Protected Member Functions | |
| virtual bool | load_tbl ()=0 |
| Loads the command table from the robot's firmware. | |
| virtual void | defineProtocol (byte _kataddr)=0 |
| Defines the protocol's attributes. | |
Protected Attributes | |
| THeader | hdr |
| header | |
| TPacket | cmd [256] |
| command table | |
| byte | send_buf [256] |
| sending buffer | |
| byte | read_buf [256] |
| receive buffer | |
Protected Attributes inherited from CCplBase | |
| CCdlBase * | device |
| communication device | |
| short | mMasterVersion |
| master version of robot we are communicating with | |
| short | mMasterRevision |
| master firmware revision | |
Additional Inherited Members | |
Public Member Functions inherited from CCplBase | |
| virtual bool | init (CCdlBase *_device, byte _kataddr=24)=0 |
| Basic initializing function. | |
| virtual void | comm (const byte *pack, byte *buf, byte *size)=0 |
| Base communication function. | |
| virtual | ~CCplBase () |
| destructor | |
| virtual void | getMasterFirmware (short *fw, short *rev)=0 |
| Get the master firmware of the robot we are communicating with. | |
Base class of two different serial protocols.
Definition at line 92 of file cplSerial.h.
|
protectedpure virtual |
Defines the protocol's attributes.
Implemented in CCplSerialCRC.
|
protectedpure virtual |
Loads the command table from the robot's firmware.
Implemented in CCplSerialCRC.
|
protected |
command table
Definition at line 96 of file cplSerial.h.
|
protected |
header
Definition at line 95 of file cplSerial.h.
|
protected |
receive buffer
Definition at line 99 of file cplSerial.h.
|
protected |
sending buffer
Definition at line 98 of file cplSerial.h.