-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsimple_enum_ref.json
112 lines (112 loc) · 2.79 KB
/
simple_enum_ref.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"version": "1.0",
"baudrate": 1000000,
"general_attributes": {
"FloatAtt": {
"float": {
"default": 1.5,
"from": 0.0,
"to": 25.75
}
}
},
"node_attributes": {
"TestString": {
"string": {}
}
},
"message_attributes": {
"VFrameFormat": {
"enum": {
"values": [
"StandardCAN",
"ExtendedCAN",
"reserved",
"J1939PG"
],
"default": "J1939PG"
}
}
},
"signal_attributes": {
"SPN": {
"int": {
"from": 0,
"to": 524287
}
},
"TestFloatAtt": {
"float": {
"default": 1.5,
"from": 0.0,
"to": 25.75
}
}
},
"nodes": {
"Node1": {
"description": "Node1 desc"
},
"Node2": {
"description": "Node2 desc",
"attributes": {
"TestString": "test"
}
}
},
"signal_enums": {
"Status_Enum": {
"Off": 0,
"Idle": 1,
"Running": 2
}
},
"messages": {
"EEC1": {
"id": 2364540158,
"period_ms": 100,
"cycle_time": 10,
"send_type": "IfActive",
"description": "desc 0",
"attributes": {
"VFrameFormat": "StandardCAN"
},
"length": 8,
"sender": "",
"signals": {
"Engine_Speed": {
"description": "desc 1",
"attributes": {
"SPN": 190,
"TestFloatAtt": 10.5
},
"start_bit": 24,
"size": 16,
"endianness": "big",
"signed": false,
"unit": "rpm",
"receivers": [
"Node1",
"Node2"
],
"scale": 0.125,
"offset": 0,
"min": 0,
"max": 8031.875
},
"Engine_Status": {
"description": "desc 2",
"send_type": "Cyclic",
"start_bit": 0,
"size": 2,
"endianness": "little",
"signed": false,
"unit": "status",
"receivers": [],
"enum_ref": "Status_Enum",
"max": 2
}
}
}
}
}