Improvements to SerialCom
- Use constant string reference instead of a string copy for write
- Reuse string object on
read(std::string&)
- Add configurable number stop bits, parity bit, hardware flow control and size of character
- Throw
std::runtime_error
if an error is detected on read/write