How to send SMS by GSM modem in PDU mode? -
i want send smss in pdu mode. have checked spec modem, , supports pdu mode.
i have developed pdu encoder , decoder, not know how send data modem. tried these @ commands:
at at+cmgf=0
after sending these commands sent pdu data this:
at+cmgw="16079189390500410011000c918939050000000000aa02e834"
i have checked correctness of pdu using online tool :
http://www.twit88.com/home/utility/sms-pdu-encode-decode
but after sending via @ command, modem hangs.
is right way send sms pdus? searched on google , can not find useful information.
first of all, send sms when modem in pdu mode, must send these commands: at+cmgs=<length> <cr>, length (length of pdu binary string - 2) / 2. when '>' symbol appears must send pdu , ctrl+z character (char.convertfromutf32(26)).
here resources may useful: http://www.developershome.com/sms/ sms tutorial http://www.diafaan.com/sms-tutorials/gsm-modem-tutorial/online-sms-deliver-pdu-decoder/ online pdu decoder (but link better in opinion) http://www.fccps.cz/img.asp?attid=24590 @ commands guide (for wavecom, there no difference)
last advice - use telnet client connect , test modem , see how responds
Comments
Post a Comment