Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
d748bffb
Commit
d748bffb
authored
Aug 07, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE 1609.2-2016 stub
parent
8077f938
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
490 additions
and
22 deletions
+490
-22
examples/README
examples/README
+26
-21
examples/sample.makefile.regen
examples/sample.makefile.regen
+4
-1
examples/sample.source.1609.2/Makefile
examples/sample.source.1609.2/Makefile
+398
-0
examples/sample.source.1609.2/README
examples/sample.source.1609.2/README
+46
-0
examples/sample.source.1609.2/WIP
examples/sample.source.1609.2/WIP
+6
-0
examples/sample.source.1609.2/config.h
examples/sample.source.1609.2/config.h
+10
-0
No files found.
examples/README
View file @
d748bffb
This directory contains a few examples.
1. The ./sample.source.PKIX1 directory contains the X.509 Certificate decoder,
as specified in rfc3280.txt. Just type `make` in there to compile.
1.
The ./sample.source.PKIX1 directory contains the X.509 Certificate decoder,
as specified in rfc3280.txt. Just type `make` in there to compile.
2. The ./sample.source.MHEG5 directory contains the decoder for
ISO 13522 MHEG-5/ITU-T T.172 (Multimedia Hypermedia Experts Group,
Multimedia Presentations). Read the README file in that directory.
2.
The ./sample.source.MHEG5 directory contains the decoder for
ISO 13522 MHEG-5/ITU-T T.172 (Multimedia Hypermedia Experts Group,
Multimedia Presentations). Read the README file in that directory.
3. The ./sample.source.MEGACO directory contains the decoder for
Media Gateway Control Protocol data units as specified in rfc3525.txt.
3.
The ./sample.source.MEGACO directory contains the decoder for
Media Gateway Control Protocol data units as specified in rfc3525.txt.
4. The ./sample.source.LDAP3 directory contains the decoder for
Lightweight Directory Access Protocol version 3 PDU as specified in
rfc4211.txt.
4.
The ./sample.source.LDAP3 directory contains the decoder for
Lightweight Directory Access Protocol version 3 PDU as specified in
rfc4211.txt.
5. The ./sample.source.RRC directory contains the 3GPP Radio Resource Control
decoder for RRC version 7.1.0. Just type `make` in there to compile.
5.
The ./sample.source.RRC directory contains the 3GPP Radio Resource Control
decoder for RRC version 7.1.0. Just type `make` in there to compile.
6. The ./sample.source.LTE-RRC directory contains the 3GPP RRC
decoder for LTE RRC version 14.2.1. Read the README file in that directory.
6.
The ./sample.source.LTE-RRC directory contains the 3GPP RRC
decoder for LTE RRC version 14.2.1. Read the README file in that directory.
7. The ./sample.source.TAP3 directory contains the GSM TAP3 decoder.
Before trying to compile, read the README file in that directory.
7.
The ./sample.source.TAP3 directory contains the GSM TAP3 decoder.
Before trying to compile, read the README file in that directory.
8. The ./sample.source.ULP directory contains the Open Mobile Alliance
UserPlane Location Protocol decoder.
Before trying to compile, read the README file in that directory.
8.
The ./sample.source.ULP directory contains the Open Mobile Alliance
UserPlane Location Protocol decoder.
Before trying to compile, read the README file in that directory.
9. The ./sample.source.J2735 directory contains the SAE J2735-201603 decoder.
Before trying to compile, read the README file in that directory.
9. The ./sample.source.J2735 directory contains the SAE J2735-201603 decoder.
Before trying to compile, read the README file in that directory.
WARNING WARNING WARNING: WORK IN PROGRESS. Not supposed to work yet.
10. The ./sample.source.1609.2 directory contains the IEEE 1609.2-2016 decoder.
Before trying to compile, read the README file in that directory.
WARNING WARNING WARNING: WORK IN PROGRESS. Not supposed to work yet.
The crfc2asn1.pl script can be used to extract ASN.1 data from RFC texts.
For instance, it is used to extract X.509, MEGACO, and LDAPv3 ASN.1 modules
...
...
examples/sample.makefile.regen
View file @
d748bffb
...
...
@@ -45,7 +45,7 @@ test -n "$TITLE" && EXTRA_CPPFLAGS="-DASN_CONVERTER_TITLE=\"$TITLE\" ${EXTRA_CPP
set
-x
cat
Makefile.am.sample
\
|
sed
-e
"s/^CPPFLAGS += /CPPFLAGS +=
${
EXTRA_CPPFLAGS
}
/"
\
|
sed
-e
"s/^all: /all:
${
ASN1PDU
}
.c /"
\
|
sed
-e
"s/^all: /all:
maybe-wip-pause
${
ASN1PDU
}
.c /"
\
|
sed
-e
"s/progname/
${
PROGNAME
}
/"
\
>
Makefile.
$$
set
+x
...
...
@@ -127,6 +127,9 @@ set +x
echo
' ./${TARGET} -J0.001 -n 1000 -b $$b -iper -onull $$f || exit 8; \'
echo
' done; done; fi'
echo
echo
"maybe-wip-pause:"
echo
" @[ -f WIP ] && cat WIP && sleep 2"
echo
echo
"distclean: clean"
echo
' rm -f $(ASN_MODULE_SOURCES)'
echo
' rm -f $(ASN_MODULE_HEADERS)'
...
...
examples/sample.source.1609.2/Makefile
0 → 100644
View file @
d748bffb
This diff is collapsed.
Click to expand it.
examples/sample.source.1609.2/README
0 → 100644
View file @
d748bffb
GENERAL INFORMATION
===================
The IEEE 1609.2-2016 "Wireless Access in Vehicular Environments --
Security Services for Applications and Management Messages" messages decoder.
Invoking `make` will compile the ASN.1 specifications from the
../IEEE-1609.2-2016.asn1 file.
THERE IS NO IEEE-1609.2-2016.asn1 FILE THERE YET!
OBTAINING THE IEEE 1609.2-2016 SPECIFICATION
============================================
Download the standard containing the ASN.1 module files from
https://standards.ieee.org/findstds/standard/1609.2-2016.html
You should extract the ASN.1 modules from there and save it
into a single ../IEEE-1609.2-2016.asn1 file. This file should start with
the following line
IEEE1609dot2BaseTypes {iso(1) identified-organization(3) ieee(111)
or
IEEE1609dot2 {iso(1) identified-organization(3) ieee(111)
(both of these modules should be present in the file; order is unimportant)
and end with the "END" token.
Be careful not to copy any non-ASN.1 preambles from that .DOC file.
After obtaining the IEEE-1609.2-2016.asn1, type `make` in the directory
containing this README file.
1609-2-dump USAGE
=================
The 1609-2-dump utility may be used to dump the contents of the
OER-encoded Certificate file:
./1609-2-dump 1609cert.oer # Print as XML (BASIC-XER)
The full list of recognized command line options may be obtained with
> ./1609-2-dump -h
examples/sample.source.1609.2/WIP
0 → 100644
View file @
d748bffb
[31;1mThis project is a work in progress and is not supposed to compile or work yet.
Any errors are known and will be fixed.[0m
Sleeping a few seconds...
examples/sample.source.1609.2/config.h
0 → 100644
View file @
d748bffb
extern
int
opt_debug
;
#define ASN_DEBUG(fmt, args...) do { \
if(opt_debug < 2) break; \
fprintf(stderr, fmt, ##args); \
fprintf(stderr, " (%s:%d)\n", \
__FILE__, __LINE__); \
} while(0)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment