ECN = X.692 ;-)<br><br>The problem with the lovely binaries in Erlang is that I have to write the encode/decode functions myself.<br><br>I want to be able to specify how my PDUs look like and get the encode/decode for free just like with the asn1 application.<br>
<br>Cheers,<br>Torben<br><br>p.s. I am not lazy, I am a mathematician!!  <br><br><div class="gmail_quote">On Fri, May 1, 2009 at 12:04 AM, Cameron Kerr <span dir="ltr"><<a href="mailto:ckerr@cs.otago.ac.nz">ckerr@cs.otago.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Would ASN.1's ECN (Explicit Coding Notation) work for this?<div><br></div>
<div>Not sure if that is supported by the asn1 module either... if not, then Erlang's binary support should be pretty useful.</div><div><br><div><div><div></div><div class="h5"><div>On 30/04/2009, at 8:59 PM, Torben Hoffmann wrote:</div>
<br></div></div><blockquote type="cite"><div><div></div><div class="h5">Hi,<br><br>I am looking into finding efficient ways of dealing with legacy protocols and during that I found the X.692 standard:<br><a href="http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-X.692-200203-S%21PDF-E&type=items" target="_blank">http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-X.692-200203-S!PDF-E&type=items</a><br>
 <a href="http://www.itu.int/ITU-T/asn1/database/itu-t/x/x692/2002/index.html" target="_blank">http://www.itu.int/ITU-T/asn1/database/itu-t/x/x692/2002/index.html</a><br><br>The ASN.1 compiler barfs on the ELM and EDM modules since X.692 is not supported by the asn1 application.<br>
 <br>What are the chances of X.692 being supported by the asn1 application?<br><br>A aside: no matter how fun it really is to code Erlang nothing beats getting a pair of encode-decode functions for free. <br><br>BTW: the key need I am trying to address is the ability to specify the PDUs of an arbitrarily weird protocol (mostly telecom ones) and then get a codec for it. ASN.1 is not a holy grail for me and other good technologies will be looked at if you suggest it.<br>
 <br>Thanks in advance,<br>Torben<br></div></div> _______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a></blockquote></div><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<div>-- </div><div>Cameron Kerr <<a href="mailto:ckerr@cs.otago.ac.nz" target="_blank">ckerr@cs.otago.ac.nz</a>></div><div>Teaching Fellow, Computer Science, University of Otago</div><div><font color="#008000"><br></font></div>
</div></span></div></span></div></span></div></span></div></span></div></span><br> </div><br></div></div></blockquote></div><br>