AT command AT+CSQ
【Purpose】
Learning how to get mobile module single quality report
【Eevironment】
Shell terminal, base on gcom command and gcom script
【Procdeure】
gcom script
root@IoTP:/etc/gcom# cat getstrength.gcom
opengt
set com 115200n81
set comecho off
set senddelay 0.02
waitquiet 0.2 0.2
flash 0.1 :start
send "AT+CSQ^m"
get "" $s
print $s :continue
exit
test mothod:
root@IoTP:~# gcom -d /dev/ttyUSB2 -s /etc/gcom/getstrength.gcom
AT+CSQ
+CSQ: , OK