MMS BODY ENCODING

MMS BODY ENCODING SearchSearch
Author Message
Anonymous
 
Posted on Friday, March 26, 2004 - 09:58 am:   

hi all,
I have query. I have to encode a .mms according to wsp spec.(m - retreive conf.).Headers part are encoded perfectly.But we are facing problems while trying to add contents
For eg:-, lets say i have 2 parts (Text,Image)

so the format will be.....
<84><a3>
<No. of Parts><HeaderLen><DataLen><83>TextData
then again,
<HeaderLen><DataLen><90>ImageData

Am I right??( without Smil example)

if wrong, please let me know..........

If correct, then i have doubt regarding
DataLength of Image part...How to encode this field...say i have image data of 5 KB..what am i supposed to do. How to obtain datalength of Image...Can any one please please please explain and also suggest any links....

Thanks a lot in advance.........,
Siddarth
Ravikanth Bollapragada
New member
Username: Ravikanth_b99

Post Number: 8
Registered: 03-2004
Posted on Friday, March 26, 2004 - 12:35 pm:   

Hi Siddarth,

If you like to represent datalength of an image or something, you should encode the datalength using Variable length unsigned integer method, described in section 8.1.2 "Variable Lenght Unsigned Integers", of WAP-230-WSP Version 5-July-2001.

Regards,
Ravikanth Bollapragada

ravikanth_b99@yahoo.com
http://www.bollapragada.com/ravikanth.htm
Ravikanth Bollapragada
New member
Username: Ravikanth_b99

Post Number: 9
Registered: 03-2004
Posted on Friday, March 26, 2004 - 01:35 pm:   

Siddarth,

Sorry !
I did not answer your question fully in my previous post. Now it comes..

Please follow my sample test case of sending large MMS. The same explains you how to encode MMS.

http://support.nowsms.com/discus/messages/12/3537.html

Hope this helps !

Regards,
Ravikanth Bollapragada

ravikanth_b99@yahoo.com
http://www.bollapragada.com/ravikanth.htm