aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openxc_example/signals.json27
1 files changed, 26 insertions, 1 deletions
diff --git a/openxc_example/signals.json b/openxc_example/signals.json
index a305b959..8d9a2d24 100644
--- a/openxc_example/signals.json
+++ b/openxc_example/signals.json
@@ -66,5 +66,30 @@
},
"handlers": ["handleSteeringWheelMessage"]
}
- }
+ },
+ "diagnostic_messages": [
+ {
+ "bus": "hs",
+ "id": 2015,
+ "mode": 1,
+ "pid": 12,
+ "frequency": 1,
+ "decoder": "handleObd2Pid"
+ },
+ {
+ "bus": "hs",
+ "id": 2016,
+ "mode": 2,
+ "pid": 12,
+ "frequency": 1
+ },
+ {
+ "bus": "hs",
+ "id": 2016,
+ "mode": 22,
+ "pid": 6,
+ "frequency": 1,
+ "decoder": "handleMyDiagRequest"
+ }
+ ]
}