Hi everyone, I have been trying to use Kannel to send OMA cp (syncML ota configuration) to mobiles (tested with nokia 6230i). I have been using kannel connected with SMPP to another program, which relays the messages. See xml example of what I sent below.
I have managed to send short messages (for example, by dropping the characteristic type="APPLICATION" section, making the transaction short enough for 1 sms). These messages seem to work ok, but their format doesn't seem right: it seems to be missing the MAC and it seems to have a wrong DCS. When I tried to send the complete, long message, The message got to my device, but there was an error reading it. Going over the logs, it seems that again the message wasn't formated right, but also that it was too short: only one message was sent whereas I was expecting 3. I have searched through the forum and have seen that some people have encountered at least some of these problems. Has anyone been able to solve this? Am I missing something in the documentation, or is this a problem with kannel? Thanks, Roy More info below: XML: <?xml version="1.0"?> <!DOCTYPE WAP-PROVISIONINGDOC PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN" "http://www.wapforum.org/DTD/prov.dtd"> <wap-provisioningdoc version="1.0"> <characteristic type="BOOTSTRAP"> <parm name="NAME" value="TestSync"/> </characteristic> <characteristic type="NAPDEF"> <parm name="NAME" value="TestSync"/> <parm name="NAPID" value="TestSync_NAPID"/> <parm name="BEARER" value="GSM-GPRS"/> <parm name="NAP-ADDRESS" value="internetg"/> <parm name="NAP-ADDRTYPE" value="APN"/> <parm name="INTERNET"/> </characteristic> <characteristic type="APPLICATION"> <parm name="APPID" value="w5"/> <parm name="TO-NAPID" value="TestSync_NAPID"/> <parm name="NAME" value="TestSync"/> <parm name="ADDR" value="http://some.server.com"/> <characteristic type="RESOURCE"> <parm name="URI" value="card"/> <parm name="NAME" value="Contacts DB"/> <parm name="AACCEPT" value="text/x-vcard"/> </characteristic> <characteristic type="APPAUTH"> <parm name="AAUTHNAME" value="user"/> <parm name="AAUTHSECRET" value="pass"/> </characteristic> </characteristic> </wap-provisioningdoc> The http get: http://server:port/cgi-bin/sendota?&username=abcd&password=efgh&to=MyNumber&text=%3C%3Fxml+version%3D%221.0%22%3F%3E%0D%0A%3C%21DOCTYPE+WAP-PROVISIONINGDOC+PUBLIC+%22-%2F%2FWAPFORUM%2F%2FDTD+PROV+1.0%2F%2FEN%22%0D%0A%22http%3A%2F%2Fwww.wapforum.org%2FDTD%2Fprov.dtd%22%3E%0D%0A%3Cwap-provisioningdoc+version%3D%221.0%22%3E%0D%0A%0D%0A%3Ccharacteristic+type%3D%22BOOTSTRAP%22%3E%0D%0A%0D%0A%09%3Cparm+name%3D%22NAME%22+value%3D%22TestSync%22%2F%3E%0D%0A%0D%0A%3C%2Fcharacteristic%3E%0D%0A%0D%0A%3Ccharacteristic+type%3D%22NAPDEF%22%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22NAME%22+value%3D%22TestSync%22%2F%3E%0D%0A%0D%0A%3Cparm+name%3D%22NAPID%22+value%3D%22TestSync_NAPID%22%2F%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-GPRS%22%2F%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22internetg%22%2F%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22%2F%3E%0D%0A%0D%0A%09%3Cparm+name%3D%22INTERNET%22%2F%3E%0D%0A%0D%0A%3C%2Fcharacteristic%3E%0D%0A%0D%0A%3Ccharacteristic+type%3D%22APPLICATION%22%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22APPID%22+value%3D%22w5%22%2F%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22TO-NAPID%22+value%3D%22TestSync_NAPID%22%2F%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22NAME%22+value%3D%22TestSync%22%2F%3E%0D%0A%09%0D%0A%3Cparm+name%3D%22ADDR%22+value%3D%22http%3A%2F%2Fsome.server.com%22%2F%3E%0D%0A%09%0D%0A%3Ccharacteristic+type%3D%22RESOURCE%22%3E%0D%0A%09%09%0D%0A%3Cparm+name%3D%22URI%22+value%3D%22card%22%2F%3E%0D%0A%09%09%0D%0A%3Cparm+name%3D%22NAME%22+value%3D%22Contacts+DB%22%2F%3E%0D%0A%09%09%0D%0A%3Cparm+name%3D%22AACCEPT%22+value%3D%22text%2Fx-vcard%22%2F%3E%0D%0A%09%0D%0A%3C%2Fcharacteristic%3E%0D%0A%0D%0A%09%3Ccharacteristic+type%3D%22APPAUTH%22%3E%0D%0A%0D%0A%09%09%3Cparm+name%3D%22AAUTHNAME%22+value%3D%22user%22%2F%3E%0D%0A%0D%0A%09%09%3Cparm+name%3D%22AAUTHSECRET%22+value%3D%22pass%22%2F%3E%0D%0A%0D%0A%09%3C%2Fcharacteristic%3E%0D%0A%0D%0A%3C%2Fcharacteristic%3E%0D%0A%0D%0A%3C%2Fwap-provisioningdoc%3E%0D%0A&sec=userpinmac&pin=1234&type=oma-settings I have also tried sec=userpin, with similar results The message content, as received by the next part of the chain: Data:0106071F2DB691839200030B6A00C54601C65601870706035465737453796E63000101C65501870706035465737453796E630001871106035465737453796E635F4E415049440001871006AB0187080603696E7465726E6574670001870906890187140101C60001550187360603773500018700002206035465737453796E635F4E415049 UDH:0605040B840B84 pid:00 dcs:04 -- View this message in context: http://www.nabble.com/Seveal-OMA-cp---remote-configuration-related-issues-tp15119339p15119339.html Sent from the Kannel - User mailing list archive at Nabble.com.
