> I have something that looks like this:-
>
> RoseAPDU {InvokeId:InvokeIdSet, OPERATION:Invokable, OPERATION:Returnable}
> ::= CHOICE
>       {
>             invoke [1] Invoke {{InvokeIdSet}, {Invokable}},
>             returnResult [2] ReturnResult {{Returnable}},
>             returnError [3] ReturnError {{Errors{{Returnable}}}},
>             reject [4] Reject
>       }
> (CONSTRAINED BY { -- must conform to the above definition -- }
> ! RejectProblem : general-unrecognisedPDU)
>
> and when compiled (with the OSS compiler and the relevent supporting files)
> I'm not getting an APDU, or any structure in  the header file for this
> definition.
>
> Can someone please tell me why ?

You've shown us an example of a parameterized type. Look at it as
analogous to a function or subroutine. In order to get something useful
out of it, you have to use it (that is, call it).

Look for the use of RoseAPDU on the right hand of the ::= sign. That's
where it's used.

=====================================================================
Conrad Sigona                         Toll Free      : 1-888-OSS-ASN1
OSS Nokalva                           Voice Mail     : 1-732-302-9669 x400
[EMAIL PROTECTED]                        Fax            : 1-419-831-5035
http://www.oss.com                    My direct line : 1-315-845-1773

Reply via email to