MMS Fields octet representation

MMS Fields octet representation SearchSearch
Author Message
Anibal Acosta
New member
Username: Aacosta

Post Number: 1
Registered: 03-2004
Posted on Friday, March 12, 2004 - 02:19 pm:   

I am searching and searching but I can't found the documenation that show me the complete list of each possible MMS field and his binary (octet) representation, for example

8C - X-Mms-Message-Type
98 - trans id
8D - mms version
85 - date

This list I extract from another topic, but I need the complete list, In the WAP-209-MMSEncapsulation-20020105-a documentation just explain all possible values of each field, but not the field it self.

Thanks a lot
Ravikanth Bollapragada
Unregistered guest
Posted on Friday, March 12, 2004 - 03:15 pm:   

Hi Acosta,

Please look Section 7.3 "Assigned Numbers", of MMS Enapsulation Protocol document, for full list of filed name assignments.

The codes mentioned there are encoded using WSP (7-bit) Encoding, so for example: MMS-Version 0x0D will become 0x8D.

Regards,
Ravikanth Bollapragada
http://www.bollapragada.com/ravikanth.htm
Anibal Acosta
New member
Username: Aacosta

Post Number: 2
Registered: 03-2004
Posted on Friday, March 12, 2004 - 06:23 pm:   

Thanks Ravikanth!!

Your comments was very useful, Another question... How or which is the algorithm to convert from 7bit to 8 bit, so the result from 0D (7 Bit) = 8D (8 Bit)
Anibal Acosta
New member
Username: Aacosta

Post Number: 3
Registered: 03-2004
Posted on Friday, March 12, 2004 - 07:04 pm:   

I think that found the answer to my question...
7Bit 0D = 0001101
8Bit 0D = 10001101 = 8D

Is ok no?
Ravikanth Bollapragada
Unregistered guest
Posted on Saturday, March 13, 2004 - 01:45 pm:   

Yes. Thats it !

BYTE code, encoded;
code = 0x0D;
encoded = 0x80 | code;

Regards,
Ravikanth Bollapragada
http://www.bollapragada.com/ravikanth.htm
Vitaliy N. Kravchenko
New member
Username: Kvn

Post Number: 12
Registered: 10-2003
Posted on Tuesday, March 16, 2004 - 05:24 pm:   

BYTE code, encoded;
code = 0x0D;
encoded = 0x80 | code;

How I can get code if I know encoded?
code = encoded & ?

Thanks.
Anonymous
 
Posted on Wednesday, March 17, 2004 - 06:28 pm:   

>How I can get code if I know encoded?
>code = encoded & ?

I use Xor...

Encoded Xor 0x80