tio/example/control-lines-test.lua
Martin Lund 0becfa3274 Add Lua scripting feature
Add support for running Lua scripts that can manipulate the tty control
lines. Script is activated automatically on connect or manually via in
session key command.

The Lua scripting feature opens up for many posibilities in the future
such as adding expect like functionality to easily and programatically
interact with the connected device.
2024-04-01 15:37:40 +02:00

7 lines
71 B
Lua

high(DTR)
low(RTS)
msleep(100)
low(DTR)
high(RTS)
msleep(100)
low(RTS)