我是靠谱客的博主 曾经墨镜,这篇文章主要介绍learning at command AT+CGSNAT 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 

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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:

复制代码
1
2
root@IoTP:/etc/gcom# gcom -d /dev/ttyUSB2 -s /etc/gcom/getimei.gcom 867732039762018

 

转载于:https://www.cnblogs.com/lianghong881018/p/10412801.html

最后

以上就是曾经墨镜最近收集整理的关于learning at command AT+CGSNAT command AT+CGSN的全部内容,更多相关learning内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(73)

评论列表共有 0 条评论

立即
投稿
返回
顶部