How to represent Image data length while encoding as m-retrieve-conf | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through August 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
Venkatesh Unregistered guest |
Hi, i had a query,how to represent data length while encoding a mms of text and jpeg in m-retrieve-conf.Text size is 02,and text =hi and how to represent image datlength if i had 2075 hexa bytes image exist? i represented as 84 A3 02 01 02 83 hi (68 69) 01 90 ?? ?? Image data. Above Text lenghth is 02 bytes i represented like that.If i represent as datalength 2075 *2 =4150 ( 10 36) hexa then mms is not working. | |||
Ravikanth Bollapragada New member Username: Ravikanth_b99 Post Number: 7 Registered: 03-2004 |
Hi Venkatesh, 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 | |||
Venkatesh Unregistered guest |
Hi Ravikanth, Thanx for your information,It is working and able to represent Image data as mentioned in WSP 8.1.2 regards, Venkatesh. |