OMA SyncML Settings 6680 | Search |
NowSMS Support Forums ⬆ WAP Technical Discussions (unsupported) ⬆ Archive through March 07, 2006 ⬆ |
◄ ► |
Author | Message | |||
ToffaSyncR Unregistered guest |
Ok the story so far: I'm trying to send syncml settings to a Nokia 6680. I'm susing OMA Client Provisioning. I think I sort of got most of it figured out but still a few missing peieced could use some help from someone a bit smarter than me. To Start with I have got my XML: <wap-provisioningdoc version="1.0"> <characteristic type="APPLICATION"> <parm name="APPID" value="w5" /> <parm name="NAME" value="sync" /> <parm name="ADDR" value="http://www.sync.com/sync" /> <characteristic type="RESOURCE"> <parm name="URI" value="./contacts" /> <parm name="NAME" value="Contacts DB" /> <parm name="AACCEPT" value="text/x-vcard" /> </characteristic> <characteristic type="APAUTH"> <parm name="AAUTHNAME" value="username" /> <parm name="AAUTHSECRET" value="cHdk" /> </characteristic> </characteristic> </wap-provisioningdoc> I run that through a xml2wbxml convertor to get: 030B6A0045C60001550187360000060377350001 8707060373796E63000187000134000006036874 74703A2F2F7777772E73796E632E636F6D2F7379 6E630001C600015901873A000006032E2F636F6E 7461637473000187070603436F6E746163747320 444200018700012E00000603746578742F782D76 63617264000101C6500341504155544800018700 013100000603757365726E616D65000187000132 000006036348646B0001010101 I have a UDH 0B0504C34C00000003180201 0B = Length (11) * 05 = Set Port Addressing 04 = Length of Port Section * C34C = 49996 (SyncML settings port) * 0000 = Sorce Port 00 = ?? 03 = ?? 01 = Message ID * 02 - No. of messages (can split data over multiple sms messages) * 01 - current message part * I also have a WSP (Wireless Session Protocol) set at the beginning of my data. 0106034281EAxx 01 = Trasaction ID 06 = PDU Push Type 03 = Header Length * 42 = Contenet Type (application/x-prov.syncset+wbxml) * 81 = Character Set ?? EA = UTF-8 xx = my data encaded as wbxml the ones set with a * are the values you need to change specific to your own circumstances. the other values can be left as defaults i think. Now the problem is I still can't get it to work. This is just all I know so far. I can get the message to send through my sms gateway using HTTP Post to a Nokia 6680. The phone receives both parts of the maessage and recognises that it is a sync setting but when i try to accept the settings i get a general error message. I think since the phone get my message and recognises it as Sync Settings that my UDH is correct. I think the problem is with my WSP that I add to the beginning of my encoded wbxml. I'm not sure how this works and still researching it. any help here would be really handy. If i leave out the WSP then the phone never recieves the message so I really need to find out more about this. Thanks to everyone on the forum. |