diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2017-03-17 13:23:11 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2017-03-17 13:23:30 +0100 |
commit | a78660995f1576b3757f08c424e412371de97e6c (patch) | |
tree | fc888ef153534179f4c3f59bd5bcb2ab4600ffd4 /examples/toyota/signals.json | |
parent | eeb92db3cfb07c1d09647edf9406b245b12095be (diff) |
added toyota's exemple.
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'examples/toyota/signals.json')
-rw-r--r-- | examples/toyota/signals.json | 169 |
1 files changed, 169 insertions, 0 deletions
diff --git a/examples/toyota/signals.json b/examples/toyota/signals.json new file mode 100644 index 0000000..037b4d7 --- /dev/null +++ b/examples/toyota/signals.json @@ -0,0 +1,169 @@ +{ "name": "example", + "extra_sources": [], + "initializers": [], + "loopers": [], + "buses": {}, + "commands": [], + "messages": { + "0x620": { + "bus": "vcan0", + "signals": { + "doors.driver.open": { + "generic_name": "doors.driver.open", + "bit_position": 0, + "bit_size": 4, + "factor": 0, + "offset": 0, + "decoder": "decoder_t::booleanDecoder"} + } + }, + "0x442": { + "bus": "vcan0", + "signals": { + "doors.passenger.open": { + "generic_name": "doors.passenger.open", + "bit_position": 0, + "bit_size": 4, + "factor": 0, + "offset": 0, + "decoder": "decoder_t::booleanDecoder"} + } + } + }, + "diagnostic_messages": [ + { + "bus": "vcan0", + "pid": 4, + "name": "engine.load", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 5, + "name": "engine.coolant.temperature", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 10, + "name": "fuel.pressure", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 11, + "name": "intake.manifold.pressure", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 12, + "name": "engine.speed", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 13, + "name": "vehicle.speed", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 15, + "name": "intake.air.temperature", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 16, + "name": "mass.airflow", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 17, + "name": "throttle.position", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 31, + "name": "running.time", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 45, + "name": "EGR.error", + "frequency": 0, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 47, + "name": "fuel.level", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 51, + "name": "barometric.pressure", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 76, + "name": "commanded.throttle.position", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 82, + "name": "ethanol.fuel.percentage", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 90, + "name": "accelerator.pedal.position", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 91, + "name": "hybrid.battery-pack.remaining.life", + "frequency": 5, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 92, + "name": "engine.oil.temperature", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + }, + { + "bus": "vcan0", + "pid": 99, + "name": "engine.torque", + "frequency": 1, + "decoder": "decoder_t::decode_obd2_response" + } + + ] +} |