GATEWAY-EW24
[AGL/meta-agl-demo.git] / recipes-connectivity / vss / vss-agl / agl_vss_overlay.vspec.gw-hardware
1 # DBC mappings for other signals for V2C demo
2
3 # DBC mappings for demo HVAC
4
5 Vehicle.Cabin.HVAC.Station.Row1.Driver.Temperature:
6   datatype: int8
7   type: actuator
8   vss2dbc:
9     signal: PT_TempLeft
10
11 Vehicle.Cabin.HVAC.Station.Row1.Passenger.Temperature:
12   datatype: int8
13   type: actuator
14   vss2dbc:
15     signal: PT_TempRight
16
17 Vehicle.Cabin.HVAC.Station.Row1.Driver.FanSpeed:
18   datatype: uint8
19   type: actuator
20   vss2dbc:
21     signal: PT_FanSpeed
22
23 #
24 # AGL VSS additions
25 #
26
27 # Extra navigation state signals
28
29 Vehicle.Cabin.Infotainment.Navigation.State:
30   datatype: string
31   type: sensor
32   allowed: [ 'UNKNOWN', 'ACTIVE', 'ARRIVED', 'STOPPED' ]
33   description: Navigation state.
34
35 Vehicle.Cabin.Infotainment.Navigation.ElapsedDistance:
36   datatype: float
37   type: sensor
38   unit: km
39   description: Navigation elapsed distance.
40
41
42 # Extra audio control signals
43
44 Vehicle.Cabin.Infotainment.Media.Audio:
45   type: branch
46   description: Media audio controls.
47
48 Vehicle.Cabin.Infotainment.Media.Audio.Balance:
49   datatype: int8
50   type: actuator
51   min: -100
52   max: 100
53   unit: percent
54   description: Audio left/right balance.
55
56 Vehicle.Cabin.Infotainment.Media.Audio.Fade:
57   datatype: int8
58   type: actuator
59   min: -100
60   max: 100
61   unit: percent
62   description: Audio front/rear balance.
63
64 Vehicle.Cabin.Infotainment.Media.Audio.Bass:
65   datatype: int8
66   type: actuator
67   min: -100
68   max: 100
69   unit: percent
70   description: Audio low-frequency filter control.
71
72 Vehicle.Cabin.Infotainment.Media.Audio.Treble:
73   datatype: int8
74   type: actuator
75   min: -100
76   max: 100
77   unit: percent
78   description: Audio high-frequency filter control.
79
80
81 # Extra steering wheel switch signals, including DBC mappings
82
83 Vehicle.Cabin.SteeringWheel:
84   type: branch
85   description: AGL steering wheel demo data.
86
87 Vehicle.Cabin.SteeringWheel.Switches:
88   type: branch
89   description: AGL steering wheel demo switch data.
90
91 Vehicle.Cabin.SteeringWheel.Switches.VolumeUp:
92   datatype: boolean
93   type: sensor
94   description: Steering wheel volume up switch engaged.
95   dbc2vss:
96     signal: SW_VolumeUp
97     on_change: true
98     transform:
99       mapping:
100         - from: 0
101           to: false
102         - from: 1
103           to: true
104
105 Vehicle.Cabin.SteeringWheel.Switches.VolumeDown:
106   datatype: boolean
107   type: sensor
108   description: Steering wheel volume down switch engaged.
109   dbc2vss:
110     signal: SW_VolumeDown
111     on_change: true
112     transform:
113       mapping:
114         - from: 0
115           to: false
116         - from: 1
117           to: true
118
119 Vehicle.Cabin.SteeringWheel.Switches.VolumeMute:
120   datatype: boolean
121   type: sensor
122   description: Steering wheel volume mute switch engaged.
123   dbc2vss:
124     signal: SW_VolumeMute
125     on_change: true
126     transform:
127       mapping:
128         - from: 0
129           to: false
130         - from: 1
131           to: true
132
133 Vehicle.Cabin.SteeringWheel.Switches.Next:
134   datatype: boolean
135   type: sensor
136   description: Steering wheel next switch engaged.
137   dbc2vss:
138     signal: SW_Next
139     on_change: true
140     transform:
141       mapping:
142         - from: 0
143           to: false
144         - from: 1
145           to: true
146
147 Vehicle.Cabin.SteeringWheel.Switches.Previous:
148   datatype: boolean
149   type: sensor
150   description: Steering wheel previous switch engaged.
151   dbc2vss:
152     signal: SW_Previous
153     on_change: true
154     transform:
155       mapping:
156         - from: 0
157           to: false
158         - from: 1
159           to: true
160
161 Vehicle.Cabin.SteeringWheel.Switches.Mode:
162   datatype: boolean
163   type: sensor
164   description: Steering wheel mode switch engaged.
165   dbc2vss:
166     signal: SW_Mode
167     on_change: true
168     transform:
169       mapping:
170         - from: 0
171           to: false
172         - from: 1
173           to: true
174
175 Vehicle.Cabin.SteeringWheel.Switches.Info:
176   datatype: boolean
177   type: sensor
178   description: Steering wheel info switch engaged.
179   dbc2vss:
180     signal: SW_Info
181     on_change: true
182     transform:
183       mapping:
184         - from: 0
185           to: false
186         - from: 1
187           to: true
188
189 Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable:
190   datatype: boolean
191   type: sensor
192   description: Steering wheel cruise enable switch engaged.
193   dbc2vss:
194     signal: SW_CruiseEnable
195     on_change: true
196     transform:
197       mapping:
198         - from: 0
199           to: false
200         - from: 1
201           to: true
202
203 Vehicle.Cabin.SteeringWheel.Switches.CruiseSet:
204   datatype: boolean
205   type: sensor
206   description: Steering wheel cruise set switch engaged.
207   dbc2vss:
208     signal: SW_CruiseSet
209     on_change: true
210     transform:
211       mapping:
212         - from: 0
213           to: false
214         - from: 1
215           to: true
216
217 Vehicle.Cabin.SteeringWheel.Switches.CruiseResume:
218   datatype: boolean
219   type: sensor
220   description: Steering wheel cruise resume switch engaged.
221   dbc2vss:
222     signal: SW_CruiseResume
223     on_change: true
224     transform:
225       mapping:
226         - from: 0
227           to: false
228         - from: 1
229           to: true
230
231 Vehicle.Cabin.SteeringWheel.Switches.CruiseCancel:
232   datatype: boolean
233   type: sensor
234   description: Steering wheel cruise cancel switch engaged.
235   dbc2vss:
236     signal: SW_CruiseCancel
237     on_change: true
238     transform:
239       mapping:
240         - from: 0
241           to: false
242         - from: 1
243           to: true
244
245 Vehicle.Cabin.SteeringWheel.Switches.CruiseLimit:
246   datatype: boolean
247   type: sensor
248   description: Steering wheel cruise limit switch engaged.
249   dbc2vss:
250     signal: SW_CruiseLimit
251     on_change: true
252     transform:
253       mapping:
254         - from: 0
255           to: false
256         - from: 1
257           to: true
258
259 Vehicle.Cabin.SteeringWheel.Switches.CruiseDistance:
260   datatype: boolean
261   type: sensor
262   description: Steering wheel cruise distance switch engaged.
263   dbc2vss:
264     signal: SW_CruiseDistance
265     on_change: true
266     transform:
267       mapping:
268         - from: 0
269           to: false
270         - from: 1
271           to: true
272
273 Vehicle.Cabin.SteeringWheel.Switches.Voice:
274   datatype: boolean
275   type: sensor
276   description: Steering wheel voice switch engaged.
277   dbc2vss:
278     signal: SW_Voice
279     on_change: true
280     transform:
281       mapping:
282         - from: 0
283           to: false
284         - from: 1
285           to: true
286
287 Vehicle.Cabin.SteeringWheel.Switches.PhoneCall:
288   datatype: boolean
289   type: sensor
290   description: Steering wheel phone call switch engaged.
291   dbc2vss:
292     signal: SW_PhoneCall
293     on_change: true
294     transform:
295       mapping:
296         - from: 0
297           to: false
298         - from: 1
299           to: true
300
301 Vehicle.Cabin.SteeringWheel.Switches.PhoneHangup:
302   datatype: boolean
303   type: sensor
304   description: Steering wheel phone hangup switch engaged.
305   dbc2vss:
306     signal: SW_PhoneHangup
307     on_change: true
308     transform:
309       mapping:
310         - from: 0
311           to: false
312         - from: 1
313           to: true
314
315 Vehicle.Cabin.SteeringWheel.Switches.Horn:
316   datatype: boolean
317   type: sensor
318   description: Steering wheel horn switch engaged.
319   dbc2vss:
320     signal: SW_Horn
321     on_change: true
322     transform:
323       mapping:
324         - from: 0
325           to: false
326         - from: 1
327           to: true
328
329 Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning:
330   datatype: boolean
331   type: sensor
332   description: Steering wheel lane departure warning switch engaged.
333   dbc2vss:
334     signal: SW_LaneDepartureWarning
335     on_change: true
336     transform:
337       mapping:
338         - from: 0
339           to: false
340         - from: 1
341           to: true