Help me To read Last recieved sms from hyper terminal


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default

    I suggest you to connect your modem to the PC serial port and repeat the experiment, reading the whole string the modem send out.
    Re-check the position of your characters (along with your skip command) and verify if their position is stable even when the sms message change in lenght.

    Very likely you will find necessary to change Skip value in your code

    Al.
    All progress began with an idea

  2. #2
    Join Date
    Aug 2008
    Posts
    66

    Default

    Thanks Arati for the advice.

    Using AT+CMGL command, assuming if I got more than 1 new SMS within the same time period, how would I go about reading/detecting the next new SMS?

    Should I just jump to the next memory location and use a for loop until the gsm module return an error?

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default

    Should I just jump to the next memory location and use a for loop until the gsm module return an error?
    This is one solution and should work! I still prefer deleting the sms once read and serviced and leave the memory empty.

    Al.
    All progress began with an idea

  4. #4
    Join Date
    Aug 2008
    Posts
    66

    Default

    Using AT+CMGS= to send the sms to a tel number.

    Is there another way where I can put more than 1 tel number and send the same sms at the same time together, so I dont have to repeat the above command again?

  5. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default

    No luck!,the answer to your question is no!
    You must do it in your software where you use a FOR/NEXT loop and at each loop you collect a new phone # from pic eeprom memory and you call "AT+CMGS" sending the same message to each phones as per your eeprom database.


    Al.
    All progress began with an idea

Similar Threads

  1. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  2. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 11:20
  3. Hyper Terminal Setting for TTL putput
    By ClayE in forum Serial
    Replies: 6
    Last Post: - 7th June 2008, 06:50
  4. Write and Read from eeprom
    By savnik in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 9th June 2007, 14:56
  5. what is hyper terminal?
    By moud_man in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th September 2005, 19:33

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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