Send ona ota settings moto slvr l6

Send ona ota settings moto slvr l6 SearchSearch
Author Message
Chris Pease
New member
Username: Celloneet

Post Number: 1
Registered: 08-2006
Posted on Tuesday, August 22, 2006 - 04:25 pm:   

Attmept to update wap apn fils. Browser message is received on handset "update is required". Press install and "update failed: contact sender" is displayed.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6407
Registered: 10-2002
Posted on Tuesday, August 22, 2006 - 06:51 pm:   

Hi Chris,

Did you include a USERPIN with the settings?

For security reasons, lots of newer phones will not accept settings without a USERPIN included (recipient needs to enter the same PIN as the message was signed with in order to open the message).

I see the same behaviour on a Motorola RAZR ...

-bn
Chris Pease
New member
Username: Celloneet

Post Number: 2
Registered: 08-2006
Posted on Tuesday, August 22, 2006 - 07:19 pm:   

I included the userpin 1234. Chose "install" entered the pin 1234 as requested. Message displayed is "Update Failed".
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6409
Registered: 10-2002
Posted on Tuesday, August 22, 2006 - 07:35 pm:   

Hi Chris,

I need to see the exact settings that you are trying to send.

Sometimes we find issues where particular devices do not like certain characters to be present in different fields ... or don't like certain combinations of settings.

If you cannot post the exact settings for security reasons, modify them slightly ... verify that the phone returns the same error when receiving the modified settings ... and post the modified settings that failed.

Also, please advise what version of NowSMS you are running.

One other potential gotcha to watch out for is that some devices will not allow you to update existing settings. So if you send settings with the same name as previously sent settings, they will be rejected. (Yes, this is very inconvenient, but in several cases, I have seen documents from manufacturers explaining that this was their design intention.)

-bn
Chris Pease
New member
Username: Celloneet

Post Number: 3
Registered: 08-2006
Posted on Tuesday, August 22, 2006 - 07:49 pm:   

I am using a unique name for the profile. Here are the settings:

- <wap-provisioningdoc>
- <characteristic type="BOOTSTRAP">
<parm name="NAME" value="celloneet wap1" />
</characteristic>
- <characteristic type="NAPDEF">
<parm name="NAME" value="celloneet wap1" />
<parm name="NAPID" value="celloneet_wap1_NAPID" />
<parm name="BEARER" value="GSM-GPRS" />
<parm name="NAP-ADDRESS" value="wap.celloneet.com" />
<parm name="NAP-ADDRTYPE" value="APN" />
<parm name="INTERNET" />
- <characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP" />
<parm name="AUTHNAME" value="user1@wap.celloneet.com" />
<parm name="AUTHSECRET" value="celloneet" />
</characteristic>
</characteristic>
- <characteristic type="APPLICATION">
<parm name="APPID" value="w2" />
<parm name="NAME" value="celloneet wap1" />
<parm name="TO-NAPID" value="celloneet_wap1_NAPID" />
- <characteristic type="RESOURCE">
<parm name="NAME" value="celloneet wap1" />
<parm name="URI" value="http://www.cell1wap.com" />
<parm name="STARTPAGE" />
</characteristic>
</characteristic>
- <characteristic type="APPLICATION">
<parm name="APPID" value="w4" />
<parm name="NAME" value="celloneet wap1" />
<parm name="TO-NAPID" value="celloneet_wap1_NAPID" />
<parm name="ADDR" value="http://mms.celloneet.com/servlets/mms" />
</characteristic>
</wap-provisioningdoc>
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6424
Registered: 10-2002
Posted on Thursday, August 24, 2006 - 07:40 pm:   

Hi Chris,

Apologies for the delay in response.

We have established that the problem is related to their not being a proxy server in your configuration settings.

If you add a proxy server to the configuration settings, they will be accepted properly.

We ran into a similar problem with SonyEricsson phones ... http://support.nowsms.com/discus/messages/485/16376.html.

There, we modified NowSMS so that if you put "(blank)" in as the proxy server address, we would send settings in a format that SonyEricsson would accept for connection settings without a proxy server defined.

When I used this updated version with the "(blank)" setting, the Motorola phone would accept the settings (instead of reporting an error). However, the settings were unusable. If I attempted to use them, I would get an error "Browser setup is incomplete".

I then did some testing by manually creating and editing profiles ... and it would appear to me that current Motorola phones cannot use connection settings that do not include a proxy server for the browser or MMS.

So I went back and did some experimentations ... and I managed to create a profile that would work.

To provision WAP or MMS settings on a Motorola phone without a proxy, you need to define a blank proxy server address, but you still must define a port number for the non-existant proxy. If you don't define this port number, then the phone will complain that the setup is incomplete!

This is more than a bit insane, of course. But I've gotten a bit used to this type of insanity.

So now comes the tough question ... how do we modify the NowSMS OTA templates to deal with this.

We're going to use an approach similar to what was defined for the similar issue with SonyEricsson phones in the other thread. If you put a value of (blank), literal text including the parentheses, as the "WAP Proxy IP Address", then NowSMS will generate settings that include a proxy with a blank name. For Motorola phones, in order for this blank proxy to work properly, you will need to define "WAP Proxy Port & Connection Type" as "Other", and specify a port value OTHER than one of the WAP ports (i.e., not 9200, 9201, 9202 or 9203), such as 8080.

Unfortunately, if you include a port number ... SonyEricsson phones won't like the settings.

So basically, if you want to send browser (WAP) or MMS settings to phones, you need to send different settings depending on the phone type.

For Nokia phones, don't define a proxy server at all.

For SonyEricsson phones, define a blank proxy server. In NowSMS versions 2006.07.13 and later, you can define "(blank)" (the parentheses are required, but not the quotes) as the proxy server address, and this will generate the necessary settings.

For Motorola phones, you must define a blank proxy server, just as with SonyEricsson phones ("(blank)" as the proxy server address), and you must also define a non-WAP port number for this blank proxy server, such as 8080. This requires NowSMS 2006.08.24 or later, as the proxy port value was previously ignored if the proxy server address was blank.

Sigh ... these phone manufacturers are enough to drive me to drink.

Here are your settings, modified to work on Motorola phones:

<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<parm name="NAME" value="celloneet wap1" />
<parm name="PROXY-ID" value="celloneet wap1_Proxy" />
</characteristic>
<characteristic type="NAPDEF">
<parm name="NAME" value="celloneet wap1" />
<parm name="NAPID" value="celloneet_wap1_NAPID" />
<parm name="BEARER" value="GSM-GPRS" />
<parm name="NAP-ADDRESS" value="wap.celloneet.com" />
<parm name="NAP-ADDRTYPE" value="APN" />
<parm name="INTERNET" />
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP" />
<parm name="AUTHNAME" value="user1@wap.celloneet.com" />
<parm name="AUTHSECRET" value="celloneet" />
</characteristic>
</characteristic>
<characteristic type="PXLOGICAL">
<parm name="NAME" value="celloneet wap1" />
<parm name="PROXY-ID" value="celloneet wap1_Proxy" />
<parm name="STARTPAGE" value="http://www.cell1wap.com" />
<characteristic type="PXPHYSICAL">
<parm name="PHYSICAL-PROXY-ID" value="celloneet wap1_PhProxy" />
<parm name="PXADDR" value="" />
<parm name="PXADDRTYPE" value="ALPHA" />
<parm name="TO-NAPID" value="celloneet_wap1_NAPID" />
<characteristic type="PORT">
<parm name="PORTNBR" value="8080" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="w2" />
<parm name="NAME" value="celloneet wap1" />
<parm name="TO-PROXY" value="celloneet wap1_Proxy" />
<characteristic type="RESOURCE">
<parm name="NAME" value="celloneet wap1" />
<parm name="URI" value="http://www.cell1wap.com" />
<parm name="STARTPAGE" />
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="w4" />
<parm name="NAME" value="celloneet wap1" />
<parm name="TO-PROXY" value="celloneet wap1_Proxy" />
<parm name="ADDR" value="http://mms.celloneet.com/servlets/mms" />
</characteristic>
</wap-provisioningdoc>

There is a NowSMS 2006 update that addresses these quirks (and implements support for the "(blank)" proxy server address) that can be downloaded at http://www.nowsms.com/download/20060824.zip. This support will be standard in NowSMS releases 2006.08.24 and later.

-bn