How parse mms content-type ?

How parse mms content-type ? SearchSearch
Author Message
powernet
New member
Username: Powernet

Post Number: 6
Registered: 12-2005
Posted on Monday, January 30, 2006 - 01:11 pm:   

nowsms send a mms message.(only text:This is a multimedia test).Content-type hex string is follow:
===============================================
84A301311911838534334445303638342E7478740081EAC0223C34334445303638342E7478743E00 8E34334445303638342E74787400546869732069732061206D756C74696D656469612074657374
=============================================
in wap-203 wsp
8.5.3 Multipart Entry
The multipart entry format is as follows:

Table 33. Multipart Entry Fields

Name ||Type || Purpose
========================================================================
HeadersLen Uintvar Length of the ContentType and Headers fields combined
DataLen Uintvar Length of the Data field
ContentType Multiple octets The content type of the data
Headers (HeadersLen–length The headers
of ContentType)
octets
Data DataLen octets The data

The HeadersLen field specifies the length of the ContentType and Headers fields combined.
The DataLen field specifies the length of the Data field in the multipart entry.
The ContentType field contains the content type of the data. It conforms to the Content-Type value encoding specified in section 8.4.2.24, “Content type field”, above.
The Headers field contains the headers of the entry.
The Data field contains the data of the entry.
===============================================
anyone help me parse it?thank!
Anonymous
 
Posted on Tuesday, March 07, 2006 - 02:27 am:   

deleted by admin 777