MMS Fields octet representation | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through March 23, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anibal Acosta New member Username: Aacosta Post Number: 1 Registered: 03-2004 |
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 |
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 |
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 |
I think that found the answer to my question... 7Bit 0D = 0001101 8Bit 0D = 10001101 = 8D Is ok no? | |||
Ravikanth Bollapragada Unregistered guest |
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 |
BYTE code, encoded; code = 0x0D; encoded = 0x80 | code; How I can get code if I know encoded? code = encoded & ? Thanks. | |||
Anonymous |
>How I can get code if I know encoded? >code = encoded & ? I use Xor... Encoded Xor 0x80 |