op-packages/simman2/files/setfunnb.gcom
github-actions[bot] b86d032e91 🤞 Sync 2026-04-23 06:19:46
2026-04-23 06:19:46 +08:00

22 lines
263 B
Plaintext
Executable File

opengt
set com 9600n81
set senddelay 0.02
waitquiet 1 0.2
flash 0.1
:start
send "AT+CFUN"
send $env("COMMAND")
send "^m"
waitfor 3 "OK","+CFUN:"
if % = 0 goto continue
if % = 1 goto request
:request
get 1 "^m" $s
print $s
exit 0
:continue
exit 0