Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add new decoders bytes for signal of long size
[apps/agl-service-can-low-level.git]
/
examples
/
engine
/
signals.json
diff --git
a/examples/engine/signals.json
b/examples/engine/signals.json
index
5aaf656
..
c8c4609
100644
(file)
--- a/
examples/engine/signals.json
+++ b/
examples/engine/signals.json
@@
-1,4
+1,5
@@
{ "name": "example",
{ "name": "example",
+ "version": "2.0",
"extra_sources": [],
"initializers": [],
"loopers": [],
"extra_sources": [],
"initializers": [],
"loopers": [],
@@
-7,6
+8,9
@@
"messages": {
"0x3D9": {
"bus": "hs",
"messages": {
"0x3D9": {
"bus": "hs",
+ "is_fd" : false,
+ "is_extended": false,
+ "is_j1939" : false,
"signals": {
"PT_FuelLevelPct": {
"generic_name": "fuel.level",
"signals": {
"PT_FuelLevelPct": {
"generic_name": "fuel.level",
@@
-28,12
+32,15
@@
"bit_size": 1,
"factor": 1,
"offset": 0,
"bit_size": 1,
"factor": 1,
"offset": 0,
- "decoder": "decoder_t::
booleanDecoder
"
+ "decoder": "decoder_t::
decode_boolean
"
}
}
},
"0x4D1": {
"bus": "hs",
}
}
},
"0x4D1": {
"bus": "hs",
+ "is_fd" : false,
+ "is_extended": false,
+ "is_j1939" : false,
"signals": {
"PT_EngineOilTempHigh": {
"generic_name": "engine.oil.temp.high",
"signals": {
"PT_EngineOilTempHigh": {
"generic_name": "engine.oil.temp.high",
@@
-41,7
+48,7
@@
"bit_size": 1,
"factor": 1,
"offset": 0,
"bit_size": 1,
"factor": 1,
"offset": 0,
- "decoder": "decoder_t::
booleanDecoder
"
+ "decoder": "decoder_t::
decode_boolean
"
},
"PT_EngineOilTemp": {
"generic_name": "engine.oil.temp",
},
"PT_EngineOilTemp": {
"generic_name": "engine.oil.temp",
@@
-54,6
+61,9
@@
},
"0x3E9": {
"bus": "hs",
},
"0x3E9": {
"bus": "hs",
+ "is_fd" : false,
+ "is_extended": false,
+ "is_j1939" : false,
"signals": {
"PT_VehicleAvgSpeed": {
"generic_name": "vehicle.average.speed",
"signals": {
"PT_VehicleAvgSpeed": {
"generic_name": "vehicle.average.speed",