×

Discussion Board

Results 1 to 2 of 2

Thread: WAP bookmarks

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    WAP bookmarks

    Hi,

    I'm trying to send WAP bookmarks by SMS according to the Smart Messaging Specification 3.0.0 but haven't had much luck. I'm able to send ringtones, logos and CLI icons by setting the UDH and hex encoding the data but am having problems when using the same approach with bookmarks. Am I missing something?

    The UDH I'm using is

    060504157F0000

    and the bookmark data is

    Hname:TestBookmark
    Hurl:www.test.com

    which I'm hex encoding to

    486E616D653A54657374426F6F6B6D61726B0D0A4875726C3A7777772E746573742E636F6D

    Some phones don't register the smart message whilst others receive the message but say that it can't be displayed. I know that a correctly configured bookmark SMS will cause the phone to display "Bookmark received".

    Thanks in advance for your assistance.

    Yao Tsan Ng

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Tampere / Finland
    Posts
    1,839

    RE: WAP bookmarks

    Hello!

    Try this one:

    USER DATA LENGTH : 107 octets
    UDH LENGTH : 6
    UDH : 05 04 C3 4F 00 00
    UDH ELEMENTS : 05 APPL. PORT ADDRESSING 16BIT
    04 BYTES INFORMATION ELEMENT
    0000 0 SOURCE PORT
    <- allocated by IANA
    C34F 49999 DESTINATION PORT
    -> OTA browser config


    01 06 2D 1F 2B 61 70 70 6C 69 63
    61 74 69 6F 6E 2F 78 2D 77 61 70
    2D 70 72 6F 76 2E 62 72 6F 77 73
    65 72 2D 62 6F 6F 6B 6D 61 72 6B
    73 00 81 EA 00 01 00 45 C6 7F 01
    87 15 11 03 54 65 73 74 42 6F 6F
    6B 6D 61 72 6B 00 01 87 17 11 03
    68 74 74 70 3A 2F 2F 77 77 77 2E
    74 65 73 74 2E 63 6F 6D 00 01 01

    So the whole message should look like this:
    0051000C9153484514000000F5AA6B060504C34F000001062D1F2B6170706C69636174696F6E2F78
    2D7761702D70726F762E62726F777365722D626F6F6B6D61726B730081EA00010045C67F01871511
    0354657374426F6F6B6D61726B000187171103687474703A2F2F7777772E746573742E636F6D0001
    0101

    Teemu / Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×