Commit d748bffb authored by Lev Walkin's avatar Lev Walkin

IEEE 1609.2-2016 stub

parent 8077f938
...@@ -30,6 +30,11 @@ This directory contains a few examples. ...@@ -30,6 +30,11 @@ This directory contains a few examples.
9. The ./sample.source.J2735 directory contains the SAE J2735-201603 decoder. 9. The ./sample.source.J2735 directory contains the SAE J2735-201603 decoder.
Before trying to compile, read the README file in that directory. 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. 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 For instance, it is used to extract X.509, MEGACO, and LDAPv3 ASN.1 modules
......
...@@ -45,7 +45,7 @@ test -n "$TITLE" && EXTRA_CPPFLAGS="-DASN_CONVERTER_TITLE=\"$TITLE\" ${EXTRA_CPP ...@@ -45,7 +45,7 @@ test -n "$TITLE" && EXTRA_CPPFLAGS="-DASN_CONVERTER_TITLE=\"$TITLE\" ${EXTRA_CPP
set -x set -x
cat Makefile.am.sample \ cat Makefile.am.sample \
| sed -e "s/^CPPFLAGS += /CPPFLAGS += ${EXTRA_CPPFLAGS} /" \ | 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}/" \ | sed -e "s/progname/${PROGNAME}/" \
> Makefile.$$ > Makefile.$$
set +x set +x
...@@ -127,6 +127,9 @@ set +x ...@@ -127,6 +127,9 @@ set +x
echo ' ./${TARGET} -J0.001 -n 1000 -b $$b -iper -onull $$f || exit 8; \' echo ' ./${TARGET} -J0.001 -n 1000 -b $$b -iper -onull $$f || exit 8; \'
echo ' done; done; fi' echo ' done; done; fi'
echo echo
echo "maybe-wip-pause:"
echo " @[ -f WIP ] && cat WIP && sleep 2"
echo
echo "distclean: clean" echo "distclean: clean"
echo ' rm -f $(ASN_MODULE_SOURCES)' echo ' rm -f $(ASN_MODULE_SOURCES)'
echo ' rm -f $(ASN_MODULE_HEADERS)' echo ' rm -f $(ASN_MODULE_HEADERS)'
......
This diff is collapsed.
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
This project is a work in progress and is not supposed to compile or work yet.
Any errors are known and will be fixed.
Sleeping a few seconds...
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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment