learning at command AT+CGSN
Posted lianghong881018
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了learning at command AT+CGSN相关的知识,希望对你有一定的参考价值。
AT command AT+CGSN
【Purpose】
Learning how to get mobile module international Mobile Equipment Identity number
【Eevironment】
Shell terminal, base on gcom command and gcom script
【Procdeure】
gcom script
opengt set com 115200n81 set comecho off set senddelay 0.02 waitquiet 0.2 0.2 flash 0.1 :start send "AT+CGSN^m" get 1 "^m" $s get 1 "^m" $s let x = len($s) if x<2 goto continue let $s = $right($s, x-1) print $s :continue exit 0
test mothed:
[email protected]:/etc/gcom# gcom -d /dev/ttyUSB2 -s /etc/gcom/getimei.gcom 867732039762018
以上是关于learning at command AT+CGSN的主要内容,如果未能解决你的问题,请参考以下文章
[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund