Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default Testing a SIM800L GSM module via Mecanique's Serial Communicator

    Quote Originally Posted by richard View Post
    "AT+CMGS="+4179xxxxxxx",#10,"Hello Roger",#26
    Actually, the working syntax in the Serial Communicator is: AT+CMGS="+4179xxxxxxx"#10"Hello Roger"#26

    Thanks Richard for your help

    BTW, one of the AT commands manual I could find in the WEB says:

    Name:  CmdAT.png
Views: 5014
Size:  96.5 KB

    Using the SIM800L GSM module, according to the "AT data sheet" () I should have used a CR after the phone number. But by chance, I discovered that only a LF would work. Is it a typo or something wrong with my module, I don't know; fact is CR = NO, LF = YES!!!!
    Roger

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132

    Default Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    I never faced such a problem with SIMcom modules.

    CR is the necessary for line or command termination. LF does not that...

    Are absolutely sure you send out LF instead of CR?

    Ioannis

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    Ioannis,

    This is really strange, yes. It took me hours to find out that there was something strange.

    But actually, to make it work, I use:

    working with PIC: SEROUT PORTB.4,2,["AT+CMGS=",34,"+4179xxxxxx",34,10,"Hello Roger",26,10,13]

    working with serial com: AT+CMGS="+4179xxxxxxx"#10"Hello Roger"#26

    If I replace the 10 or #10 by a 13 or #13, it will not work anymore.

    Nope, no idea what's wrong but "yes", I'm sure I use LF instead of CR.
    Roger

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    Sure is sure so I just checked again.

    See whats happens with CR instead of LF:

    Name:  GSM CR.png
Views: 5684
Size:  7.0 KB
    Roger

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132

    Default Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    Do you have other terminal program to test? My suspicions fall on MCSP serial communicator.

    Ioannis

  6. #6
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    I'll give it a try with PUTTY and HYPERTERMINAL although I don't know how to send control characters with those programs too

    But why would it be the problem of my serial program since I need to do the same when I use the PIC?

    working with PIC: SEROUT PORTB.4,2,["AT+CMGS=",34,"+4179xxxxxx",34,10,"Hello Roger",26,10,13]

    As you can see, here too I need to use a Line Feed instead of a Carriage Return !?
    Roger

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132

    Default Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    You are right.I missed that.

    Well, I don't know what is wrong. I remember once, was testing on a SIM900 module with no problems on this. Sure a CR was needed to terminate the command.

    For a couple of days I'll be out of town. On my return I will find it and give it a test again.

    Ioannis

Similar Threads

  1. Replies: 0
    Last Post: - 14th November 2013, 03:32
  2. Replies: 3
    Last Post: - 15th October 2012, 08:06
  3. "symbol not previously defined" on 16F1933 - fuse issue i think
    By comwarrior in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd January 2011, 03:24
  4. sending string to module GSM with character ""
    By volcane in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd May 2010, 02:26
  5. 16F88 - AD converter module always "ON"
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th September 2006, 12:11

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