I am trying to understand the WAP Push Service Indication encoding/decoding
vs. the standard specifications.

The chore is really similar to solve a puzzle and now I am close to the
solution, but something is still missing.

Hereby you can find my decoding of SI sent by the Kannel bearer box using a
Wavecom modem.

Could you help me to fill the "???" fields, eventually quoting the
specification I should read?

Thank you very much for your valuable help.

________________________________________
Claudio Montanari
TAI S.r.l.
Viale Gramsci 12 - 56125 - Pisa
Via Pazzagli 2 - 50141 - Firenze
Tel: +39 050 503222
Fax. +39 050 24421
E-mail: [EMAIL PROTECTED]
http://www.tai.it



00
51                              UDHI and SUBMIT
00                              MR
0C                              Destination number length (12 digits)
91                              Destination number format (international)
xxxxxxxxxxxx                    Destination number (xxxxxxxxxxxx)
00                              Protocol ID
04                              Data Coding Schema (DCS 8-bit encoded)
A7                              Validity Period (24 h)
        7C                              User Data Length (124 bytes)
        06                              User Data Header Length (6 bytes)
        05                              UDH Item Element id (Port Numbers)
        04                              UDH IE length (4 bytes)
        0B84                            destination port number
        23F0                            origin port number
                01                              Transaction ID (Push ID)
                06                              PDU Type (Push PDU)
                15                              Header Length (21 bytes)
                AE                              Content Type=application/vnd.wap.sic 
(0x80 | 0x2E)
                96                              ???
                6C 6F 63 61 6C 68 6F 73 74 3A 38 30 38 30  localhost:8080
                00
                8D                              ???
                DD                              ???
                B4                              ???
                80                              ???
                02                              <Version number - WBXML version 1.2>
                05                              <SI 1.0 Public Identifier>
                6A                              <Charset=UTF-8 (MIBEnum 106)>
                00                              <String table length>
                        45                              <SI element start, with 
content 0x05 | 0x40>
                                C6                              <indication element 
start, with content and attributes 0x06 | 0x40
| 0x80>
                                0C                              http://
                                03                              (next is an ASCII 
string 00 terminated)
                                77 61 70 2E 74 61 69 2E 69 74   wap.tai.it
                                00
                                11                              <si-id=>
                                03                              (next is an ASCII 
string 00 terminated)
                                39 32 40 74 61 69 2E 69 74      [EMAIL PROTECTED]
                                00
                                08                              <action=signal-high>
                                0A                              <created=>
                                C3                              <OPAQUE data follows>
                                07                              <Length field (7 
bytes)>
                                19990625152315                  1999-06-25 15:23:15
                                10                              <si-expires=>
                                C3                              <OPAQUE data follows>
                                04                              <Length field (4 
bytes), final 0s are omitted>
                                20030630                        2003-06-30 00:00:00
                                01                              <indication element 
attributes end>
                                03                              (next is an ASCII 
string 00 terminated, the SI content)
                                56 75 6F 69 20 76 65 64 65 72 65 20 6C 65 20 4D 61 70 
70 65 3F  Vuoi
vedere le Mappe?
                                20 4F 70 7A 69 6F 6E 69 20 2D 20 53 63 61 72 69 63 61  
          Opzioni -
Scarica
                                00
                                01                              <indication element 
end>
                        01                              <SI element end>



Reply via email to