Quote Originally Posted by camolas View Post
IP:
HSEROUT["AT+CMGR=1",13,10]
HSERIN 5000,IP,[WAIT("OK")] ' have add success:High PortD.2 and works
success:High PortD.2

Let me say ti see if i now woh it works, if the ok dont come in 5s it will go to IP and do it again (wait for ok)??
And as i get i light the led in my experience.
Ok, fine, so the first part seems to be working...

IT:
HSERIN 5000,IT,[WAIT("OK")] ' from here stops and dont go to IT: ,
success:High PortD.2

Yes that is what i think sow why das it dont goto to the next line success:High PortD.2
or go back to IT (the code stops here)
It probably is STOPPING RIGHT THERE! It's just looping around timing out. BUT...YOU have no way to tell what it's doing, because you have absolutely no 'indicator' there to blip and LED, make a sound or anything.

It responds:
+CPMS: 1,15,1,15,1,15
'one line space down
OK
And one line space down...hmmm...would that be a 13,10 or a 13,10,10?

It responds:
+CMGR: 1,,23
0791539126010000240C915391663921010000807070819341 400453FA1B0E
'one line space down
OK
Same thing...