From ab1adbd3a5d69dced58ef2a37d5defea600452e9 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 27 Jul 2018 19:51:52 +0200 Subject: Updated examples files and default configuration Let use the new decoder's function and set some hvac signals as writable to be able to test this feature. Change-Id: I27e1c2be069b8bb55ed931ad1fb629aa2d4e5b86 Signed-off-by: Romain Forlot --- examples/toyota/auris/application-generated.cpp | 22 +++++++++++----------- examples/toyota/auris/signals.json | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'examples/toyota') diff --git a/examples/toyota/auris/application-generated.cpp b/examples/toyota/auris/application-generated.cpp index 3421969d..9bf7c955 100644 --- a/examples/toyota/auris/application-generated.cpp +++ b/examples/toyota/auris/application-generated.cpp @@ -40,7 +40,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -120,7 +120,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })} @@ -142,7 +142,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -160,7 +160,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -178,7 +178,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -196,7 +196,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -214,7 +214,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })} @@ -236,7 +236,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -254,7 +254,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -272,7 +272,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })}, @@ -290,7 +290,7 @@ application_t::application_t() { }, false, - decoder_t::booleanDecoder, + decoder_t::decode_boolean, nullptr, false })} diff --git a/examples/toyota/auris/signals.json b/examples/toyota/auris/signals.json index cd089188..c6345ef4 100644 --- a/examples/toyota/auris/signals.json +++ b/examples/toyota/auris/signals.json @@ -14,35 +14,35 @@ "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "doors.passenger.open": { "generic_name": "doors.front_right.open", "bit_position": 44, "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "doors.rearleft.open": { "generic_name": "doors.rear_left.open", "bit_position": 46, "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "doors.rearright.open": { "generic_name": "doors.rear_right.open", "bit_position": 45, "bit_size": 4, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "doors.coffer.open": { "generic_name": "doors.boot.open", "bit_position": 47, "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"} + "decoder": "decoder_t::decode_boolean"} } }, "0x799": { @@ -54,28 +54,28 @@ "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "windows.passenger.open": { "generic_name": "windows.front_right.open", "bit_position": 44, "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "windows.rearleft.open": { "generic_name": "windows.rear_left.open", "bit_position": 46, "bit_size": 1, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"}, + "decoder": "decoder_t::decode_boolean"}, "windows.rearright.open": { "generic_name": "windows.rear_right.open", "bit_position": 45, "bit_size": 4, "factor": 1.0, "offset": 0, - "decoder": "decoder_t::booleanDecoder"} + "decoder": "decoder_t::decode_boolean"} } }, "0x3D9": { @@ -101,7 +101,7 @@ "bit_size": 1, "factor": 1, "offset": 0, - "decoder": "decoder_t::booleanDecoder" + "decoder": "decoder_t::decode_boolean" } } }, @@ -114,7 +114,7 @@ "bit_size": 1, "factor": 1, "offset": 0, - "decoder": "decoder_t::booleanDecoder" + "decoder": "decoder_t::decode_boolean" }, "PT_EngineOilTemp": { "generic_name": "engine.oil.temp", -- cgit 1.2.3-korg