aboutsummaryrefslogtreecommitdiffstats
path: root/examples/toyota/signals.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/toyota/signals.json')
-rw-r--r--examples/toyota/signals.json63
1 files changed, 61 insertions, 2 deletions
diff --git a/examples/toyota/signals.json b/examples/toyota/signals.json
index f6042244..e6260c1a 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,