Hi all,

hopefully someone can point me in the right direction. I'm trying to get a grip on MMS and I'm kinda lost on the encoding. As an example, I configured my t68i to use my own webserver as it's message center so the M-Send.req issued by my phone ends up in my script. I'm just dumping the POST data to a file to decode it (by hand for now :)), and it's not making sense when I look at the WAP specs ;(

I'm looking at WAP-209-MMSEncapsulation-20020105-a.pdf and my hex dump. As an example, I'm looking for the 'Message-Type' field (0x0c according to section 7.3) which should be equal to 'm-send-req' (0x80, according to section 7.2.14.). I would expect to find a sequence of 0x0c 0x80 but it's not there.

What am I missing? Is there (yet) another encoding going on that I'm forgetting about?

Here's the start of my hex dump:

[MMS]0x8c       140     ?
[MMS]0x80       128     ?
[MMS]0x98       152     ?
[MMS]0x31       49      1
[MMS]0x2d       45      -
[MMS]0x66       102     f
[MMS]0x35       53      5
[MMS]0x36       54      6
[MMS]0x36       54      6
[MMS]00 0
[MMS]0x8d       141     ?
[MMS]0x90       144     ?
[MMS]0x85       133     ?
[MMS]0x04       4
[MMS]0x3e       62      >
[MMS]0x88       136     ?
[MMS]0xaa       170     �
[MMS]0xf9       249     ?
[MMS]0x89       137     ?
[MMS]0x01       1
[MMS]0x81       129     ?
[MMS]0x97       151     ?
[MMS]0x30       48      0
[MMS]0x36       54      6
[MMS]0x35       53      5
[MMS]0x31       49      1
[MMS]0x34       52      4
[MMS]0x30       48      0
[MMS]0x38       56      8
[MMS]0x30       48      0
(snip)

I'd be eternally gracefull if someone can point me in the right direction as to how to go about in parsing this! I can't even explain where the initial 0x8c is doing there!

Regards,

Bas.





Reply via email to