- handle:start()
- handle:stop()
SYNOPSIS
DESCRIPTION
rawio.start() and rawio.stop() will start/stop transmitting
just like a handshaking protocol would.
RETURN VALUE
On success, returns true. On failure, returns nil. In
case of an error, the error can be retrieved using rawio:lastError().
ERRORS
This function works only on TTY devices.
NOTES
These functions do not disable any handshaking that is configured for the device. So if you call
rawio:stop(), for example, and the device sees a start trigger on the hardware (e.g. a
Xon character), it happily starts up again.
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:setDtr, rawio:setRts, rawio:setupComm, rawio:txcnt