openEmbroider
0.1
an open source embroidery software
|
Public Member Functions | |
CommMaster (const char *portname, unsigned msTimeout, unsigned retries) | |
bool | ack () |
virtual void | addPoints (const uint8_t *xys, unsigned points) |
virtual void | deletePoints () |
virtual void | stopMove () |
virtual void | startMove () |
virtual void | setParam () |
virtual void | gotoXY (PosType x, PosType y) |
virtual void | movedXdY (PosType dx, PosType dy) |
virtual void | gotoNextPoint () |
virtual void | setNPoint (uint16_t nPoint) |
virtual void | setPos (PosType x, PosType y) |
![]() | |
void | onChar (uint8_t c) |
void | sendMsg (const uint8_t *buffer) |
![]() | |
void | connect (UartBlock< packetSize > *uart) |
Public Attributes | |
SlaveInfo | info |
![]() | |
unsigned long | qosMsg |
unsigned long | qosSync |
unsigned long | qosFullSync |
![]() | |
unsigned | bytealtered_ppm |
unsigned | bytelost_ppm |
Additional Inherited Members | |
![]() | |
typedef int16_t | PosType |
![]() | |
static const unsigned | kPacketSize |
![]() | |
enum | Command : uint8_t { kAddPoints = 0, kDeletePoints, kStopMove, kStartMove, kSetParam, kGotoXY, kMovedXdY, kGotoNextPoint, kSetNPoint, kSetPos } |
![]() | |
PosType | readPosType (const uint8_t *buffer, unsigned index=0) |
void | writePosType (uint8_t *buffer, PosType pos, unsigned index=0) |
![]() | |
PcUart (const char *name) | |
bool | uartwrite (const void *buf, size_t count) |
void | startReader () |
void | reader () |
![]() | |
int | fd |