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}
...
@@ -1053,7 +1053,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all
:
MessageFrame.c $(TARGET)
all
:
MessageFrame.c $(TARGET)
$(TARGET)
:
${OBJS}
$(TARGET)
:
${OBJS}
$(CC)
$(CPPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
$(CC)
$(C
FLAGS)
$(C
PPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
.SUFFIXES
:
.SUFFIXES
:
.SUFFIXES
:
.c .o
.SUFFIXES
:
.c .o
...
@@ -1068,10 +1068,10 @@ clean:
...
@@ -1068,10 +1068,10 @@ clean:
regen
:
regenerate-from-asn1-source
regen
:
regenerate-from-asn1-source
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
make regen-makefile
@
touch
MessageFrame.c
@
touch
MessageFrame.c
make
make
...
@@ -1079,7 +1079,7 @@ MessageFrame.c: ../sample.makefile.regen ../j2735.asn1
...
@@ -1079,7 +1079,7 @@ MessageFrame.c: ../sample.makefile.regen ../j2735.asn1
regen-makefile
:
regen-makefile
:
TITLE
=
"J2735 DSRC decoder"
\
TITLE
=
"J2735 DSRC decoder"
\
ASN1CMDOPTS
=
"-fcompound-names -gen-PER"
\
ASN1CMDOPTS
=
"-fcompound-names -gen-PER"
\
ASN1MODULES
=
"../
j2735
.asn1"
\
ASN1MODULES
=
"../
J2735_201603
.asn1"
\
ASN1PDU
=
MessageFrame
\
ASN1PDU
=
MessageFrame
\
PROGNAME
=
j2735-dump
\
PROGNAME
=
j2735-dump
\
CPPFLAGS
=
""
\
CPPFLAGS
=
""
\
...
...
examples/sample.source.J2735/README
View file @
d3cc9de0
...
@@ -5,9 +5,9 @@ GENERAL INFORMATION
...
@@ -5,9 +5,9 @@ GENERAL INFORMATION
The SAE J2735-201603 Dedicated Short Range Communications (DSRC)
The SAE J2735-201603 Dedicated Short Range Communications (DSRC)
Message Set Dictionary decoder.
Message Set Dictionary decoder.
Invoking `make` will compile the ASN.1 specifications from the
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
OBTAINING THE J2735 SPECIFICATION
=================================
=================================
...
@@ -15,20 +15,22 @@ OBTAINING THE J2735 SPECIFICATION
...
@@ -15,20 +15,22 @@ OBTAINING THE J2735 SPECIFICATION
Go to http://standards.sae.org/j2735_201603/ and download the files.
Go to http://standards.sae.org/j2735_201603/ and download the files.
You should extract the ASN.1 module from there and save it
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
the following line
"DSRC DEFINITIONS AUTOMATIC TAGS ::="
DSRC DEFINITIONS AUTOMATIC TAGS ::=
and end with the "END" token.
and end with the "END" token.
Be careful not to copy any non-ASN.1 preambles from that .DOC file.
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
After obtaining the
J2735_201603.asn1, type `make` in the directory
this README file.
containing
this README file.
j2735-dump USAGE
j2735-dump USAGE
================
================
The j2735-dump utility may be used to dump the contents of the
UPER-encoded
The j2735-dump utility may be used to dump the contents of the
DSRC message record file:
UPER-encoded
DSRC message record file:
./j2735-dump j2735file.per # Print as XML (BASIC-XER)
./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}
...
@@ -175,7 +175,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all
:
LDAPMessage.c $(TARGET)
all
:
LDAPMessage.c $(TARGET)
$(TARGET)
:
${OBJS}
$(TARGET)
:
${OBJS}
$(CC)
$(CPPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
$(CC)
$(C
FLAGS)
$(C
PPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
.SUFFIXES
:
.SUFFIXES
:
.SUFFIXES
:
.c .o
.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}
...
@@ -4752,7 +4752,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all
:
DL-DCCH-Message.c $(TARGET)
all
:
DL-DCCH-Message.c $(TARGET)
$(TARGET)
:
${OBJS}
$(TARGET)
:
${OBJS}
$(CC)
$(CPPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
$(CC)
$(C
FLAGS)
$(C
PPFLAGS)
-o
$(TARGET)
${OBJS}
$(LDFLAGS)
$(LIBS)
.SUFFIXES
:
.SUFFIXES
:
.SUFFIXES
:
.c .o
.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