No luck. Actually I declare variable message VAR BYTE
I tried to send back SMS for message\4
This is what I got when I send ABC earlier to this GSM module.
AB9
If I send ABCDEF and i use HSERIN 5000,ws,[WAIT("REC UNREAD"),skip 3,str telbr\12,skip 12,str TIME\6,skip 8,STR message\6]
I will get AB987
where 9 is from telbr[5], 8 is from telbr[6], 7 is from telbr[7]
Not sure why it wrap back to telbr for message.
Now it get more interesting if i declare variable as
message VAR BYTE[4]
If send ABC, I will get number from telbr[6], telbr[7], telbr[8] //(3 chars)




Bookmarks