【Purpose】

Learning how to get mobile module info

【Eevironment】

Shell terminal, base on gcom command and gcom script

【Procdeure】

opengt
set com 115200n81
set comecho off
set senddelay 0.02
waitquiet 0.2 0.2
flash 0.1 :start
send "AT+CSUB^m"
get "" $s
print $s :continue
exit

test mothed:

root@IoTP:/etc/gcom# gcom -d /dev/ttyUSB2 -s csub.gcom
AT+CSUB
+CSUB: B11V02
+CSUB: MDM9x07_AP_S_217_V1.41_181213 OK
04-17 07:04