Attached are some diffs to implement OMA-style sending of OTA settings. Refer to OMA-WAP-ProvCont-v1_1-20021112-C (at http://www.openmobilealliance.org/tech/docs/) for details on how this works.

The changes include all (most) the HMAC computation stuff required for authentication. What I've done is modified the ota_compiler.c and ota_prov.c files to detect oma-style settings and build the WBXML file differently.

I've checked its output against samples provided in the docs and against samples provided by SonyEricsson, Nokia & Motorola. Looks ok. Alas my phone seems to be having issues so I haven't received anything there yet. If someone out there can test and confirm, then we have a new addition to kannel!


Thanks.

P.


Attachment: ota.diff
Description: Binary data



-----------------------------
Paul A. Bagyenda
Digital Solutions
P.O.Box 23833
58 Bukoto Str.
Kampala, UGANDA

Tel: +256-31-262117
Mob: +256-77-507743
Email: [EMAIL PROTECTED]
Web: http://www.dsmagic.com
-----------------------------

Reply via email to