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

20 lines
226 B
Plaintext

opengt
set com 9600n81
set senddelay 0.02
waitquiet 1 0.2
flash 0.1
:start
send "AT+CGSN=1^m"
waitfor 1 "+CGSN:"
if % = -1 goto error
if % = 0 goto continue
:error
exit 1
:continue
get 1 "^m" $s
print $s
exit 0