Decoding 'Content-Type' | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through March 23, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hi, I am trying to decode the following fragment of PDU. 84 1F 28 B3 89 61 70 70 6C 69 63 61 74 69 6F 6E 2F 73 6D 69 6C 00 8A 3C 70 72 65 73 65 6E 74 61 74 69 6F 6E 2D 70 61 72 74 3E 00 I understand the above PDU as under: 84 - Content-Type 1F - ???? 28 - Size in bytes B3 - application/vnd.wap.multipart.related 89 - Type 61 70 70 6C 69 63 61 74 69 6F 6E 2F 73 6D 69 6C 00 - application/smil 8A - Start 3C 70 72 65 73 65 6E 74 61 74 69 6F 6E 2D 70 61 72 74 3E 00 - <presentation-part> I don't know what '1F' stands for? Can anybody help me? Thanks in Advance. Regards, Kris | |||
Fabricio New member Username: Fabri Post Number: 3 Registered: 11-2003 |
You should check the link: http://www.wapforum.org/wina/wsp-content-type.htm The 1F stands for Image/tiff | |||
yanxh New member Username: Yanxh Post Number: 5 Registered: 11-2003 |
1F is Length Quote. please look here: http://support.nowsms.com/discus/messages/12/470.html | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1274 Registered: 10-2002 |
Actually 1F in this case is a "length-quote". See sections 8.4.1.2 and 8.4.2.2 of the WSP specification. When a "value-length" is larger than 30 (0x1E) bytes, the field is encoded with a length-quote followed by a uintvar with the actual length. | |||
Fabricio New member Username: Fabri Post Number: 5 Registered: 11-2003 |
You are completely right. Sorry for the bad information. | |||
pentagra Unregistered guest |
Hello ! 89 - Type 61 70 70 6C 69 63 61 74 69 6F 6E 2F 73 6D 69 6C 00 - application/smil 8A - Start 3C 70 72 65 73 65 6E 74 61 74 69 6F 6E 2D 70 61 72 74 3E 00 - <presentation-part> Could You please tell me, where described that 8a - Start, and 89 - Start Type ? I understood it from dumps, but can not find in specifications. | |||
yanxh New member Username: Yanxh Post Number: 19 Registered: 11-2003 |
8a is equal 0a|0x80 and 89 is equal to 09 | 80. please refer wap-230-wsp Table38 about Well-known parameter Assignments. |