| « Previous Thread | Next Thread » |
|
Hi,
I want to send a 8BIT message that contains text and a link. In order to make it, i send the parameters to one procedure, that one must contains the user header in hex format. I think that the udh is the result of the WBXML applied to the data to send. Which Xml structure I must parser in Wbxml? like this? <?xml version="1.0"?> <!DOCTYPE CHARACTERISTIC-LIST SYSTEM "/DTD/characteristic_list.xml"> <CHARACTERISTIC-LIST> <CHARACTERISTIC TYPE="ADDRESS"> <PARM NAME="BEARER" VALUE="GPRS?/> <PARM NAME="PROXY" VALUE="123.123.123.123?/> <PARM NAME="PORT" VALUE="9201?/> <PARM NAME="GPRS_ACCESSPOINTNAME" VALUE=" mmsc.nokianokianok.com "/> <PARM NAME="PPP_AUTHTYPE" VALUE="PAP" </CHARACTERISTIC> <CHARACTERISTIC TYPE="MMSURL"VALUE=" http://mmsc.com "/> <CHARACTERISTIC TYPE="NAME"> <PARM NAME="NAME" VALUE="MMS NOKIA GPRS"/> </CHARACTERISTIC> </CHARACTERISTIC-LIST> I have look EXAMPLE OF A WAP OTA SERVICE SETTINGS MESSAGE Document but it use Windows HyperTerminal. I have also look the faq but the arguments regard hex code such as 060504157F0000 how can get it? |
| elenabonetti |
| View Public Profile |
| Find all posts by elenabonetti |
|
Hello - from your message I get the idea that what you want to send is a Service Indication Push message (SI). This is different than sending Wap Settings or MMSC Settings. Check out e.g. the spex available at http://www1.wapforum.org/tech/terms.asp?doc=WAP-167-ServiceInd-20010731-a.pdf
This will show that the XML structure of the SI is more like the following: <?xml version="1.0"?> <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd"> <si> <indication href="http://mobile.club.nokia.com/" si-id="12345678" created="2003-03-11T13:48:27Z" action="signal-high"> Check out the Club Nokia Site. </indication> </si> Here is a WBXML version of the above SI, with necessary SMS headers added for sending to a number +XXXXX XXX XXXX. The message is sent to port 2948d, the port for PUSH messages. 0051000C91XXXXXXXXXXXX00F5A75F0605040B8400001B0601AE0205040045C60C036D6F62696C652E636C75622E6E6F6B6961008511033132333435363738000AC30720030311134827080103436865636B206F75742074686520436C7562204E6F6B696120536974652E000101 Broken down: 00-A7 -- see SmartMessaging FAQ on this site, question #8 5F -- length of userdata 0605040B840000 -- userdata header, destination port 2948 (0b84) -- see SmartMessaging FAQ The rest is the WBXML version of the SI. 1B = random number between 00 and FF 06 = Push PDU 01 = length of headers AE = application/vnd.wap.sic 02 = WML 1.2 05 = public ID: Service Indication 1.0 04 = charset iso-8859-1 00 = STRTABL length 45 = si w/content C6 = indication w/content and attr 0C = href starting w/ http:// .... I sent this message to myself using AT commands: at+cmgs=109 <<msg pasted here>> Ctrl-Z Worked beautifully. -paul/ForumNokia |
|
THANKS but ... how can I obtain the wbxml code from my SI Xml?
|
| elenabonetti |
| View Public Profile |
| Find all posts by elenabonetti |
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|