summaryrefslogtreecommitdiff
path: root/tools/AmbSignalMapper/dbc2json.html
blob: e16cdf0430461fc8f99808bad65e2ec8a349b960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<html><head><title>dbc2json</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
</head>
<body class='pod'>
<!--
  generated by Pod::Simple::HTML v3.22,
  using Pod::Simple::PullParser v3.22,
  under Perl v5.014002 at Tue Jan  7 15:04:44 2014 GMT.

 If you want to change this HTML document, you probably shouldn't do that
   by changing it directly.  Instead, see about changing the calling options
   to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<a name='___top' class='dummyTopAnchor' ></a>

<h1><a class='u'
name="NAME"
>NAME</a></h1>

<p>dbc2json - Vector CANdb++ to JSON file format converter.</p>

<h1><a class='u'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<p><b>dbc2json</b> <i>infile</i> [ <i>outfile</i> ]</p>

<h1><a class='u'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>Part of Automotive Message Broker Signal Mapper tool.</p>

<p><b>dbc2json</b> converts file in Vector CANdb++ format to intermediate JSON file.</p>

<p>Intermediate file is used to format and annotate raw data from CANDb++ file into format suitable for AMB plugin creation.</p>

<h1><a class='u'
name="OPTIONS"
>OPTIONS</a></h1>

<dl>
<dt><a name="infile"
><i>infile</i></a></dt>

<dd>
<p>Input <i>infile</i> file in Vector CANdb++ (*.dbc) format.</p>

<dt><a name="[_outfile_]"
>[ <i>outfile</i> ]</a></dt>

<dd>
<p>Target output <i>outfile</i> file converted to JSON,
otherwise created in current directory.</p>
</dd>
</dl>

<h1><a class='u'
name="FILES"
>FILES</a></h1>

<h1><a class='u'
name="REQUIRES"
>REQUIRES</a></h1>

<p>Perl 5.006,
Intel::IviPoc::DbcGrammar,
File::Basename,
File::Spec,
Cwd,
JSON</p>

<h1><a class='u'
name="SEE_ALSO"
>SEE ALSO</a></h1>

<p>perl(1),
json2amb(1)</p>

<h2><a class='u'
name="readFileContent"
>readFileContent</a></h2>

<p>Reads and returns the whole content of given file.</p>

<h2><a class='u'
name="printWait"
>printWait</a></h2>

<p>Prints out wait information</p>

<h2><a class='u'
name="printUsage"
>printUsage</a></h2>

<p>Prints out basic usage help</p>

<h1><a class='u'
name="AUTHOR"
>AUTHOR</a></h1>

<p>IntelIVIPoc,
<code>&#60;ivipoc at intel.com&#62;</code></p>

<h1><a class='u'
name="SUPPORT"
>SUPPORT</a></h1>

<p>You can find documentation for this module with the perldoc command.</p>

<pre>    perldoc dbc2json</pre>

<h1><a class='u'
name="ACKNOWLEDGEMENTS"
>ACKNOWLEDGEMENTS</a></h1>

<h1><a class='u'
name="LICENSE_AND_COPYRIGHT"
>LICENSE AND COPYRIGHT</a></h1>

<p>Copyright (C) 2014  Intel Corporation

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA</p>
<!-- end doc -->

</body></html>