op-packages/simman/files/getccidnb.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
Executable File

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