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.

SIM900A - how to check if SMS received

Status
Not open for further replies.

hithesh123

Full Member level 6
Joined
Nov 21, 2009
Messages
324
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
lax
Activity points
3,548
Does the SIM900A, change any of the pin status or give any indication when an SMS message has been received?

What's the simplest way to check without using AT commands.
 
Last edited:

RXD pin have receive data available but you have not logic status like 0 or 1 I think
 

Does the SIM900A, change any of the pin status or give any indication when an SMS message has been received?
I always use AT commands, but the Ring Indicator (RI) pin is able to also indicate sms, if I can recall correctly.
 

Send AT Command "AT+CNMI=2,1" Once before entering while(1). Then when there is new SMS GSM sends AT response "AT+CMTI: "SM", x" where x is SMS index in SIM. Compare this response with the response string stored in ROM and if response match then issue "AT+CMGR=x\r" command and check for response "\r\nOK\r\n". If response received is OK then extract the actual SMS message and take action depending upon the SMS message.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top