If you mean the syntax then yes, I don't see any problem, except the 13 on the last. Just remove it.
Ioannis
Why not store the messagge in the sim memory card and send with the command "AT+CMSS=n",Cr
Regards
Hi,
@ Ioannis tanks i will try later.
Can you please explain me beter your idea? it will go like this? : Hserout ["AT+CMSS=n", 13]
n- is posicion number in sim storege?
no need off [26] Ctrl+z command?
My code
Hserout ["at", 13]
Hserout ["at+cmgs=16", 13]
Hserout ["079153912601000011000c915391663921010000aa02ef35" , 26]
I have connect to hterminal and this is what the pic is sending:
ATAT+CMGS=
16079153912601000011000C915391663921010000AA02EF3
It miss a 5 on the end , and 16 is not on the AT+CMGS=16
Can you hellp me people?
Thanks,
Last edited by camolas; - 4th July 2008 at 17:10.
Here a snip that send a sms from position 1, then wait for ok.
SerOut2 TX,TTMode,["AT+CMSS=1",Cr] ’invia sms presente in posizione 1
gosub Poll_Ok ’sms inviato ?
Search with google "allarme SMS per siemens e pic12f675"
You should found a my program that uses a siemens C35 and send the message stored in pos.1 from sim card. I do not know if it works with C55.
Regards
Gianni
Hi,
Now is working im very happy)
code line:
HSEROUT ["AT+CMGS=16",13,10]
PAUSE 500
HSEROUT ["079153912601000011000C915391663921010000AA02EF35" ,26,10]
HSEROUT [13]
A good utility to macke sms pdu-encode-decode
http://twit88.com/home/utility/sms-pdu-encode-decode
Thanks to the ones that hellp me
By by
Bookmarks