Pls help me to decode the subject field of MMS Notification through...

Pls help me to decode the subject field of MMS Notification through... SearchSearch
Author Message
Anonymous
 
Posted on Friday, April 09, 2004 - 02:41 am:   

msgData[120] = 0x96;

msgData[121] = 0x1f;

msgData[122] = 0x81;

msgData[123] = 0xd;

msgData[124] = 0xea;

msgData[125] = 0x7f;

msgData[126] = 0xe4;

msgData[127] = 0xbb;

msgData[128] = 0x96;

msgData[129] = 0xe7;

msgData[130] = 0x9a;

msgData[131] = 0x84;

msgData[132] = 0xe4;

msgData[133] = 0xba;

msgData[134] = 0xba;

msgData[135] = 0xe4;

msgData[136] = 0xbb;

msgData[137] = 0xac;

msgData[138] = 0xe5;

msgData[139] = 0x95;

msgData[140] = 0x8a;

msgData[141] = 0xe6;
rodneyxiao
New member
Username: Xxlin110

Post Number: 18
Registered: 11-2003
Posted on Friday, April 09, 2004 - 03:15 am:   

0x96 subject tag
0x1f; length quote
0x81 x0d length = 141
0xea charset 0x6a utf8

0x7f -- quote


string (charset = UTF8)
0xe4 0xbb 0x96
0xe7 0x9a 0x84
0xe4 0xba 0xba
0xe4 0xbb 0xac
0xe5 0x95 0x8a
0xe6
donald
New member
Username: Donald_xftang

Post Number: 1
Registered: 04-2004
Posted on Monday, April 12, 2004 - 04:54 am:   

where can i find the "length quote
,length,charset,quote" field?according to which protocol?
In the OMA-WAP-MMS-ENC-v1_1-20021030-C only tell us:
7.2.33. Subject field
Subject-value = Encoded-string-value
7.3Header Field Names and Assigned Numbers
Subject 0x16
WSP protocol does not tell us how to enode SUBJECT.only OR's 0x80
donald
New member
Username: Donald_xftang

Post Number: 2
Registered: 04-2004
Posted on Monday, April 12, 2004 - 04:59 am:   

does is according to WSP protocol.
chapter of Encoding of list values?
newbie
Unregistered guest
Posted on Tuesday, April 13, 2004 - 04:55 am:   

Hi,Anonymous
the decode array you support is not right! can you support more details about the msgdata array?
I will help you.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2501
Registered: 10-2002
Posted on Wednesday, May 05, 2004 - 07:15 pm:   

Encoded-string-value is defined in the MMS Encapsulation Specification, Section 7.2.12.

Encoded-string-value = Text-string | Value-length Char-set Text-string

I concur with Rodney's interpretation. Hopefully there are 141 bytes of subject header present.
Oded Arbel
New member
Username: Guss77

Post Number: 1
Registered: 07-2004
Posted on Thursday, July 01, 2004 - 06:52 pm:   

I tried to look through WAP-209-MMSEncapsulation but failed to find any reference to what is Encoded-string-value. I couldn't find it in WAP-230-WSP either -can you please tell me where can I find that spec?
Oded Arbel
New member
Username: Guss77

Post Number: 2
Registered: 07-2004
Posted on Thursday, July 01, 2004 - 06:57 pm:   

Sorry, found it in 7.2.9. apparently didn't look hard enough (that was so sad - I used google to find information that was sitting on my desk, near the keyboard, on a page that was only half covered by other pages, like they say - once yo go google, you can never go back ;-)