×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    MMS Content Type

    Hi,

    When I send an MMS message with my 7650, I receive the following content-type headers (in hex format):

    84 = Content-Type
    1F = ?
    21 = Length (0x21 bytes)
    B3 = application/vnd.wap.multipart.related
    313633373636373134303E00 = <1637667140>
    896170706C69636174696F6E2F736D696C00 = application/smil

    When I use a T68i, the second byte (1F) is never there. The second byte is always the Length. What does this second byte mean, and how do I know that its there so I can properly decode the MMS message? I couldn't find anything in the docs of the WAPForum.

    TIA,

    Regards,

    Marcel

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    RE: MMS Content Type

    See 8.4.2.2 in the WSP spec.

    If value-length > 30, then you have to use Length-Quote (0x1F) followed by the actual length encoded as uintvar.

    It has to do with some general parsing rules for headers.

    - Brett Warthen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×