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
d3cc9de0
Commit
d3cc9de0
authored
Aug 05, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard specificity
parent
09ba88d5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
+16
-14
examples/sample.source.J2735/Makefile
examples/sample.source.J2735/Makefile
+4
-4
examples/sample.source.J2735/README
examples/sample.source.J2735/README
+10
-8
examples/sample.source.LDAP3/Makefile
examples/sample.source.LDAP3/Makefile
+1
-1
examples/sample.source.RRC/Makefile
examples/sample.source.RRC/Makefile
+1
-1
No files found.
examples/sample.source.J2735/Makefile
View file @
d3cc9de0
...
...
@@ -1053,7 +1053,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all
:
MessageFrame.c $(TARGET)
$(TARGET)
:
${OBJS}
$(CC)
$(CPPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
$(CC)
$(C
FLAGS)
$(C
PPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
.SUFFIXES
:
.SUFFIXES
:
.c .o
...
...
@@ -1068,10 +1068,10 @@ clean:
regen
:
regenerate-from-asn1-source
regenerate-from-asn1-source
:
../../asn1c/asn1c
-S
../../skeletons
-pdu
=
MessageFrame
-fcompound-names
-gen-PER
../
j2735
.asn1
../../asn1c/asn1c
-S
../../skeletons
-pdu
=
MessageFrame
-fcompound-names
-gen-PER
../
J2735_201603
.asn1
MessageFrame.c
:
../sample.makefile.regen ../
j2735
.asn1
MessageFrame.c
:
../sample.makefile.regen ../
J2735_201603
.asn1
make regen-makefile
@
touch
MessageFrame.c
make
...
...
@@ -1079,7 +1079,7 @@ MessageFrame.c: ../sample.makefile.regen ../j2735.asn1
regen-makefile
:
TITLE
=
"J2735 DSRC decoder"
\
ASN1CMDOPTS
=
"-fcompound-names -gen-PER"
\
ASN1MODULES
=
"../
j2735
.asn1"
\
ASN1MODULES
=
"../
J2735_201603
.asn1"
\
ASN1PDU
=
MessageFrame
\
PROGNAME
=
j2735-dump
\
CPPFLAGS
=
""
\
...
...
examples/sample.source.J2735/README
View file @
d3cc9de0
...
...
@@ -5,9 +5,9 @@ GENERAL INFORMATION
The SAE J2735-201603 Dedicated Short Range Communications (DSRC)
Message Set Dictionary decoder.
Invoking `make` will compile the ASN.1 specifications from the
../
j2735
.asn1 file.
../
J2735_201603
.asn1 file.
THERE IS NO
j2735
.asn1 FILE THERE YET!
THERE IS NO
J2735_201603
.asn1 FILE THERE YET!
OBTAINING THE J2735 SPECIFICATION
=================================
...
...
@@ -15,20 +15,22 @@ OBTAINING THE J2735 SPECIFICATION
Go to http://standards.sae.org/j2735_201603/ and download the files.
You should extract the ASN.1 module from there and save it
as the ../
j2735.asn1 file. The ../j2735.asn1
file should start with
as the ../
J2735_201603.asn1 file. This
file should start with
the following line
"DSRC DEFINITIONS AUTOMATIC TAGS ::="
DSRC DEFINITIONS AUTOMATIC TAGS ::=
and end with the "END" token.
Be careful not to copy any non-ASN.1 preambles from that .DOC file.
After obtaining the
j2735.asn1, type `make` in the directory containing
this README file.
After obtaining the
J2735_201603.asn1, type `make` in the directory
containing
this README file.
j2735-dump USAGE
================
The j2735-dump utility may be used to dump the contents of the
UPER-encoded
DSRC message record file:
The j2735-dump utility may be used to dump the contents of the
UPER-encoded
DSRC message record file:
./j2735-dump j2735file.per # Print as XML (BASIC-XER)
...
...
examples/sample.source.LDAP3/Makefile
View file @
d3cc9de0
...
...
@@ -175,7 +175,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all
:
LDAPMessage.c $(TARGET)
$(TARGET)
:
${OBJS}
$(CC)
$(CPPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
$(CC)
$(C
FLAGS)
$(C
PPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
.SUFFIXES
:
.SUFFIXES
:
.c .o
...
...
examples/sample.source.RRC/Makefile
View file @
d3cc9de0
...
...
@@ -4752,7 +4752,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all
:
DL-DCCH-Message.c $(TARGET)
$(TARGET)
:
${OBJS}
$(CC)
$(CPPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
$(CC)
$(C
FLAGS)
$(C
PPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
.SUFFIXES
:
.SUFFIXES
:
.c .o
...
...
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