Simple text/plain MMS

Simple text/plain MMS SearchSearch
Author Message
fligant
New member
Username: Fliganthotmilcom

Post Number: 1
Registered: 03-2010
Posted on Monday, March 01, 2010 - 03:54 pm:   

8c ---> X-Mms-Message-Type
80 ---> m-send.req
98 ---> X-Mms-Transaction-ID (1234567890)
31 32 33 34 35 90 97 2b 35 38 34 ---> 1234567890
8d 90 ---> X-Mms-Version 1.8
79 --> To
2b 33 35 38 34 30 32 32 32 32 32 32
2f 54 59 50 45 3d 50 4c 4d 4e ---> +35840222222/TYPE=PLMN
89 --> From
2b 33 35 38 34 30
31 31 31 31 31 31 2f 54 59 50 45 3d 50 4c 4d 4e --> +35840111111/TYPE=PLMN
84 83 ---> Content-Type text/plain
54 65 73 74 20 4d 65 73 73 61 67 65 ---> Test
whay i can't view it with Nokia PC Suite like other mms's
Message
application/octet-streammms
mysecretfile.mms (0.1 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1884
Registered: 08-2008
Posted on Monday, March 01, 2010 - 04:09 pm:   

While it's probably legal, the convention is certainly that even if it is a single part message, it is still wrapped in application/vnd.wap.multipart.related or application/vnd.wap.multipart.mixed.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1885
Registered: 08-2008
Posted on Monday, March 01, 2010 - 04:11 pm:   

Correction ... strike probably legal ...

The OMA MMS Conformance Specification clarifies this point:


quote:

10.2 MMS Encoding
10.2.1 Encoding and Values in MMS Headers
The Content-Type in M-Send.req and M-Retrieve.conf SHALL be application/vnd.wap.multipart.mixed when there is no presentation, and application/vnd.wap.multipart.related SHALL be used when there is SMIL presentation available. Use of other content types is outside the scope of this specification.


fligant
New member
Username: Fliganthotmilcom

Post Number: 2
Registered: 03-2010
Posted on Monday, March 01, 2010 - 04:20 pm:   

i chnaged
84 83 ---> Content-Type text/plain
to
84 A3 --->Content-Type application/vnd.wap.multipart.mixed

but still can't open it
thank you
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1887
Registered: 08-2008
Posted on Monday, March 01, 2010 - 04:55 pm:   

If that's the only thing you changed, then that isn't magically change the associated data.

Let's say I have a text file that has the following text:

this is a pretty image

If I rename the text file to pretty.jpg, the content of the file doesn't become an image. The content of the file is still text, not properly encoded JPEG.

Similarly you must change the text data to application/vnd.wap.multipart.mixed encoding.

--
Des
NowSMS Support
fligant
New member
Username: Fliganthotmilcom

Post Number: 3
Registered: 03-2010
Posted on Monday, March 01, 2010 - 05:20 pm:   

how i change the text data "Test" to application/vnd.wap.multipart.mixed encoding ?

thank you
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1892
Registered: 08-2008
Posted on Monday, March 01, 2010 - 07:06 pm:   

The application/vnd.wap.multipart.mixed encoding is defined in the WAP WSP (Wireless Session Protocol Specification) specification, which can be found at the following link: http://www.openmobilealliance.org/Technical/wapindex.aspx