The library libserial provides a set of useful interfaces to a RS-232 serial device.
All libserial diagnostics logging is at diagnostics level 4.