[原创]AT+CNMI个别参数的含义

注意:下面的英文部分是从西门子MC35i的AT命令手册中摘下来的,中文是我自己翻译的,可能有不准确的地方,但大概还是说明白了含义的,仅供参考。

AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>

后面跟5个需要设置的参数:

<mode>,<mt>,<bm>,<ds>,<bfr>

其中:

         <mode>

         0——

         Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications.主动返回的结果代码缓存在TA中。如果TA中的结果代码已经满了,那么就缓存在其他一些地方,或者将最先的若干结果代码删除,取而代之的是新收到的

       1——Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved (e.g. in on-line data mode). Otherwise forward them directly to the TE.TA-TE连接被保留(例如处于在线数据模式中)的时候,会丢弃通知,拒绝新收到的短信主动返回结果代码。否则会将它们直接送到TE

       2——Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in on-line data mode) and flush them to the TE after reservation. Otherwise forward them directly to the TE.TA-TE连接被保留(例如处于在线数据模式中)的时候,将主动返回的结果代码缓存在TA,并且在保留的连接被取消后,将它们送到TE。否则会将它们直接送到TE

       3——Forward unsolicited result codes directly to the TE. TA-TE link specific inband technique used to embed result codes and data when TA is in on-line data mode.主动返回的结果代码直接送到TE。当TA处于在线数据模式时,将使用“TA-TE连接特殊内嵌技术”(TA-TE link specific inband technique)来把结果代码和数据封装起来传送

 

     此处,主动返回的结果代码指的就是自动送到串口上的数据。当然这个数据有可能包含短信内容,也有可能不包含,根据你的<mt>参数选择什么而定。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值