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

Artem Teslenko ates@REDACTED
Sat May 17 20:33:50 CEST 2014


Hello,

I've uploaded a set of specs(TCAP, MAP, CAMEL) used by me: 
https://github.com/ates/ss7specs

Hope this will be useful.

On 05/16/2014 05:18 PM, Alan Evans wrote:
> SUCCESS
>
> 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.
>
> Regards
> AlanE
>
> 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
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

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


More information about the erlang-questions mailing list