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
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
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
Sure is sure so I just checked again.
See whats happens with CR instead of LF:
![]()
Roger
Do you have other terminal program to test? My suspicions fall on MCSP serial communicator.
Ioannis
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
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
My module's firmware is Revision:1418B02SIM800L24
Roger
Bookmarks