diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/toyota/signals.json | 63 |
1 files changed, 61 insertions, 2 deletions
diff --git a/examples/toyota/signals.json b/examples/toyota/signals.json index f604224..e6260c1 100644 --- a/examples/toyota/signals.json +++ b/examples/toyota/signals.json @@ -44,9 +44,68 @@ "offset": 0, "decoder": "decoder_t::booleanDecoder"} } - } + }, + "0x3D9": { + "bus": "can0", + "signals": { + "PT_FuelLevelPct": { + "generic_name": "fuel.level", + "bit_position": 8, + "bit_size": 8, + "factor": 0.392157, + "offset": 0 + }, + "PT_EngineSpeed": { + "generic_name": "engine.speed", + "bit_position": 16, + "bit_size": 16, + "factor": 0.25, + "offset": 0 + }, + "PT_FuelLevelLow": { + "generic_name": "fuel.level.low", + "bit_position": 55, + "bit_size": 1, + "factor": 1, + "offset": 0, + "decoder": "decoder_t::booleanDecoder" + } + } }, - "diagnostic_messages": [ + "0x4D1": { + "bus": "can0", + "signals": { + "PT_EngineOilTempHigh": { + "generic_name": "engine.oil.temp.high", + "bit_position": 7, + "bit_size": 1, + "factor": 1, + "offset": 0, + "decoder": "decoder_t::booleanDecoder" + }, + "PT_EngineOilTemp": { + "generic_name": "engine.oil.temp", + "bit_position": 16, + "bit_size": 8, + "factor": 1, + "offset": 0 + } + } + }, + "0x3E9": { + "bus": "can0", + "signals": { + "PT_VehicleAvgSpeed": { + "generic_name": "vehicle.average.speed", + "bit_position": 0, + "bit_size": 15, + "factor": 0.015625, + "offset": 0 + } + } + } + }, +"diagnostic_messages": [ { "bus": "can0", "pid": 4, |