open5gs/lib/s1ap/support
2018-02-26 14:59:51 +09:00
..
36413-a90.asn script update 2018-02-26 14:59:51 +09:00
36413-a90.txt move directory 2017-02-28 10:15:13 +09:00
36413-e40.txt Update S1P ASN for GUMMEIType in InitialUEMessage 2018-01-06 12:36:47 +09:00
asn1prefix.py update it 2018-02-26 11:57:49 +09:00
asn1tostruct.py script update 2018-02-26 14:59:51 +09:00
README.md script update 2018-02-26 14:59:51 +09:00
S1AP-PDU.asn script update 2018-02-26 14:59:51 +09:00

  • Modify 36413-a90.txt to 36413-a90.asn user@host ~/Documents/git/nextepc/lib/s1ap/support$
    diff 36413-a90.txt 36413-a90.asn

  • Add prefix S1AP to S1AP-PDU specification user@host ~/Documents/git/nextepc/lib/s1ap/support$
    python asn1prefix.py -i 36413-a90.asn -o S1AP-PDU.asn

  • EUROCOM S1AP-IEs support files user@host ~/Documents/git/nextepc/lib/s1ap/support$
    python asn1tostruct.py -f S1AP-PDU.asn -o ..

  • Use AuthenticEshkinKot's fork for asn1c user@host ~/Documents/git$
    git clone https://github.com/acetcom/asn1c.git user@host Documents/git/asn1c$
    autoreconf -iv;./configure;make

  • ASN.1 encoder/decoder user@host ~/Documents/git/nextepc/lib/s1ap/asn1c$
    ../../../../asn1c/asn1c/asn1c
    -fcompound-names -fincludes-quoted -gen-PER ../support/S1AP-PDU.asn

  • Remove unnecessary files user@host ~/Documents/git/nextepc/lib/s1ap/s1ap/asn1c$
    git rm E-RAB-IE-ContainerPairList.c ProtocolError-IE-ContainerList.c
    ProtocolIE-ContainerPair.c ProtocolIE-FieldPair.c ProtocolIE-ContainerPairList.c

user@host ~/Documents/git/nextepc/lib/s1ap/s1ap/asn1c$
vi Makefile.am

  • Delete Makefile.am.sample and converter-sample.c user@host ~/Documents/git/nextepc/lib/s1ap/asn1c$
    rm -f Makefile.am.sample and converter-sample.c

  • Update asn_internal.h user@host ~/Documents/git/nextepc/lib/s1ap/asn1c$
    git diff asn_internal.h