help needed on how to process incoming sms msg?

starzstone
starzstone used Ask the Experts™
on
hi,

i used java program to write the sms command "AT+CMGL=\"REC UNREAD\"\r" to list out the unread msg.

this is the response i get:

+CMGL: 2;"REC UNREAD", "91234567",,"02/11/19,00:12:13+32"
testing

how can i read and process the msg "testing" and stored it to a string? thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi starzstome,

use AT+CMGR=2 to retrieve the message, then parse it. Me too, I'm currently writing a program to send and receive SMS messages. Receiving is not yet implemented, though... If you're interested:

http://www.way-x.de/smsmaker

Hope that helps
Oliver

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial