I have decoded a MMS CDR file - below are all details.
What I do not understand - I have made those details in bold=
* what is their starting point?
* whatare they related to?
* in which way are they "counted"
Second question on = the element = �
What is this, which language?
How to interprete?
Thank a lot in advance!
Willem Coppes
willemcoppes@gmail com
Hello,
I have decoded a MMS CDR file - below are all details.
What I do not understand - I have made those details in bold=
* what is their starting point?
* whatare they related to?
* in which way are they "counted"
Second question on = the element = �
What is this, which language?
How to interprete?
Thank a lot in advance!
Willem Coppes
willemcoppes@gmail com
The decoded MMS CDR:
<C O="0" T="" TL="4" V="454" A="SEQUENCE">
<P O="4" T="" TL="2" V="4">V1.0</P>
<C O="10" T="" TL="4" V="444">
<P O="14" T="" TL="2" V="22">vIdXuhCYryGowj0tk6Xd00</P>
<P O="38" T="" TL="2" V="1"></P>
<P O="41" T="" TL="2" V="1">0</P>
<P O="44" T="" TL="3" V="4">1256</P>
<P O="51" T="" TL="3" V="29">PL-2-6:opco1@nl.upcmobile.com</P>
<P O="83" T="" TL="3" V="2">12</P>
<P O="88" T="" TL="3" V="19">1323095227844870000</P>
<C O="110" T="" TL="4" V="344">
<P O="114" T="" TL="2" V="1">�</P>
<P O="117" T="" TL="2" V="1">�</P>
<P O="120" T="" TL="2" V="13">0049680189973</P>
<P O="135" T="" TL="2" V="1">c</P>
<P O="138" T="" TL="2" V="2">Ó</P>
<P O="142" T="" TL="2" V="4">O‘1P</P>
<P O="148" T="" TL="2" V="4">O‘1Q</P>
<P O="154" T="" TL="2" V="4">OIh</P>
<P O="160" T="" TL="2" V="4">O‘1S</P>
<P O="166" T="" TL="2" V="1">1</P>
<P O="169" T="" TL="2" V="1">1</P>
<P O="172" T="" TL="2" V="10">image/jpeg</P>
<P O="184" T="" TL="2" V="22">vIdXuhCYryGqTOJkiuc500</P>
<P O="208" T="" TL="2" V="1"></P>
<P O="211" T="" TL="2" V="6">UPCMIO</P>
<P O="219" T="" TL="2" V="10">MM4Orecord</P>
<P O="231" T="" TL="2" V="1">0</P>
<P O="234" T="" TL="2" V="1">0</P>
<P O="237" T="" TL="2" V="1">2</P>
<P O="240" T="" TL="2" V="1">2</P>
<P O="243" T="" TL="2" V="5">61234</P>
<P O="250" T="" TL="2" V="5">61234</P>
<P O="257" T="" TL="2" V="1">0</P>
<P O="260" T="" TL="2" V="1">�</P>
<P O="263" T="" TL="2" V="12">+31680189973</P>
<P O="277" T="" TL="2" V="1">�</P>
<P O="280" T="" TL="2" V="1">�</P>
<P O="283" T="" TL="2" V="1">�</P>
<P O="286" T="" TL="2" V="1">�</P>
<P O="289" T="" TL="2" V="1">�</P>
<P O="292" T="" TL="2" V="1">�</P>
<P O="295" T="" TL="3" V="1">�</P>
<P O="299" T="" TL="3" V="0"></P>
<P O="302" T="" TL="3" V="15">202700000000001</P>
<P O="320" T="" TL="3" V="0"></P>
<P O="323" T="" TL="3" V="0"></P>
<P O="326" T="" TL="3" V="3">any</P>
<P O="332" T="" TL="3" V="0"></P>
<P O="335" T="" TL="3" V="3">+49</P>
<P O="341" T="" TL="3" V="0"></P>
<P O="344" T="" TL="3" V="22">M-Notification.send.ok</P>
<P O="369" T="" TL="3" V="7">preV550</P>
<P O="379" T="" TL="3" V="2">s¸</P>
<P O="384" T="" TL="3" V="0"></P>
<P O="387" T="" TL="3" V="0"></P>
<P O="390" T="" TL="3" V="0"></P>
<P O="393" T="" TL="3" V="0"></P>
<P O="396" T="" TL="3" V="0"></P>
<P O="399" T="" TL="3" V="1">�</P>
<P O="403" T="" TL="3" V="0"></P>
<P O="406" T="" TL="3" V="4">ABCD</P>
<P O="413" T="" TL="3" V="1">�</P>
<P O="417" T="" TL="3" V="1">�</P>
<P O="421" T="" TL="3" V="0"></P>
<P O="424" T="" TL="3" V="1">�</P>
<P O="428" T="" TL="3" V="1">�</P>
<P O="432" T="" TL="3" V="0"></P>
<P O="435" T="" TL="3" V="0"></P>
<P O="438" T="" TL="3" V="1">�</P>
<P O="442" T="" TL="3" V="0"></P>
<P O="445" T="" TL="3" V="0"></P>
<P O="448" T="" TL="3" V="0"></P>
<P O="451" T="" TL="3" V="1">�</P>
<P O="455" T="" TL="3" V="0"></P>
</C O="458" T="" L="348">
</C O="458" T="" L="448">
</C O="458" T="" A="SEQUENCE" L="458">
You should obtain the CDR ASN.1 module file, compile it with asn1c, and then use the resulting binary to decode this.
unber just shows the structure, without any interpretation.
Willem,
</C>
</C>
</C>
Are all the Length closing values of your ASN1 data expressed in an XML format.
ASN1 is essentially a TLV (Tag Length Value) - a DESCRIPTOR (If you are from a VMS background).
As to what structure/values they are - you will need your ASN1 spec to work that out.