Commit Graph

12 Commits

Author SHA1 Message Date
Harald Welte 31ee54ec0c add Emakefile 2011-02-10 09:48:34 +01:00
Harald Welte 6ef56d0a73 introcue new MAP translation code 2011-02-10 09:48:15 +01:00
Harald Welte 0aa140b166 don't explicitly specify type in encode_map_msg() 2011-02-09 23:15:22 +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 fc281c362b map codec: make sure to encode an AddressString to a list, not binary 2011-02-09 22:39:08 +01:00
Harald Welte 74368cc72e MAP codec: Add functions to encode/decode MAP Address-String 2011-02-09 21:41:36 +01:00
Harald Welte d1710cfeb7 add .gitignore file 2011-02-09 14:47:44 +01:00
Harald Welte 8aafe3b368 app file: remove unneeded 'mod' line 2011-02-09 14:46:13 +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 268c57291a add map_codec wrapper module to be consistent with isup/sccp and other code 2011-02-09 14:38:15 +01:00
Harald Welte 67799636d7 osmo_er_map -> osmo_map 2011-02-07 22:30:12 +01:00
Harald Welte 7a23af3323 add erlang MAP code (from OTP) 2011-02-07 21:24:26 +01:00