In the console can send and sms message by typing:
sendsms “15551231234,gsm,0” “Test Message”
and it sends (I used my real phone number). But when I send a text message back I never get the ONSMS event to “goto Hsms”. I am using the sample program.
InitSection:
ONSMS “Goto Hsms”
END
Hsms:
a% = getsys prg,“SmsRead”
IF (a%<>0) then s% = s%+1
print "SMS Nr: ";s%
f$ = getsys prg,“smsfrom”
print "From: ";f$
print getsys prg,“smsdate”
a$ = getsys prg,“smsmsg”
print “Message: “;a$
b$ = f$+”,gsm,0”
c$ = "Received message: "+a$
sendsms b$,c$
goto HSms
ENDIF
END
Any Idea as to why it is not triggering the ONSMS