Serial Line State
data class SerialLineState(val carrierDetect: Boolean = false, val clearToSend: Boolean = false, val dataSetReady: Boolean = false, val dataTerminalReady: Boolean = false, val ringIndicator: Boolean = false, val requestToSend: Boolean = false)
This class represents the current state of the lines on the serial port.
Note that all of these options may not be available depending on the serial port that is in use, and/or the platform that you are running on.