aboutsummaryrefslogtreecommitdiffstats
path: root/examples/engine
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-27 19:51:52 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-27 20:10:42 +0200
commitab1adbd3a5d69dced58ef2a37d5defea600452e9 (patch)
treebb1e347e4a954be77fa197df36e8c587818d9941 /examples/engine
parent742ca13257214eb91e6cd8659b78f91438541354 (diff)
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'examples/engine')
-rw-r--r--examples/engine/application-generated.cpp4
-rw-r--r--examples/engine/signals.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/engine/application-generated.cpp b/examples/engine/application-generated.cpp
index cc123b7d..6c395957 100644
--- a/examples/engine/application-generated.cpp
+++ b/examples/engine/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
})}
diff --git a/examples/engine/signals.json b/examples/engine/signals.json
index 5aaf6564..83ed38e2 100644
--- a/examples/engine/signals.json
+++ b/examples/engine/signals.json
@@ -28,7 +28,7 @@
"bit_size": 1,
"factor": 1,
"offset": 0,
- "decoder": "decoder_t::booleanDecoder"
+ "decoder": "decoder_t::decode_boolean"
}
}
},
@@ -41,7 +41,7 @@
"bit_size": 1,
"factor": 1,
"offset": 0,
- "decoder": "decoder_t::booleanDecoder"
+ "decoder": "decoder_t::decode_boolean"
},
"PT_EngineOilTemp": {
"generic_name": "engine.oil.temp",