Hi!
I'm writting an application which tries to decode MMS messages (protocol
MMSE in Ethereal). I identify header fields (such as 'To' or 'Cc')
through their corresponding associated codes. These codes are specified
in the "MMS Encapsulation Protocol" document, published by OMA (Open
Mobile Alliance). For example, the "X-Mms-MMS-Version" field has the
0x0d code, and its type is a short-integer value. Thus, when I read 0x0d
in the message (in the appropriate location), I know that the next byte
contains the version value. When I try to decode the 'Date' field of
some MMS message (with code 0x05), Ethereal identifies it as a 6-byte
value. I think that only five bytes should be used (one for the field
code and four bytes more for its value). If I select the 'Date' field of
a MMS message, six bytes are marked (the codes 0x05 (in fact, Ethereal
displays this code as 0x89, but the most significant bit should not be
took into account) and 0x04 and four bytes for the value).
Should I decode this field using the two-byte code 0x05 0x04, or is
there something incorrect?
Thanks in advance,
Víctor V.