aboutsummaryrefslogtreecommitdiffstats
path: root/examples/engine/signals.json
blob: 83ed38e2def9e0a08a7c47c876061c180064755b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{   "name": "example",
	"extra_sources": [],
	"initializers": [],
	"loopers": [],
	"buses": {},
	"commands": [],
	"messages": {
	"0x3D9": {
	"bus": "hs",
	"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::decode_boolean"
		}
	}
	},
		"0x4D1": {
		"bus": "hs",
		"signals": {
			"PT_EngineOilTempHigh": {
				"generic_name": "engine.oil.temp.high",
				"bit_position": 7,
				"bit_size": 1,
				"factor": 1,
				"offset": 0,
				"decoder": "decoder_t::decode_boolean"
			},
			"PT_EngineOilTemp": {
				"generic_name": "engine.oil.temp",
				"bit_position": 16,
				"bit_size": 8,
				"factor": 1,
				"offset": 0
			}
		}
		},
		"0x3E9": {
		"bus": "hs",
		"signals": {
			"PT_VehicleAvgSpeed": {
				"generic_name": "vehicle.average.speed",
				"bit_position": 0,
				"bit_size": 15,
				"factor": 0.015625,
				"offset": 0
			}
		}
	}
}
}