加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

learning at command AT+CIMI

发布时间:2020-12-15 18:20:34 所属栏目:安全 来源:网络整理
导读:AT command AT+CIMI 【 Purpose 】 ??????? Le arning how to get the International Mobile Subscriber Identity ? 【 Eevironment 】 ? ? ? ?Shell terminal,base on gcom command and gcom script ? 【 Procdeure 】 ?????? gcom script : opengt set com

AT command AT+CIMI

Purpose

???????Learning how to get the International Mobile Subscriber Identity

?

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+CIMI^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 method:

[email?protected]:~# gcom -d /dev/ttyUSB2 -s /etc/gcom/getimsi.gcom 
460040684103330

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读