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 decode the received SMS via 8051

Status
Not open for further replies.

hassam.sam

Newbie level 4
Joined
Mar 25, 2011
Messages
5
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,307
I want to read a SMS from SE T610. Then decode it and according to the received message, control corresponding attached devices. My main problem is that I know that using AT+CMGR i can read the message but the recevied message comes with some extra strings like, "REC READ","+61xxxxxx",,"04/08/28,22:26:29+40" and then the original text.. help me how can i extract the received text and then according to the received information control devices. I am using AT89c51.
 

The actual message will follow a linefeed and carriage return.

You can start reading after those charcters

Hope this helps
 

would you please guide me that how would i do that... means how can i distinguish my message after carriage return.
 

The response of the AT+CGMR command will be a header containing some information about the message such as; the sending number, the date and the time. Then, a Carriage return and a Line feed.
So, as nandhu015 said, you can start reading after the 2nd Carriage Return and Line Feed. The ASCII characters of the Carriage Return and Line Feed are 13 and 10 respectively.

Hope this helps.
 

will you plz help me. wht is CNMI and how it can be used..?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top