aboutsummaryrefslogtreecommitdiffstats
path: root/openxc_example/signals.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-12 19:24:54 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:41 +0100
commit62eb024d989037ae7f2ba86de8b68c826cb61ec9 (patch)
treecbd5eaa475a821af0fbb863de37b711668822163 /openxc_example/signals.json
parent065a5bdef8c37f8b0466f63e48443dab31e86431 (diff)
Adding diagnostic_messages from diagnostic.json file
from openxc example. The json is now a mixed example between CAN messages and diagnostic messages. Change-Id: I94ed5ac7d48e1fb1bb42b3df00d953d45ee0fc7d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'openxc_example/signals.json')
-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"
+ }
+ ]
}