OTA settings

OTA settings SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 08, 2009 » OTA settings « Previous || Next »
Author Message
Robin Cain
New member
Username: Robin_c

Post Number: 1
Registered: 03-2009
Posted on Friday, March 13, 2009 - 09:26 pm:   

Hi everyone.

I'm trying to get OTA settings to work so that we can get rid of a third party we use.

I'm having a little problem with trying to get the OTA to send bookmarks through.

Here is the OTA file I am using:

<?xml version="1.0"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN"
"http://www.wapforum.org/DTD/prov.dtd">


<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<parm name="NAME" value="Postpay WEB"/>
</characteristic>

<characteristic type="NAPDEF">
<parm name="NAME" value="Postpay WEB"/>
<parm name="NAPID" value="Postpay_WEB"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAP-ADDRESS" value="web.manxpronto.net"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP"/>
<parm name="AUTHNAME" value="gprs"/>
<parm name="AUTHSECRET" value="gprs"/>
</characteristic>
</characteristic>

<characteristic type="APPLICATION">
<parm name="APPID" value="w2"/>
<parm name="TO-NAPID" value="Postpay_WEB"/>
<parm name="NAME" value="Postpay WEB"/>
<characteristic type="RESOURCE">
<parm name="URI" value="http://new.bbc.co.uk/mobile"/>
<parm name="STARTPAGE"/>
</characteristic>
</characteristic>

<CHARACTERISTIC-LIST>
<CHARACTERISTIC TYPE="BOOKMARK">
<PARM NAME="NAME" VALUE="Manxnet" />
<PARM NAME="URL" VALUE="http://www.manx.net" />
</CHARACTERISTIC>
</CHARACTERISTIC-LIST>

</wap-provisioningdoc>




Can anybody help?

Also, does anyone know what else I can send to the handset via OTA?

Cheers


Robin
Robin Cain
New member
Username: Robin_c

Post Number: 2
Registered: 03-2009
Posted on Friday, March 13, 2009 - 09:27 pm:   

Sorry, forgot to add that I receive the APN settings okay, it is just the bookmark I don't appear to receive.

Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 595
Registered: 08-2008
Posted on Monday, March 16, 2009 - 08:40 pm:   

Hi Robin,

This looks like a mix of old and new OTA formats.

Remove the bookmark section that you've added, then try editing the section where you're defining the home page, and try this instead:

<characteristic type="APPLICATION">
<parm name="APPID" value="w2"/>
<parm name="TO-NAPID" value="Postpay_WEB"/>
<parm name="NAME" value="Postpay WEB"/>
<characteristic type="RESOURCE">
<parm name="URI" value="http://new.bbc.co.uk/mobile"/>
<parm name="STARTPAGE"/>
</characteristic>
<characteristic type="RESOURCE">
<parm name="NAME" value="Manxnet"/>
<parm name="URI" value="http://www.manx.net"/>
</characteristic>
</characteristic>

I have not tried this, but this is the way that it should work, as an additional "RESOURCE" type characteristic in the "W2" application.

--
Des
NowSMS Support
Robin Cain
New member
Username: Robin_c

Post Number: 3
Registered: 03-2009
Posted on Tuesday, March 17, 2009 - 10:12 am:   

Des

I can get it to accept it now, and I get a configuration SMS. However it just says save, it doesn't say what kind of settings they are. When I save it, it doesn't appear to populate the handset.

Thanks


Robin
Robin Cain
New member
Username: Robin_c

Post Number: 4
Registered: 03-2009
Posted on Tuesday, March 17, 2009 - 10:16 am:   

....When previously it says what kind of settings they are and the title of them, if that makes sense?

Cheers

Robin
Robin Cain
New member
Username: Robin_c

Post Number: 5
Registered: 03-2009
Posted on Tuesday, March 17, 2009 - 10:25 am:   

This appears to work but would really like the function to add bookmarks.


<?xml version="1.0"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN"
"http://www.wapforum.org/DTD/prov.dtd">


<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<parm name="NAME" value="Mobile data"/>
</characteristic>

<characteristic type="NAPDEF">
<parm name="NAPID" value="MobileData"/>
<parm name="NAME" value="Mobile Data"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAP-ADDRESS" value="mobiledata"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP"/>
<parm name="AUTHNAME" value="gprs"/>
<parm name="AUTHSECRET" value="gprs"/>
</characteristic>
</characteristic>

<characteristic type="APPLICATION">
<parm name="APPID" value="w2"/>
<parm name="NAME" value="Mobile Data"/>
<parm name="TO-NAPID" value="MobileData"/>
<characteristic type="RESOURCE">
<parm name="URI" value="news.bbc.co.uk/mobile"/>
<parm name="STARTPAGE"/>
</characteristic>
</characteristic>

</wap-provisioningdoc>
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 597
Registered: 08-2008
Posted on Tuesday, March 17, 2009 - 12:26 pm:   

Robin,

Did you try the complete example? Instead of telling you to remove one section and replace another, I should have just posted it in its entirety:

<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<parm name="NAME" value="Postpay WEB"/>
</characteristic>

<characteristic type="NAPDEF">
<parm name="NAME" value="Postpay WEB"/>
<parm name="NAPID" value="Postpay_WEB"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAP-ADDRESS" value="web.manxpronto.net"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP"/>
<parm name="AUTHNAME" value="gprs"/>
<parm name="AUTHSECRET" value="gprs"/>
</characteristic>
</characteristic>

<characteristic type="APPLICATION">
<parm name="APPID" value="w2"/>
<parm name="TO-NAPID" value="Postpay_WEB"/>
<parm name="NAME" value="Postpay WEB"/>
<characteristic type="RESOURCE">
<parm name="URI" value="http://new.bbc.co.uk/mobile"/>
<parm name="STARTPAGE"/>
</characteristic>
<characteristic type="RESOURCE">
<parm name="NAME" value="Manxnet"/>
<parm name="URI" value="http://www.manx.net"/>
</characteristic>

</characteristic>

</wap-provisioningdoc>


I bolded the section where I inserted the additional bookmark.

I tried real quick right now with a SonyEricsson phone, and it seemed to work correctly.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 598
Registered: 08-2008
Posted on Tuesday, March 17, 2009 - 12:43 pm:   

Hi Robin,

Here's another example ... this one only adds a bookmark, but does not change other configuration settings.

<wap-provisioningdoc>

<characteristic type="APPLICATION">
<parm name="APPID" value="w2"/>
<characteristic type="RESOURCE">
<parm name="NAME" value="NowSMS"/>
<parm name="URI" value="http://www.nowsms.com"/>
</characteristic>

</characteristic>

</wap-provisioningdoc>

Again, I bolded the bookmark section ... if you wanted to add multiple bookmarks, you could repeat this section.

--
Des
NowSMS Support
Robin Cain
New member
Username: Robin_c

Post Number: 6
Registered: 03-2009
Posted on Monday, March 23, 2009 - 04:54 pm:   

Hi Des

I just tried your bookmark example and I can receive it on a Nokia and save it, but it doesn't appear to add it as a bookmark.

Any suggestions?

Thanks


Robin
Robin Cain
New member
Username: Robin_c

Post Number: 7
Registered: 03-2009
Posted on Monday, March 23, 2009 - 05:57 pm:   

Sorry, I tell a lie. I can now get it to receive on my Nokia. However it doesn't want to work on other kinds of Nokia or a SE.

Do you know if there is a "one OTA file fits all" option?

Thanks


Robin
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 630
Registered: 08-2008
Posted on Monday, March 23, 2009 - 07:32 pm:   

Unfortunately, when you are doing something unusual...there seem to be many quirks in different phone models. The manufacturers don't seem to test all scenarios, just the basics.

What's interesting is that I tried the files with a SonyEricsson model, but I didn't have a chance to try multiple models.

Unfortunately I'm off site this week and don't havemany devices
To test with. You might want to visit www.forum.nokia.com and developer.sonyericsson.com and download any docs they have on OMA provisioning, they may have some examples that will help.

Topics Topics Search Last 30 Days Login Login / Register Logout Logout