boost::asio::serial_port_service::native_type getNativeSerialPort( |
| ) |
opens a connection to the specified port, sets the correct Byte Size, and gets the handle to it
portName std::string | the name of the port to be opened ("COM26") |
The handle to the port as a boost serial_port_service::native_type
Error_InvalidSerialPort: the specified com port is invalid
Error_Connection: failed to get or set com port parameters