6 The AmbSignalMapper tool serves basic utilities for AMB signal mapping process.
7 Two workflows exist: a classic workflow with an intermediate file and a "direct"
8 workflow with an *.msg file.
12 It should take place in three steps:
14 1. Vector CANdb++ conversion into intermediate file (First phase)
15 2. Manual annotation of intermediate file (Second phase)
16 3. Processing of intermediate file and AMB plugin and WebIDL creation (Third phase)
18 The First phase is achieved by software utolity called dbc2json.
19 The second phase needs to be done by humans manually.
20 The third phase is again covered by software utolity called json2amb.
24 This workflow is designed for generation of production code. It consists of three steps:
25 1. Obtain a *.dbc file
26 2. Prepare a special *.msg message definition file
27 3. Generate AMB plugin by running
28 dbc2amb I<dbc file> I<msg file> I<outdir> I<plugin name>
30 *.msg file contains message definitions marked by the keyword B<RECEIVE>. Messages can be
31 selected by name "Message1" or by id with b<@> prefix "@141". An asterisk can be specified
32 instead of the list of signals to select all signals.
38 RECEIVE Message2.Signal2;
45 Perl version 5.006 or higher.
47 The following modules are needed to succesfuly build and run the AmbSignalMapper tool:
59 These modules are optional for executing moodule tests:
61 'Test::Pod::Coverage',
63 The following command is an example of Data::UUID module instalation.
64 Note that sudo credentials might be needed on users linux box.
66 cpan install Data::UUID
70 To install this module, run the following commands:
77 SUPPORT AND DOCUMENTATION
79 After installing, you can find documentation for this module with the
90 Copyright (C) 2014 Intel Corporation
92 This library is free software; you can redistribute it and/or
93 modify it under the terms of the GNU Lesser General Public
94 License as published by the Free Software Foundation; either
95 version 2.1 of the License, or (at your option) any later version.
97 This library is distributed in the hope that it will be useful,
98 but WITHOUT ANY WARRANTY; without even the implied warranty of
99 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
100 Lesser General Public License for more details.
102 You should have received a copy of the GNU Lesser General Public
103 License along with this library; if not, write to the Free Software
104 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA