Open the serial port using the specified device name.
void open( const std::string & device);
This function opens the serial port for the specified device name.
The platform-specific device name.
Thrown on failure.