OTA support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

OTA support

Nauman Mazhar
Hi,

I am sending EMAIL and APN settings to SE K800 using Kannel
(.../cgi-bin/sendota/...). Settings are sent but device is ignoring the
settings. The sent XML settings are correct and works with my XML to WBXML
decoder and SMS gateway(SMPP). But when I send the XML via Kannel, it does
not work.

Settings:

<?xml version="1.0" encoding="UTF-8"?>
<wap-provisioningdoc version="1.1">
<characteristic type="NAPDEF">
<parm name="NAPID" value="Vodafone"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAME" value="Vodafone"/>
<parm name="NAP-ADDRESS" value="web.vodafone.de"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<parm name="DNS-ADDR" value="139.7.30.125"/>
<parm name="DNS-ADDR" value="139.7.30.126"/>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="143"/>
<parm name="PROVIDER-ID" value="[hidden email]"/>
<parm name="TO-NAPID" value="Vodafone"/>
<characteristic type="APPADDR">
<parm name="ADDR" value="www.test.biz"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="50001"/>
<parm name="SERVICE" value=""/>
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="[hidden email]"/>
<parm name="AAUTHSECRET" value="abcde"/>
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="25"/>
<parm name="NAME" value="[hidden email]"/>
<parm name="PROVIDER-ID" value="[hidden email]"/>
<parm name="FROM" value="[hidden email]"/>
<parm name="TO-NAPID" value="Vodafone"/>
<characteristic type="APPADDR">
<parm name="ADDR" value="www.test.biz"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="5000"/>
<parm name="SERVICE" value=""/>
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="[hidden email]"/>
<parm name="AAUTHSECRET" value="abcde"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

I see the following in the log:


2008-12-24 16:56:35 [23122] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendota> from <10.223.202.35>
2008-12-24 16:56:35 [23122] [3] INFO: sendsms used by <test>
2008-12-24 16:56:35 [23122] [3] DEBUG: OTA service with XML document
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'version' in OTA source, with value '1.1'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'NAPDEF'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPLICATION'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPADDR'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'PORT'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPAUTH'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPLICATION'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPADDR'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'PORT'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPAUTH'.
2008-12-24 16:56:35 [23122] [3] DEBUG: Octet string at 0x92e2428:
2008-12-24 16:56:35 [23122] [3] DEBUG:   len:  720
2008-12-24 16:56:35 [23122] [3] DEBUG:   size: 1024
2008-12-24 16:56:35 [23122] [3] DEBUG:   immutable: 0


I feel that OTA compiler warnings have to do with the failure.

Kindly advise.

Cheers.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OTA support

dyuha85
This post has NOT been accepted by the mailing list yet.
Hi.

  Could you please guide me how to send OTA settings to handset.
-I have no idea where should i put my wap_set.wbxml.
-What shall i put in URL after "&text=????"

I receive following error and i dont know to solve it:

Erroneous ota source, cannot compile

Thanks.
Loading...