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.

SIM300 interfacing with ATmega16 (Recieve SMS)

Status
Not open for further replies.

xenomorph117

Newbie level 1
Newbie level 1
Joined
Apr 27, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,289
Hello everyone,

Im trying to recieve SMS from SIM300 module by passing commands through ATmega16 and displaying it on the LCD. I can send AT+CMGR=<index> command to the gsm module but can only get the response as:

+CMGR: "REC READ","+919483486213",,"13/04/29,17:33:34+22"

instead of:

+CMGR: "REC READ","+919483486213",,"13/04/29,17:33:34+22"
<message body>

As you can see, I am successful in communicating with the GSM module but cannot parse the received message properly. I am unable to display the message body and only the aforementioned header is being displayed.

Kindly advise
 

Hello everyone,

I can send AT+CMGR=<index> command to the gsm module but can only get the response as:

+CMGR: "REC READ","+919483486213",,"13/04/29,17:33:34+22"

instead of:

+CMGR: "REC READ","+919483486213",,"13/04/29,17:33:34+22"
<message body>

Kindly advise

Depends on how you read your result. If you are visualizing this on the LCD then I think something is wrong with your code. You are probably using a C function whose delimiter is the carriage return present after "13/04/29,17:33:34+22". I this you should paste your code anyway.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top