I'm new to Kermit...this is my first very simple script.
I am running Ubuntu and trying to make a script to automate a way to
send commands to a serial device.
I need to toggle the device with ^S004AUX0 (off) and ^S004AUX1 (on).
I'm able to connect like so:
set modem type Serial ; There is no modem
set line /dev/ttyUSB0 ; Specify device name
set carrier-watch off ; If DTR and CD are not cross-
set speed 9600 ; Or other desired speed
set flow xon/xoff ; If you can't use RTS/CTS
set parity none ; (or "mark" or "space", if
set stop-bits 1 ; (rarely necessary)
connect ; this is where I get lost on the
automation and have to enter manual.
From here I can type ^S004AUX0 and toggle the device off (or on), but
would like to automate this part. It's probably pretty simple for
anyone who's used kermit more than a day:)
Can this be automated in the kermit script? If so...can someone show
Thanks in advance!