connect
Open and connect to the serial port.
Return
boolean - true
success, false
otherwise.
Parameters
baud Rate
Baud rate to use.
abstract fun connect(baudRate: Com.BaudRates?, stopBits: Com.StopBits?, dataBits: Com.DataBits?, parity: Com.Parity?): Boolean
Open and connect to the serial port.
Return
boolean - true
success, false
otherwise.
Parameters
baud Rate
Baud rate to use.
stop Bits
Number of stop bits.
data Bits
Number of data bits per byte.
parity
Enable parity generation and detection.