This project consists of developing a simple c++ class that will run on linux
and compile in gnu g++
The class should allow:
opening and closing serial ports by name: /dev/ttyUSB0
setting the serial parameters
read and write to the serial port in non-blocking async mode
allow a call back function to be called to handle incoming data
read / write in binary mode
Each instance will handle one serial port
The serial ports will be USB serial ports /dev/ttyUSBx
It should be tested with valgrind and other debugging tools.
## Deliverables
The class should not rely on any other serial classes or libraries.