[erlang-questions] Problem compiling CAMEL v2 ASN.1 files - SOLVED

Alan Evans alanrevans@REDACTED
Fri May 16 16:18:05 CEST 2014


The trick was to remove all the PARAMETER-BOUND stuff and then use 
IN-CS1-datatypes.asn rather than CAP-datatypes.asn
After that there was only a little bit of tweaking and now I have an erl 
file that exports all the CAMEL Operations.
Don't know if it works yet but it's very encouraging.

If anyone needs the asn files drop me a line, I'll be happy to share.


On 15/05/2014 06:37:PM, Alan Evans wrote:
> Hello everyone,
> I don't suppose anyone out there has a set of 3GPP CAMEL ASN.1 files 
> that the erlang asn compiler can compile and export an enc_InitialDP() 
> function?
> I've been going around and around in circles all day trying to get 
> this work but I'm failing miserably.
> My current problem is that the initialDP OPERATION in 
> CAP-gsmSSF-gsmSCF-ops-args.asn is a parametrised type.
> The Erlang asn compiler docs state:
> "Note that the compiler does not generate encode/decode functions for 
> parameterized types, but only for the instances of the parameterized 
> types"
> I can't for the life of me figure out how to create an instance from this.
> Many thanks in advance.
> AlanE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140516/d7458944/attachment.htm>

More information about the erlang-questions mailing list