Get an option from the serial port.
template< typename GettableSerialPortOption> asio::error_code get_option( GettableSerialPortOption & option, asio::error_code & ec);
This function is used to get the current value of an option on the serial port.
The option value to be obtained from the serial port.
Set to indicate what error occured, if any.