31 #if !defined (BYTE_DECLARED)
33 typedef unsigned char byte;
69 virtual void comm(
const byte* pack,
byte* buf,
byte* size) = 0;
Abstract base class for devices.
Abstract base class for protocol definiton.
short mMasterVersion
master version of robot we are communicating with
virtual void getMasterFirmware(short *fw, short *rev)=0
Get the master firmware of the robot we are communicating with.
short mMasterRevision
master firmware revision
virtual void comm(const byte *pack, byte *buf, byte *size)=0
Base communication function.
CCdlBase * device
communication device
virtual ~CCplBase()
destructor
virtual bool init(CCdlBase *_device, byte _kataddr=24)=0
Basic initializing function.
unsigned char byte
type specification (8 bit)