Results 1 to 4 of 4

Thread: Using AT commands

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    2

    Using AT commands

    Hi all,

    Currently im having problems wif using AT Commands to read SMS from SIM card...

    Is it possible to filter out the header and values highlighted in bold? As i wish to onli read the data information which is inside the SMS onli...

    AT+CMGR=1
    +CMGR: "REC READ","7001",,"06/07/07,15:32:00+32"
    SMS information

    Thnx alot!!!

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Using AT commands

    What language are you using? Which information do you want to keep, the "06/07/07,15:32:00+32" part?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    2

    Re: Using AT commands

    I m using VB version 6... I wan the SMS information which is after the bold part... as for the bold part, i wanna get rid of it... any ways?

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Using AT commands

    strWhatYouWant = Mid$(strWhatYouGot, InstrRev(strWhatYouGot, "+32") + 3)

    strWhatYouWant will be everything after the +32
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width