Code: Possible refactor opportunity for SerialReader
Boost libraries provide serial interface through its asio module. It may be possible to leverage that fact to merge both implementations of SerialReader?
More here: https://www.boost.org/doc/libs/1_80_0/doc/html/boost_asio/reference/serial_port.html https://www.boost.org/doc/libs/1_80_0/doc/html/boost_asio/reference/basic_serial_port/basic_serial_port.html