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.

i am not able to read SMS from SIM300 modem

Status
Not open for further replies.

amit_dhanawade

Junior Member level 1
Joined
Dec 21, 2007
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,394
hello,

I want to read received message in the modem.

sending SMS is working well, but reading the received mess is where i have a problem.
i initialized modem using
ATZ
ATE0 // disable echo
AT+CMGF=1
AT+CMGR=1 /// these are the command which i have sent (there is no issue in communication i.e.of UART)
After this command i suppose to get a string, which i am getting when connected to hiper terminal....
(+CMGR: "REC READ","+919762351719",,"11/03/28,12:33:07+22"
LLLLL)

but when i connect with PIC16F877A it gets hanged while receiving this string, i am not receiving it using interrupt, i am using HI-TECH compiler

while(!RCIF);
mess = RCREG;
these are the lines in the code which are used to read internal buffer

my crystal is 16MHz

do anybody know what is the problem, i need to find solution as soon as possible
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top