Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4194232
  • 博文数量: 776
  • 博客积分: 13014
  • 博客等级: 上将
  • 技术积分: 10391
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-22 17:00
文章分类

全部博文(776)

文章存档

2015年(55)

2014年(43)

2013年(147)

2012年(20)

2011年(82)

2010年(429)

分类: LINUX

2010-02-25 18:28:12

 
如果你发送一条短信后回复信息   +CNTI:“SM”,3  这个3表示的是你现在这个卡上的第三条信息
此时发送AT+CMGR=3就可以读取这一条短信
如果要删除这一条短信的话发送AT+CMGD=3

下面是一些AT+CMGD指令的作用

AT+CMGD=1,0     The   message   from   the   preferred   message   storage   at   the   location   1   is   deleted
AT+CMGD=1,1     ALL   READ   messages   from   the   preferred   message   storage   are   deleted
AT+CMGD=1,2     ALL   READ   messages   and   SENT   mobile   originated   messages   are   deleted
AT+CMGD=1,3     ALL   READ,SENT   and   UNSENT   messages   are   deleted
AT+CMGD=1,4     ALL   messages   are   deleted (删除所有短信)
阅读(8079) | 评论(0) | 转发(0) |
0

上一篇:字符串函数-strstr

下一篇:MC8775帮助网站

给主人留下些什么吧!~~