WAP Bookmark on N6230

WAP Bookmark on N6230 SearchSearch
Author Message
didster
New member
Username: Didster

Post Number: 5
Registered: 02-2005
Posted on Friday, July 22, 2005 - 02:12 pm:   

Hi All,

I am trying to send a wap bookmark to the Nokia 6230 phone, and I can't get it to work. This is both with NowSMS's web interface, and manually via XML.

It must be possable, since it's done at: http://setup.orange.co.uk/myPhone/bookmark/ and it works.

When I faced this problem before (using a Symbian handset) I solved it by reverse engineering the WBXML sent from a site, and using that XML.

I would like to do that again, using NowSMS, as I have 30ish handsets to get working with WAP bookmarks, and I can see this isn't the only one which is going to cause trouble.

When I send the message from Orange to A GPRS modem, I get this from NowSMS:

13:45:14:554 [2] ModemReceiveMessages: Decoding received message index 7 from m
essage storage ME
13:45:14:554 [2] ModemReceiveMessages: 079144973701903704038147F138005070223144
35400120
13:45:14:554 [2] ModemReceiveMessages: SMSC address len = 7
13:45:14:554 [2] ModemReceiveMessages: SMSC Address = +447973100973
13:45:14:554 [2] ModemReceiveMessages: SMS Message Type = SMS-DELIVER
13:45:14:554 [2] ModemReceiveMessages: Sender address len = 3
13:45:14:554 [2] ModemReceiveMessages: Sender Address = 741
13:45:14:554 [2] ModemReceiveMessages: PID = 38
13:45:14:554 [2] ModemReceiveMessages: DCS = 00
13:45:14:554 [2] ModemReceiveMessages: Anticipated user data length = 1
13:45:14:554 [2] ModemReceiveMessages: Message =
13:45:14:554 [2] ModemReceiveMessages: AT+CMGD=7

13:45:14:648 [3] ThreadProcessInboundSMS: Processing 42E0E9BE.in...
13:45:14:992 [2] ModemReceiveMessages:
OK

Is there anyway to extract the WBXML from "079144973701903704038147F138005070223144"?

Thanks

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4698
Registered: 10-2002
Posted on Thursday, July 28, 2005 - 10:06 pm:   

Well, unfortunately there's no WBXML in your example ... you're basically getting a blank message.

You're actually receiving a message that simply consists of a space character. That's the only data in it.

You might want to try another modem, or try configuring "SMS Message Storage" to be "Direct to Modem" to see if that makes a difference.

What type of GSM/GPRS modem is this? If you send a normal WAP Push to it, do you see the WAP Push data coming in, or is it also blank?

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4699
Registered: 10-2002
Posted on Thursday, July 28, 2005 - 10:41 pm:   

P.S. - I haven't had much luck over the years sending these OTA bookmarks to SonyEricsson phones (only the P800/P9x0, if I recall correctly).

On SonyEricsson phones, to send a bookmark, you generally send a text message with only the URL in the text, and then you get an option to save as a bookmark.
didster
New member
Username: Didster

Post Number: 6
Registered: 02-2005
Posted on Friday, July 29, 2005 - 12:15 am:   

Thanks for the response Bryce,

I did think it looked too short. Its a SonyEricsson modem, G something... I will check tomorrow at work.

The bookmark thing is a pain, seems to me the "real" bookmarks only work well on Nokia's, everything else it's best to do the plain text approach.

I am having another problem now. If I use the web interface to send a WAP bookmark (on the WAP OTA bookmark page), it's fine (this is to a 6230i, I think we are going to drop the 6230, it's too problamatic...).

However, if I use the SendXML doc page, to send this:

<CHARACTERISTIC-LIST>
<CHARACTERISTIC TYPE="BOOKMARK">
<PARM NAME="NAME" VALUE="yahoo"/>
<PARM NAME="URL" VALUE="http://wap.yahoo.com"/>
</CHARACTERISTIC>
</CHARACTERISTIC-LIST>

Nothing.... Any ideas what could be causing that? I prefer this method since I build up a XML doc which can contain mupliple <CHARACTERISTIC> tags (APN, bookmark etc) in PHP based on the user selections, and it's easer just to bolt the bookmark bit on the end if they select it and send it all as one.

BTW, could you please explain if possiable the quickest way to go about decoding the UDH/Data shown in NowSMS's logs back to text/WBXML? It would be very useful for me to know, and save me posting up here all the time :-)

Thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4719
Registered: 10-2002
Posted on Friday, July 29, 2005 - 05:40 pm:   

I tried the same thing yesterday, when I was doing some testing (sending a bookmark as XML).

I found that when I posted this XML in the "Send XML" page, and sent it to a SonyEricsson, the SonyEricsson would indicate that "New Settings" were received, and ask if I wanted to install them. (Of course, the settings were blank.)

The issue is that for the "Send XML Settings" function, we automatically determine the content type (and encoding) based upon the XML tags that are present.

These bookmarks use the same XML format as the old settings (e.g., <CHARACTER-LIST> as the root tag). So we are sending them out with the MIME type indicating that they are settings.

If you were doing your own post, you could include a variable of OTABOOKMARK=Yes, and this would trigger it to use the bookmark MIME type when sending out.

Unfortunately, it's difficult to add such an option to an existing form, because if the "OTABOOKMARK" variable is present at all (even with no value), then this triggers the bookmark MIME type to be used for a "<CHARACTERISTIC-LIST>" document.

If you're doing your own post from PHP ... however ... you can change your POST URL from:

http://a.b.c.d:nnnn/?PhoneNumber=xxxxxxxx&OTA=POST

to:

http://a.b.c.d:nnnn/?PhoneNumber=xxxxxxxx&OTABookmark=POST

-bn