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
e29e6127
Commit
e29e6127
authored
Aug 04, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skeleton for J2735
parent
752e9735
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1208 additions
and
2 deletions
+1208
-2
examples/README
examples/README
+5
-2
examples/sample.source.J2735/Makefile
examples/sample.source.J2735/Makefile
+1155
-0
examples/sample.source.J2735/README
examples/sample.source.J2735/README
+38
-0
examples/sample.source.J2735/config.h
examples/sample.source.J2735/config.h
+10
-0
No files found.
examples/README
View file @
e29e6127
...
...
@@ -25,8 +25,11 @@ This directory contains a few examples.
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.
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.
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.source.J2735/Makefile
0 → 100644
View file @
e29e6127
This diff is collapsed.
Click to expand it.
examples/sample.source.J2735/README
0 → 100644
View file @
e29e6127
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.
THERE IS NO j2735.asn1 FILE THERE YET!
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
the following line
"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.
j2735-dump USAGE
================
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)
The full list of recognized command line options may be obtained with
> ./j2735-dump -h
examples/sample.source.J2735/config.h
0 → 100644
View file @
e29e6127
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