Click here to Skip to main content
12,358,777 members (63,521 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: MFC AT
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
ganesh_IT
Posted 15-Feb-11 19:25pm
Comments
Sandeep Mewara 16-Feb-11 1:37am
   
Tried Google?
ThatsAlok 16-Feb-11 3:21am
   
yeap google is good options.. however hardware manual too
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

i am also struck up wit this.. if you found anything please help me
thanks...
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Hi surajking123,

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
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 2 Mar 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100