Re: Third millennium puzzle: WAP Push decoding

2002-11-01 Thread Aarno Syvänen

On Thursday, October 24, 2002, at 01:31 PM, Claudio Montanari wrote:


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 Default SMSC
51UDHI and SUBMIT
00MR
0CDestination number length (12 digits)
91Destination number format (international)
			Destination number ()
00Protocol ID
04Data Coding Schema (DCS 8-bit encoded)
A7Validity Period (24 h)
	7CUser Data Length (124 bytes)
	06User Data Header Length (6 bytes)
	05UDH Item Element id (Port Numbers)
	04UDH IE length (4 bytes)
	0B84destination port number
	23F0origin port number
		01Transaction ID (Push ID)
		06PDU Type (Push PDU)
		15Header Length (21 bytes)
		AEContent Type=application/vnd.wap.sic (0x80 | 0x2E)
		96Host, WAP - 230, Appendix A, table 39 (wsp)
		6C 6F 63 61 6C 68 6F 73 74 3A 38 30 38 30  localhost:8080
		00 End of the text string (wsp, 
chapter 8.4.2.29  chapter
 8.4.2.1)
		8DContent-Length (wsp, table 39)
		DDin hex, 221 bytes (wsp, chapter 8.4.2.20  chapter
   
  8.4.2.1)
		B4Push-Flag (wsp, table 39)
		80no flags set (wsp, chapter 8.4.2.59  chapter
   
8.4.2.1; SPEC-PushOTA-19991108.
   
chapter 9.1.3)
		02Version number - WBXML version 1.2
		05SI 1.0 Public Identifier
		6ACharset=UTF-8 (MIBEnum 106)
		00String table length
			45SI element start, with content 0x05 | 0x40
C6indication 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
11si-id=
03  (next is an ASCII string 00 
terminated)
39 32 40 74 61 69 2E 69 74  [EMAIL PROTECTED]
00
08action=signal-high
0Acreated=
C3OPAQUE data follows
07Length field (7 bytes)
19990625152315	1999-06-25 15:23:15
10si-expires=
C3OPAQUE data follows
04Length field (4 bytes), final 0s are omitted
20030630  	2003-06-30 00:00:00
01indication 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
01indication element end
			01SI element end








Third millennium puzzle: WAP Push decoding

2002-10-24 Thread Claudio Montanari
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)
Destination number ()
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)
0B84destination port number
23F0origin 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
200306302003-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