The cross-posting from the trapexit forum does not seem to work, so I apologise for the duplication...<br><br>I have managed to implement my own instance (called tetraIsiMessage) of
the operation type from X.880 and would like to use this to instantiate
the ROSE type, but I cannot figure out how to do this.
<br>
<br>The ROS type from Remote-Operations-Generic-ROS-PDUs has to be
instantiated before one can use it for something and I have tried
numerous variations over the following to no avail:
<br>
<br>
<div class="code"><div class="inside_code">
<br><div style="margin-left: 40px;">
myInvokeIdSet InvokeId ::= present:2
<br><br>
tetraIsiROS ::= ROS{myInvokeIdSet, tetraIsiMessage, tetraIsiMessage}
<br></div>
</div></div>
<br>
<br>As soon as I add the 'tetraIsi ::= ...' line the compiler starts
complaining about the definition of myInvokeIdSet which works just fine
without the last line.
<br>
<br>
For your reference...
<br>
ROSE is defined in X.880 and the ASN.1 files for it can be downloaded from the ITU web site: <a href="http://www.itu.int/ITU-T/asn1/database/itu-t/x/x880/1994-TC1/index.html" target="_blank">http://www.itu.int/ITU-T/asn1/database/itu-t/x/x880/1994-TC1/index.html
</a>
<br>
<br>
I am <span style="font-style: italic;">very close</span> to
throwing the whole auto-generation from ASN.1 definitions away and
start implementing my encoder and decoder by hand, but... I would
really like to avoid messing with BER encoding/decoding and let the
asn1ct compiler take care of that for me!! <br>
<br>
Cheers,
<br>
Torben<br><br><br>