26 #define SERIAL_NO_PARITY 0
27 #define SERIAL_ODD_PARITY 1
28 #define SERIAL_EVEN_PARITY 2
42 int open(
const char *port,
int parms);
45 int changeRate(
int rate);
49 int write(
const void *buffer,
int num);
62 COMMCONFIG myPreviousState;
63 COMMCONFIG mySerialState;
68 struct termios myPreviousState;
69 struct termios mySerialState;
void read(T &in, bool &v)
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
void write(T &out, bool v)