Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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...
Posted
Comments
mpch_elec 6-Sep-12 13:05pm    
Hi man
did you find solution for this?
I have same problem.
please help me.
thanks.

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.
 
Share this answer
 
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!
 
Share this answer
 
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.
 
Share this answer
 
v2
Comments
André Kraak 20-Oct-11 5:26am    
If you have a question about or comment on a given solution use the "Have a Question or Comment?" option beneath the solution. When using this option the person who gave the solution gets an e-mail message and knows you placed a comment and can respond if he/she wants.

Please move the content of this solution to the solution you are commenting on and remove the solution.
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900