AT命令中的传递报告 [英] Delivery reports in AT commands

查看:79
本文介绍了AT命令中的传递报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我写了 C#程序,使用 AT命令并使用 GSM调制解调器发送短信。但我希望收到我发送的每个短信的发送报告。如何使用C#programme.Is可以通过AT命令接收发送报告???



请有人帮助我...

Hi,
I wrote a C# programme to send sms using AT commands and using GSM Modem.But I want to receive the delivery report for every sms which I send.How can I do it with C# programme.Is itpossible to receive delivery reports in AT commands???

Please can someone help me...

推荐答案

看看这篇文章 [ ^ ]。它包含使用AT + CSMP =命令设置消息传递模式的详细说明。第一个参数,第5位,在设置时请求交货收据。
Take a look at this article[^]. It contains detailed instructions for using the AT+CSMP= command to set the messaging mode. The first parameter, bit 5, requests a delivery receipt when set.


如果有人需要这样做并在这里寻找解决方案,这就是我正在使用的:



AT + CSMP = 49,167,0,0

将我的GSM调制解调器(ZTE MF710)的第一个参数设置为49是向我的运营商启用短信发送报告的密钥。

第二个参数是SMS服务中心等到决定无法发送短信的过期时间。 167是12小时。




然后你需要设置调制解调器的+ CNMI来报告。请参阅SIM900_AT规范 [ ^ ]。



对我来说最好的格式是:

AT + CNMI = 2,1,0,1,0



我希望这有帮助!
In case anyone needs to do this and land here looking for a solution here it is what i'm using:

AT+CSMP=49,167,0,0
Setting the first parameter as 49 for my GSM Modem (ZTE MF710) is the key to enable SMS Delivery Report to my Carrier.
The second parameter is the Expiration Time for the SMS Service Center to wait until decide the SMS could not be delivered. 167 is 12 hours.


Then you need to set the +CNMI of the modem to report. See SIM900_AT specifications[^].

The best format for me is:
AT+CNMI=2,1,0,1,0

I hope this helps!


嗨Roger,

我试过这个,但我,我无法收到送货报告。我想我错过了一些东西,你能不能给我发送AT命令。
Hi Roger,
I tried with that,but I,m unable to recieve delivery report.I think I miss something here,can you just send me the AT command for it.


这篇关于AT命令中的传递报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆