summaryrefslogtreecommitdiffstats
path: root/examples/toyota/signals.json
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/signals.json
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/signals.json')
-rw-r--r--examples/toyota/signals.json37
1 files changed, 26 insertions, 11 deletions
diff --git a/examples/toyota/signals.json b/examples/toyota/signals.json
index 037b4d72..b9d20409 100644
--- a/examples/toyota/signals.json
+++ b/examples/toyota/signals.json
@@ -10,25 +10,41 @@
"signals": {
"doors.driver.open": {
"generic_name": "doors.driver.open",
- "bit_position": 0,
- "bit_size": 4,
+ "bit_position": 78,
+ "bit_size": 1,
"factor": 0,
"offset": 0,
- "decoder": "decoder_t::booleanDecoder"}
- }
- },
- "0x442": {
- "bus": "vcan0",
- "signals": {
+ "decoder": "decoder_t::booleanDecoder"},
"doors.passenger.open": {
"generic_name": "doors.passenger.open",
- "bit_position": 0,
+ "bit_position": 79,
+ "bit_size": 1,
+ "factor": 0,
+ "offset": 0,
+ "decoder": "decoder_t::booleanDecoder"},
+ "doors.rearleft.open": {
+ "generic_name": "doors.rearleft.open",
+ "bit_position": 86,
+ "bit_size": 1,
+ "factor": 0,
+ "offset": 0,
+ "decoder": "decoder_t::booleanDecoder"},
+ "doors.rearright.open": {
+ "generic_name": "doors.rearright.open",
+ "bit_position": 85,
"bit_size": 4,
"factor": 0,
"offset": 0,
+ "decoder": "decoder_t::booleanDecoder"},
+ "doors.coffer.open": {
+ "generic_name": "doors.coffer.open",
+ "bit_position": 88,
+ "bit_size": 1,
+ "factor": 0,
+ "offset": 0,
"decoder": "decoder_t::booleanDecoder"}
- }
}
+ }
},
"diagnostic_messages": [
{
@@ -164,6 +180,5 @@
"frequency": 1,
"decoder": "decoder_t::decode_obd2_response"
}
-
]
}