[原创] 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>参数选择什么而定。

文章来源:https://www.codelast.com/
➤➤ 版权声明 ➤➤ 
转载需注明出处:codelast.com 
感谢关注我的微信公众号(微信扫一扫):

wechat qrcode of codelast

发表评论