Commit Graph

4 Commits

Author SHA1 Message Date
Harald Welte 085f198c8b rebar: use eunit_surefire 2011-11-11 23:30:32 +01:00
Harald Welte d08ea8d673 use asn1ct/asn1rc in 'ber list' mode, as 'ber binary' mode has bugs
When trying to asn1rt:encode() the DialoguePortion in ber_bin mode,
we get something like

2> asn1rt:encode('MAP', 'MapSpecificPDUs', {'begin', Msg}).
{error,{asn1,{function_clause,[{asn1rt_check,transform_to_EXTERNAL1990,
                                             [[<<96,15,128,2,7,128,161,9,6,7,4,0,0,1,0,5,3>>],
                                              [asn1_NOVALUE,asn1_NOVALUE,{0,0,17,773,1,1,1},'EXTERNAL']]},
                               {'MAP',enc_EXTERNAL,2},
                               {'MAP',enc_MapSpecificPDUs_begin,2},
                               {'MAP',enc_MapSpecificPDUs,2},
                               {'MAP',encode,2},
                               {asn1rt,encode,3},
                               {erl_eval,do_apply,5},
                               {shell,exprs,7}]}}}
2011-02-09 23:13:48 +01:00
Harald Welte 72f06f5c7a Make sure we use the ber_bin option for asn1ct 2011-02-09 14:45:00 +01:00
Harald Welte 7a23af3323 add erlang MAP code (from OTP) 2011-02-07 21:24:26 +01:00