- flag = handle:rawio:rts()
- flag = handle:rawio:cts()
- flag = handle:rawio:dtr()
- flag = handle:rawio:dsr()
- flag = handle:rawio:dcd()
- flag = handle:rawio:rng()
SYNOPSIS
DESCRIPTION
This is a set of functions to retrieve the current state of the serial port control signals RTS, CTS, DTR, DSR, DCD, and RNG (Ring).
RETURN VALUE
On success, returns a boolean indicating the state of the control signal. On failure, returns
nil.
ERRORS
Fails if the handle is not a serial port (TTY device).
NOTES
It depends on the underlying hardware which control signals are actually available. On normal RS232 ports,
often only RTS/CTS is available. On RS485 ports, there are no control signals.
SEE ALSO
rawio:break, rawio:device, rawio:drain, rawio:fd, rawio:flush, rawio:name, rawio:rxcnt, rawio:setDtr, rawio:setRts, rawio:setupComm, rawio:start, rawio:stop, rawio:txcnt