mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-14 19:05:43 +00:00
* Modify 36413-a90.txt to 36413-a90.asn
user@host ~/Documents/git/cellwire/lib/asn/support$ \
diff 36413-a90.txt 36413-a90.asn
* Add prefix S1AP to S1AP-PDU specification
user@host ~/Documents/git/cellwire/lib/asn/support$ \
python asn1prefix.py -i 36413-a90.asn -o S1AP-PDU.asn
* EUROCOM S1AP-IEs support files
user@host ~/Documents/git/cellwire/lib/asn/support$ \
python asn1tostruct.py -f S1AP-PDU.asn -o ../src
* Use AuthenticEshkinKot's fork for asn1c
user@host ~/Documents/git/AuthenticEshkinKot$ \
git clone https://github.com/AuthenticEshkinKot/asn1c.git
user@host Documents/~/git/AuthenticEshkinKot$ \
autoreconf -iv;./configure;make
* ASN.1 encoder/decoder
[Option1] WITH skeletons
user@host ~/Documents/git/cellwire/lib/asn/src/asn1c$ \
../../../../../AuthenticEshkinKot/asn1c/asn1c \
-fcompound-names -fincludes-quoted -gen-PER ../../support/S1AP-PDU.asn
[CHECK] asn_internal.h/core_malloc/core_free & Makefile.am
[Option2] WITHOUT skeletons
user@host ~/Documents/git/cellwire/lib/asn/src/asn1c$ \
../../../../../AuthenticEshkinKot/asn1c/asn1c \
-fcompound-names -fincludes-quoted -gen-PER -S ./ ../../support/S1AP-PDU.asn