summaryrefslogtreecommitdiffstats
path: root/examples/toyota/configuration-generated.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-18 16:52:34 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-18 16:52:34 +0000
commitf6dcb18fa4d6637b0e9a2ff7eb39f2fe98e815d6 (patch)
tree208c098e5d2632e4b1d5a1b54847ed51c90f4249 /examples/toyota/configuration-generated.cpp
parenta78660995f1576b3757f08c424e412371de97e6c (diff)
Improve Toyota examples.
Generate a new version of the configuration generated for Toyota Auris 2010. Remove the one from src directory. It has to be paste prior to build the binding once generated. Change-Id: I0b8e5415df0d0fade70dfa193ad45770c6db38dd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'examples/toyota/configuration-generated.cpp')
-rw-r--r--examples/toyota/configuration-generated.cpp73
1 files changed, 65 insertions, 8 deletions
diff --git a/examples/toyota/configuration-generated.cpp b/examples/toyota/configuration-generated.cpp
index fe8b56d..b7a761e 100644
--- a/examples/toyota/configuration-generated.cpp
+++ b/examples/toyota/configuration-generated.cpp
@@ -2,11 +2,10 @@
#include "can/can-decoder.hpp"
configuration_t::configuration_t()
- : can_message_set_{{0, "example", 0, 2, 2, 0, 19}}
+ : can_message_set_{{0, "example", 0, 1, 5, 0, 19}}
, can_message_definition_
{
{
- can_message_definition_t(0, "vcan0", 0x442, can_message_format_t::STANDARD, frequency_clock_t(0.00000f), true),
can_message_definition_t(0, "vcan0", 0x620, can_message_format_t::STANDARD, frequency_clock_t(0.00000f), true)
}
}
@@ -16,9 +15,29 @@ configuration_t::configuration_t()
{
0,
0,
- "doors.passenger.open",
+ "doors.coffer.open",
+ 88,
+ 1,
+ 0.00000f,
+ 0,
0,
- 4,
+ 0,
+ frequency_clock_t(0.00000f),
+ true,
+ false,
+ {
+ },
+ false,
+ decoder_t::booleanDecoder,
+ nullptr,
+ false
+ },
+ {
+ 0,
+ 0,
+ "doors.driver.open",
+ 78,
+ 1,
0.00000f,
0,
0,
@@ -32,14 +51,52 @@ configuration_t::configuration_t()
decoder_t::booleanDecoder,
nullptr,
false
- }
- },
- {
+ },
{
0,
+ 0,
+ "doors.passenger.open",
+ 79,
1,
- "doors.driver.open",
+ 0.00000f,
+ 0,
+ 0,
+ 0,
+ frequency_clock_t(0.00000f),
+ true,
+ false,
+ {
+ },
+ false,
+ decoder_t::booleanDecoder,
+ nullptr,
+ false
+ },
+ {
+ 0,
+ 0,
+ "doors.rearleft.open",
+ 86,
+ 1,
+ 0.00000f,
+ 0,
+ 0,
+ 0,
+ frequency_clock_t(0.00000f),
+ true,
+ false,
+ {
+ },
+ false,
+ decoder_t::booleanDecoder,
+ nullptr,
+ false
+ },
+ {
+ 0,
0,
+ "doors.rearright.open",
+ 85,
4,
0.00000f,
0,