Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to get SMS delivery notification by GPRS modem (SIM300)

Status
Not open for further replies.

rajeshbij

Member level 1
Member level 1
Joined
Feb 9, 2007
Messages
33
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,288
Location
Jaipur, INDIA
Activity points
1,468
Hi, I am using a SIM300 based GPRS Modem connected to my PC at serial port for sending bulk SMS. Now I want to get the delivery report. As far as I know the mobile hanset sets a bit abd send it with each SMS if delivery report is requested. But how to do this using the modem?
 

+CDS : <length> <CR> <LF>
<pdu> (PDU mode) or +CDS : <fo>,<mr>, [<ra>] , [<tora>], <scts>,<dt>,<st> (Text mode)
2: SMS-STATUS-REPORTs are stored and routed using the unsolicited result code :
+CDSI: “SR”,<index>
 
Thanks ckshivaram. I was expecting a solution from your side. But please be more specific as I couldn't get what you want to say.
I am using TEXT mode.
How and what should be sent to enable Delivery report ?
Where are they stored, if they are stored ?
How to read the delivery message when they come ?
 

Hi, i dont know you but you expected my answer thats good to hear.....

these messages are not stored anywhere but you can read it instantaneously....
these are called as "Unsolicited result codes".... you can find it in every AT command data sheet..

Unsolicited result codes are messages sent from the GSM/GPRS modem or mobile phone to provide you information about the occurrence of an event. For example, you can use the +CNMI AT command (command name in text: New Message Indications to TE) to request the GSM/GPRS modem or mobile phone to send the unsolicited result code "+CMTI" to your computer / PC every time a new SMS message is received from the SMS center.

Here are the unsolicited result codes that are related to SMS messaging:


+CDS

A GSM/GPRS modem or mobile phone uses +CDS to forward a newly received SMS status report to the computer / PC.


+CDSI

A GSM/GPRS modem or mobile phone uses +CDSI to notify the computer / PC that a new SMS status report has been received and the memory location where it is stored.

---------- Post added at 22:40 ---------- Previous post was at 22:34 ----------

read this
SMS Tutorial: Operating Mode: SMS Text Mode and SMS PDU Mode

or read the command AT+CNMA to know it better.
 
it works fine with me... you should also get the result.....
dont post thank you messages in the forum as it will be read and updated by many people later also.... you can click on helpful button for anyone whose answer you find helpful or wait for an suitable answer...
 

I don't receive the +CDS return, even if I connect to the modem via minicom do you know what it could be?

Thanks,
R. Couto
 

can you explain the sequence of commands you are sending and the response you get. it will be better if you take snap shot of that and put it. i can see and suggest you appropriately.
 

hi ckshivaram,
i able to read received sms by sim300 using hyperterminal, but dont know how i can do using controller to display received sms by sim300 from cell phone, can u resolve this problem.

thanks
 

use AT+CMGR command to read the sms. create a array of required size and when you read the sms , store it in the array and then read it or print it.
 

how, can u explain with sample source code
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top