open

fun open(portName: String, baudRate: Int = DEFAULT_BAUD): RadioTransport(source)

Open the named serial port. The port name is the SerialPortInfo.name value returned by list; under the hood jSerialComm derives this from the underlying USB device.

Throws

if the port cannot be located (most often because permission has not yet been granted, or the device has been physically detached).