setBaudRate

abstract fun setBaudRate(rate: Int)

Sets the baud rate of the connection to the serial port.

Should be called after opening the connection.

Parameters

rate

Baud rate to set for the connection