This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to read message from particular number ?

hi i am developing one application.

in that i want read messages from some perticular number.and i want to read sms using AT commands only,so how can i read sms from particular number?

now my AT commands are

AT+CMGF = 1

AT+CMGL="REC UNREAD"

i am reading all messages. but i want to read msg from particular number?

help me out.i am using "C" programming laguage

  • This might not be the best matching forum here. I recommend to search for AT-supporting public forums, i.e.:

    https://www.digi.com/support/forum/

    ...

  • As suggests, this has nothing to do with ARM or Keil.

    Your modem neither knows nor cares what microcontroller you are using - or, indeed, that you're using a microcontroller at all.

    You will need to read the AT Commands documentation for the particular modem you are using, to see if it has a specific AT Command and/or command option(s) to do what you want.

    If there is no dedicated command, then you are going to have to have your program go through the all messages, and pick out only the ones you require.

    .i am using "C" programming laguage

    It's not a 'C' language thing;  this is just software design - it would be the same in any language.