diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-27 19:51:52 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-27 20:10:42 +0200 |
commit | ab1adbd3a5d69dced58ef2a37d5defea600452e9 (patch) | |
tree | bb1e347e4a954be77fa197df36e8c587818d9941 /examples/agl-vcar/signals.json | |
parent | 742ca13257214eb91e6cd8659b78f91438541354 (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/agl-vcar/signals.json')
-rw-r--r-- | examples/agl-vcar/signals.json | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/examples/agl-vcar/signals.json b/examples/agl-vcar/signals.json index 9fa9b30b..8d64b52d 100644 --- a/examples/agl-vcar/signals.json +++ b/examples/agl-vcar/signals.json @@ -21,28 +21,28 @@ "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", @@ -145,21 +145,24 @@ "bit_position": 0, "bit_size": 8, "factor": 1, - "offset": 0 + "offset": 0, + "writable": true }, "RightTemperature": { "generic_name": "hvac.temperature.right", "bit_position": 8, "bit_size": 8, "factor": 1, - "offset": 0 + "offset": 0, + "writable": true }, "Temperature": { "generic_name": "hvac.temperature.average", "bit_position": 16, "bit_size": 8, "factor": 1, - "offset": 0 + "offset": 0, + "writable": true }, "FanSpeed": { "generic_name": "hvac.fan.speed", |