"Remon Magdy" <[EMAIL PROTECTED]> writes:

>
> the XML document is
>
> <wap-provisioningdoc>
[...]
> </wap-provisioningdoc>
>

I guess kannel isn't identifying your xml as a valid oma setting,
applies the default xml compiler and sends gibberish to the N70. 

My working samples and the ones included in the oma spec begin with
the xml and doctype declaration tags:

<?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">
[...]

I did some testing with your xml. With xml and Doctype tags the
settings are received and identified, without them i receive just a
notification of invalid settings. (nokia 6020)

>
> Also if someone can tell me how can i send OMA Settings as a binary message
> using the normal sendsms API it will be very helpful.
>

You can have a look at kannel sources. gw/ota_prov.c can provide some
insight on the udh data and extra binary headers you must append to
your binary payload.

Good luck


-- 
Adrian Silva Franco
Visualtis - Desarrollo de sistemas.
Cl Saavedra Fajardo, 5 -entlo.5
30001 Murcia
Tlf +34 968 900 248
Fax +34 968 900 490
mailto:[EMAIL PROTECTED]
http://www.visualtis.com

Reply via email to