×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    13

    Is this fault in Nokia Mobile Server Service SDK?

    I successed to send mm (encoded) to MMSC which was Nokia server SDK in terminating mode.

    And then, in originating mode I sended the mm from MMSC to my program and tried to decode.

    But received code was so strange.

    Is this my fault ??? or Nokia SDK's error???

    Received code was following.

    xxxxxxx (MM Header)
    02 : number of multipart message body
    39 : length of content-type + other possible headers
    82 5D : length of data
    13 : ??? (I think here is error code)
    61 70 70 6C 69 63 61 74 ...... : applicati.....(Here is headers of object)


    You can download that at here : http://mmlab.sogang.ac.kr/nokia_req.txt

    Thanks for reading.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    474
    Hello -- the 13 is the LENGTH of the value to follow.

    13 61 70 70 6C
    69 63 61 74 69 6F 6E 2F 73 6D 69 6C 00 81 EA C0
    3C 70 72 65 73 65 6E 74 61 74 69 6F 6E 2D 70 61
    72 74 3E 00 8E 6D 6D 73 5F 65 64 69 74 65 64 2E
    73 6D 69 00

    The value (and this is the content-type value, naturally) is: application/smil;charset=utf-8

    39 is length of content-type and other headers, as you say, and since the content-type header only took up 14h bytes, there are still more headers.

    The next is C0 (Content-Id), whose value is: <presentation-part> (null-terminated)

    The next (and last) is 8E (Content-Location), whose value is : mms_edited.smi (null-terminated)

    NOTE! The value for C0 should actually be preceded by a quote character (" or 22h), so you should see:

    C0 22 3C 70 72 65 73 65 6E 74 61 74 69 6F 6E 2D 70 61
    72 74 3E 00

    And naturally that makes the size of the headers grow by 1 byte. How did you create this MMS message? Did you use the 1.2 NMSS Library? It currently has a bug that causes this problem.

    -paul / ForumNokia

Posting Permissions

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