Hi guys now i am in a SMS project. I need to send and receive SMS through modem. I done COM port opening module and SMSSending module.But i cannot find how to read sms from the modem and also i need to notify my application when the SMS is received.I don't know how to achieve this. If any one know guide me....
Thanks in advance
Have you tried modem manual for same. this is quite hardware specific programming. only hardware manual can let you know who it support sms reading/writing and notification.
since you are using old COM Port..AT command list is different for different hardware.
15 Feb '11 - 21:20
i am also struck up wit this.. if you found anything please help me
22 Feb '11 - 21:18
I figure out some ideas for reading SMS.Here is the details.
First we have to set the operation mode for modem
AT+CMGF=1 //text opeartion mode
Then we have to select the location where we are going to read sms in SIM or Phone/Modem Memory
AT+CPMS="SM" // sim. for Phone/Modem Memory AT+CPMS="ME"
AT+CMGL="ALL" //list all the sms in sim
AT+CMGL="REC READ" // list all already readed sms
AT+CMGL="REC UNREAD" // list all unreaded sms
AT+CMGR=1 //read the first sms
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)