MMS decoding problem. | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through November 21, 2009 ⬆ |
◄ ► |
Author | Message | |||
freesiaBS New member Username: Freesia Post Number: 1 Registered: 07-2009 |
Hi all I cannot decode below MMS TPDU. Can you help me to decode it? 00000000: 84 A3 01 42 0F 83 8E 6E - 6F 72 6D 61 6C 2E 74 78 00000010: 74 00 43 6F 6E 74 65 6E - 74 2D 49 44 00 3C 43 49 00000020: 44 31 3E 00 B0 68 74 74 - 70 3A 2F 2F 6F 72 69 67 00000030: 2E 68 6F 73 74 2F 6E 6F - 72 6D 61 6C 2E 74 78 74 00000040: 00 92 04 48 31 D4 FD 4E - 6F 72 6D 61 6C 20 50 72 00000050: 69 6F 72 69 74 79 84 -> content-type A3 -> multipart mixed 01 -> body part number 42 -> header length 0F -> data length 83 -> content-type text/plain 8E -> content-location 6E 6F 72 6D 61 6C 2E 74 78 74 -> normal.txt 00 43 6F 6E 74 65 6E 74 2D 49 44 00 3C 43 49 44 31 3E -> Content-ID <CID1> -> What is it means? 00 B0 -> What is it means? 68 74 74 70 3A 2F 2F 6F 72 69 67 2E 68 6F 73 74 2F 6E 6F - 72 6D 61 6C 2E 74 78 74 -> http://orig.host/normal.txt -> what is it means? 92 04 48 31 D4 FD -> what is it means? 4E 6F 72 6D 61 6C 20 50 72 69 6F 72 69 74 79 -> Normal Priority -> What is it means? I cannot find some documents for decoding information. Can you decode above TPDU? and let me know specification document for them? Thank you | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1086 Registered: 08-2008 |
It is very strange for the Content-ID header to be encoded this way. Normally the short header value of 0xC0 would be used instead of using text encoding. Content-ID is a standard MIME header. In this context of this PDU, it adds no value. However, if you were using "multipart/related", the "start=" parameter for the content-type header would point to a SMIL file by referencing its "Content-ID". 0xB0 is the "X-WAP-Content-URI" header. It is strange for that to be present in an MMS body part header. 0x92 is a "Date:" header. Again, it is strange for that to be present in an MMS body part header.
You are past the header at this point (header length = 0x42) ... that is the data content for this part. Overall, this is an odd encoding. The parts you do not understand are defined in the WAP WSP specification, as WAP multipart encoding is used for the body of an MMS message. Those headers you are asking about are standard WSP header encoding. -- Des NowSMS Support |