Help! codec/decodec format transfered at SMS/EMS.

Help! codec/decodec format transfered at SMS/EMS. SearchSearch
Author Message
Anonymous
 
Posted on Monday, September 26, 2005 - 09:10 am:   

As http://support.nowsms.com/discus/messages/1/2292.ht ml said,
BEGIN:IMELODY
VERSION:1.0
FORMAT:CLASS1.0
MELODY:e3f3f3e3f3e3e3f3f3f3f1r2g3a3b3*5c3c2b3a3a4b4*5c1e3f3f3e3f3e3e
END:IMELODY

The second iMelody object gets the remainder of the data:

BEGIN:IMELODY
VERSION:1.0
FORMAT:CLASS1.0
MELODY:3f3f3f3f1r2g3a3b3*5c3c2b3f1r2g3a3b3*5c3c2b3a3a4c2b3a3a4b4
END:IMELODY

Now we encode the messages to be sent out.

Message #1:

8B (UDH Len = 8B hex / 139 decimal)
0003EE0201 (Concatenated message id EE, Message 1 of 2)
130102 (EMS UPI - 2 parts)
0C8100 (EMS iMelody, length = 81 hex / 129 decimal - one byte larger than actual iMelody data to include offset, offset = 0)
424547494E3A494D454C4F44590D0A56455253494F4E3A312E300D0A464F524D41543A434C415353 312E300D0A4D454C4F44593A65336633663365336633653365336633663366336631723267336133 62332A356333633262336133613462342A356331653366336633653366336533650D0A454E443A49 4D454C4F44590D0A

(The last bit is the hex representation of the first iMelody object.)

Message #2:

84 (UDH Len = 84 hex / 132 decimal)
0003EE0202 (Concatenated message id EE, Message 2 of 2)
0C7D00 (EMS iMelody, length = 7D hex / 125 decimal - one byte larger than actual iMelody data to include offset, offset = 0)
424547494E3A494D454C4F44590D0A56455253494F4E3A312E300D0A464F524D41543A434C415353 312E300D0A4D454C4F44593A33663366336633663172326733613362332A35633363326233663172 326733613362332A3563336332623361336134633262336133613462340D0A454E443A494D454C4F 44590D0A

(The last bit is the hex representation of the second iMelody object.)

What's the code/decodec format? Can anyone give me suggestion? thank you!