- handle:setDtr(flag)
- handle:setRts(flag)
SYNOPSIS
DESCRIPTION
Sets the state of the serial port control outputs DTR or RTS.
RETURN VALUE
On success, returns true. On failure, returns nil. In
case of an error, the error can be retrieved using rawio:lastError().
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:cts, rawio:dcd, rawio:device, rawio:drain, rawio:dsr, rawio:dtr, rawio:fd, rawio:flush, rawio:name, rawio:rng, rawio:rts, rawio:rxcnt, rawio:setupComm, rawio:start, rawio:stop, rawio:txcnt