46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
* Edit S1AP-PDU Specification
|
|
--------------------------------------------------------------------
|
|
S1AP-PDU {
|
|
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
|
|
eps-Access (21) modules (3) s1ap (1) version1 (1)
|
|
}
|
|
|
|
DEFINITIONS AUTOMATIC TAGS ::=
|
|
|
|
BEGIN
|
|
|
|
IMPORTS
|
|
Criticality,
|
|
ProtocolIE-ID
|
|
|
|
FROM S1AP-CommonDataTypes;
|
|
|
|
IE ::= SEQUENCE {
|
|
id ProtocolIE-ID,
|
|
criticality Criticality,
|
|
value ANY
|
|
}
|
|
|
|
END
|
|
--------------------------------------------------------------------
|
|
|
|
* 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
|
|
|
|
* 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
|
|
user@host ~/Documents/git/cellwire/lib/asn/asn1c$ \
|
|
../../../../AuthenticEshkinKot/asn1c/asn1c/asn1c \
|
|
-fcompound-names -gen-PER ../support/S1AP-PDU.asn
|
|
|
|
* EUROCOM S1AP-IEs support files
|
|
user@host ~/Documents/git/cellwire/lib/asn/support$ \
|
|
python asn1tostruct.py -f S1AP-PDU.asn -o ..
|
|
|