summaryrefslogtreecommitdiff
path: root/docs/amb.in.fidl
blob: 8d4ed46b096c6a7d6f5b8500d55308ee8417054a (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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
/**
 * \addtogroup dbus_api_module
 *  @{
 */

/*!
* \file amb.fidl
* \section dbus_api Automotive Message Broker DBus API Documentation
* \version @PROJECT_VERSION@
*
* \section dbus_api_intro Introduction
* This document describes the DBus interfaces and data types for the
* Automotive Message Broker API.  The data types are intended to as-close-as-
* possible be compatible with the W3C vehicle <a href="https://rawgit.com/w3c/automotive-bg/master/data_spec.html">data spec</a>.
*
* AMB organizes the API into two general interface categories.  First the Manager interface (see manager.txt)
* which includes tools for using the other interfaces.  Second is a number of interfaces that
* represent vehicle data.  The latter follows the schema of "org.automotive.DataType" and are
* contained in verious DBus paths.  The DBus paths are generally organized by
* /{source}/{zone}/DataType.  "source" refers to the AMB source that produces the data.  "zone"
* refers to the zone in which the data type is located in the vehicle or "0" for no zone.
*
* The interfaces and data types are documented in <a href="amb.fidl">amb.fidl</a>.  Franca IDL
* tools can be used to generate DBus introspection xml which can be used to generate bindings
* for your language of choice.  These interfaces types map to internal AMB properties.  To understand the mappings,
* see the <a href="ambdbusmappings_8idl.html">mapping documentation</a>
*
* \section dbus_api_basic_usage Basic Recommended Usage
*
* It is recommended that the Manager interface be used to find the DBus Object that contains the
* data type you need.  This is done through the FindObject() call.  It is expected that DBus
* Object Paths may change and so it is not appropriate to hard code DBus Object Paths.
*
* Here is a pseudo-code example of how the api is to be used:
*
* \code
* var manager = dbus.interface("org.automotive.Manager", "/");
*
* var speedObjectPaths = manager.FindObject("VehicleSpeed");
*
* var speedObject = dbus.interface("org.automotive.VehicleSpeed", speedObjectPaths[0]);
*
* console.log("Vehicle Speed: " + speedObject.Speed);
* \endcode
* \section dbus_api_automotive_manager Automotive Manager
* Manager is a helper interface for discovering and finding available objects.  Manager also helps users look up objects by zone and get additional information about a data type (ieorg.automotive.Manager.ZonesForObjectName).
* \section dbus_api_zones Zones
*
* 'Zone' describes the position in the vehicle where the object is located.  The Zone type is a bitfield of values that can be combined to describe a specific location.  For example
*
* \code
* Zone.Front | Zone.Left
* \endcode
*
* (which is '9') may represent the driver position.
*
* \code
* enumeration Zone {
*   None = 0,
*   Front = 1,
*   Middle = 1 << 1,
*   Right = 1 << 2,
*   Left = 1 << 3,
*   Rear = 1 << 4,
*   Center = 1 << 5
* }
* \endcode
*
* \section dbus_api_vehicle_property_type Vehicle Property Type
* Vehicle Property Type is the common interface which all Data types are derived.  This interface is as follows:
*
* \code
* interface VehiclePropertyType {
*   attribute Double Time readonly
*   attribute Zone Zone readonly
*   method GetHistory(Double beginTime, Double endTime) {
*     out{ Dictionary result}
*   }
* }
* \endcode
*
* \section dbus_api_data_types Data types
*
* The data types try to conform to the [http://w3c.github.io/automotive-bg/data_spec.html W3C Automotive Business Group Vehicle Data Specification] as much as possible.  There are differences in the Zone type, and this vehicle API contains some additional data types that the W3C Business Group has not yet defined.  'Time' also represents relative time in seconds rather than time in ms since epoch (DOMTimeStamp).  The names of the attributes are also different because of Web vs. DBus conventions.  In this Vehicle API, DBus properties use CamelCase (ie Speed vs speed) vs lowerCamelCase.  Units and types are the same where possible.
*
* Also note that many types have been marked "deprecated" and replaced with the W3C version of the type.  Deprecated types should not be used in new projects.
*
*/

/** @} */

/*!
* Variant
*/
union Variant {
  UInt8 uint8
  Int8 int8
  UInt16 uint16
  Int16 int16
  UInt32 uint32
  Int32 int32
  UInt32 uin32
  Int64 int64
  UInt64 uint64
  Boolean boolean
  Float float
  Double double
  String string
  ByteBuffer bytebuffer
}

/*!
* Dictionary
*/
map Dictionary {
  String to Variant
}

/*!
 * \brief HistoryObject is returned with GetHistory call
 */
interface HistoryObject {

  /*!
  * \brief Name of property
  */
  attribute String Name readonly

  /*!
  * \brief Value of property
  */
  attribute Variant Value readonly

  /*!
  * \brief Time in seconds since unix epoch.
  */
  attribute Double Time readonly
}

/*!
* VehiclePropertyType
* \brief VehiclePropertyType is the base class for all Data types.
*/
interface VehiclePropertyType {

  /*!
  * \brief time in seconds since system start when a property in the interface updated.
  */
  attribute Double Time readonly

  /*!
  * \brief Zone in which the interface is situated.
  */
  attribute Zone Zone readonly

  /*!
  * \brief return dictionary of objectName and values for data between
  * 'beginTime' and 'endTime'
  * \arg beginTime time stamp in Seconds since Unix Epoc
  * \arg endTime time stamp in Seconds since Unix Epoc
  */
  method GetHistory(Double beginTime, Double endTime) {
	out{ array of HistoryObject result }
  }
}

enumeration Zone {
  None = 0,
  Front = 1,
  Middle = 1 << 1,
  Right = 1 << 2,
  Left = 1 << 3,
  Rear = 1 << 4,
  Center = 1 << 5
}

/*! org.automotive.Manager
 * \brief Manager is a helper interface for discovering and finding available objects.
 * Objects represent interfaces to data types.
 */
interface org.automotive.Manager  {

  /*! List
   *  \brief return supported properties
  */
  method List {
	out {array of String objectNames}
  }

  /*!
   * FindObject
   *  \brief find the DBus object path matching the given "objectName" (ie "VehicleSpeed" is the object name for
   * the DBus object at path: "/path/to/VehicleSpeed") or org.automotive.Manager.ObjectNotFound if the object
   * name is not supported.
   *
   *  If the object path does not exist, it will be created.  The object path will be removed
   *  when the last proccess that calls Find* disconnects from DBus.
   *
   *  \arg String objectName to find
   *  \return list of object paths that provide the given object Name.
  */
  method FindObject {
	in {
	  String objectName
	}
	out {
	  array of String objectPaths
	}
  }

  /*!
   * FindObjectForZone
   *  \brief find the DBus object path which matches "objectName" and "zone".  This has the same behavior as FindObject
   * except that it takes an addition zone argument and only return the path for that zone.
   *  \arg String property is the requested property to be retrieved.
   *  \arg Zone zone is the zone which the object
   *  \return string representing the DBus Object path.
   *  Possible errors:
   * "org.automotive.Manager.InvalidZone"
   * "org.automotive.Manager.ObjectNotFound"
  */
  method FindObjectForZone {
	in {
	  String objectName
	  Zone zone
	}
	out {
	  String objectPath
	}
  }

  /*!
   * ZonesForObjectName
   *  \brief get a list of zones for a given objectName.
   *  \arg String objectName object name.
   *  \return list of zones for the given objectName (@see Zone)
  */
  method ZonesForObjectName {
	in {
	  String objectName
	}
	out {
	  array of UInt32 zones
	}
  }

  /*!
   * SupportsProperty
   * \brief check whether a Property exists.
   * \arg propertyName name of property of Object
   * \return true if Property exists
   **/
  method SupportsProperty {
	in {
	  String propertyName
	}
	out {
	  Boolean supported
	}
  }

  /*!
   * SourcesForObjectName
   * \brief get a list of sources for the object name
   * \arg object name
   * \return list of source id's
   **/
   method SourcesForObjectName {
	 in {
	   String objectName
	 }
	 out {
	   array of String sourceIds
	 }

}

/*! org.automotive.VehicleSpeed
 \brief contains information about VehicleSpeed
 DBus Path: variable
*/
interface org.automotive.VehicleSpeed extends VehiclePropertyType  {

  /*!  Speed
   *   \brief  MUST return Vehicle Speed in kilometers per hour.
   */
  attribute UInt16 Speed readonly
}

/*! org.automotive.EngineSpeed
 \brief contains information about EngineSpeed
 DBus Path: variable
*/
interface org.automotive.EngineSpeed extends VehiclePropertyType  {

  /*!  EngineSpeed
   *   \brief  MUST return Engine Speed in rotations per minute.
   */
   attribute UInt16 Speed readonly
}

enumeration PowerMode {
  Off = 0
  Accessory1 = 1
  Accessory2 = 2
  Run = 3
}

interface org.automotive.VehiclePowerMode extends VehiclePropertyType  {

  /*!  VehiclePowerMode
   *   \brief  MUST return vehicle power mode
   */
  attribute PowerMode VehiclePowerMode readonly
}

/*! org.automotive.TripMeter
 \brief contains information about TripMeter
 DBus Path: variable
*/
interface org.automotive.TripMeter extends VehiclePropertyType  {

  /*!  TripMeters
   *   \brief  MUST return trip meters.  Changing any items in the array will reset the item's value to '0'.
   */
   attribute array TripMeters of UInt16
}

/*! org.automotive.Acceleration
 \brief contains information about Acceleration
 DBus Path: variable
*/
interface org.automotive.Acceleration extends VehiclePropertyType  {

  /*!  X
   *   \brief  return acceleration on the "X" axis (Unit: centimeters per second squared)
   */
  attribute Int16 X readonly

  /*!  Y
   *   \brief  return acceleration on the "Y" axis (Unit: centimeters per second squared)
   */
  attribute Int16 Y readonly

  /*!  Z
   *   \brief  return acceleration on the "Z" axis (Unit: centimeters per second squared)
   */
  attribute Int16 Z readonly
}

enumeration TransmissionMode {
  park = "park",
  reverse = "reverse",
  neutral = "neutral",
  low = "low",
  drive = "drive",
  overdrive = "overdrive"
}

/*! TransmissionGearType
 * \brief Describes the transmission gearbox type
*/
enumeration TransmissionGearType
{
  Auto = 0,
  Manual = 1,
  CVT = 2
}

interface org.automotive.Transmission extends VehiclePropertyType  {

  /*!  TransmissionGearType
   *   \brief MUST return transmission gear type of either Automatic, Manual or Constant Variable (CV).
   *   See TRANSMISSIONGEARTYPE
   */
   attribute TransmissionGearType Type

  /*!  Gear
   *   \brief  MUST return transmission gear position 1-10
   */
   attribute UInt8 Gear readonly

  /*!  Mode
   *   \brief  MUST return transmission Mode
   */
   attribute TransmissionMode Mode readonly
}


interface org.automotive.CruiseControlStatus extends VehiclePropertyType  {

  /*!  Activated
   *   \brief  MUST return whether or not the Cruise Control system is active (true) or inactive (false). Depricated.  Remove in 0.14.  Use "Status"
   */
   attribute Boolean Activated readonly

  /*!  Speed
   *   \brief  MUST return target Cruise Control speed in kilometers per hour (kph).
   */
   attribute UInt16 Speed readonly

  /*!  Status
   *   \brief  MUST return whether or not the Cruise Control system is active (true) or inactive (false).
   */
   attribute Boolean Status readonly
}

interface org.automotive.BrakeOperation extends VehiclePropertyType  {

  /*!  BrakePedalDepressed
   *   \brief  MUST return whether brake pedal is depressed or not. true: brake pedal is depressed, false: brake pedal is not depressed
   */
   attribute Boolean BrakePedalDepressed readonly
}

interface org.automotive.LightStatus extends VehiclePropertyType  {

  /*!  Head
   *   \brief  MUST return headlight status: on = true, off = false.
   */
   attribute Boolean Head

  /*!  RightTurn
   *   \brief  MUST return right turn signal status: on = true, off = false.
   */
   attribute Boolean RightTurn

  /*!  LeftTurn
   *   \brief  MUST return left turn signal status: on = true, off = false.
   */
   attribute Boolean LeftTurn

  /*!  Brake
   *   \brief  MUST return  brake signal light status: on = true, off = false.
   */
   attribute Boolean Brake

  /*!  Fog
   *   \brief  MUST return fog light status: on = true, off = false.
   */
   attribute Boolean Fog

  /*!  Hazard
   *   \brief  MUST return hazard light status: on = true, off = false.
   */
   attribute Boolean Hazard

  /*!  Parking
   *   \brief  MUST return parking light status: on = true, off = false.
   */
   attribute Boolean Parking

  /*!  HighBeam
   *   \brief  MUST return high beam status: on = true, off = false.
   */
   attribute Boolean HighBeam

  /*!  AutomaticHeadlights
   *   \brief  MUST return automatic headlight status: on = true, off = false.
   */
  attribute Boolean AutomaticHeadlights

  /*!  DynamicHighBeam
   *   \brief  MUST return dynamic high beam status: on = true, off = false.
   */
  attribute Boolean DynamicHighBeam
}

interface org.automotive.InteriorLightStatus extends VehiclePropertyType  {

  /*!  Status
   *   \brief  MUST return interior light status for the zone. on = true, off = false
   */
	attribute Boolean Status
}

interface org.automotive.Horn extends VehiclePropertyType  {

  /*!  On
   *   \brief  MUST return horn status: on = true, off = false
   */
   attribute Boolean On readonly
}

interface org.automotive.Fuel extends VehiclePropertyType  {

  /*!  Level
   *   \brief  MUST return fuel level as a percentage of fullness.
   */
   attribute UInt16 Level readonly

  /*!  Range
   *   \brief  MUST return estimated fuel range in meters.
   */
   attribute UInt32 Range readonly

  /*!  InstantConsumption
   *   \brief  MUST return instant fuel consumption in per distance travelled (Unit: milliliters per 100 kilometers).
   */
   attribute UInt32 InstantConsumption readonly

  /*!  InstantEconomy
   *   \brief  MUST return instant fuel 'economy' in kilometers per liter of fuel.
   */
   attribute UInt16 InstantEconomy readonly

  /*!  AverageEconomy
   *   \brief  MUST return average fuel 'economy' in kilometers per liter of fuel since last reset.  Setting this to any value should reset the counter to '0'
   */
   attribute UInt16 AverageEconomy

  /*!  AverageConsumption
   *   \brief  MUST return average fuel consumption in per distance travelled (Unit: milliliters per 100 kilometers). Setting this to any value should reset the counter to '0'
   */
   attribute UInt32 AverageConsumption

  /*!  FuelConsumedSinceRestart
   *   \brief MUST return fuel consumed since engine start  (Unit: milliliters per 100 kilometers) resets to 0 each restart
   */
   attribute UInt32 FuelConsumedSinceRestart readonly

  /*!  TimeSinceRestart
   *   \brief MUST  return time elapsed since vehicle restart (Unit: seconds)
   */
   attribute UInt32 TimeSinceRestart readonly
}

interface org.automotive.EngineOil extends VehiclePropertyType  {

  /*!  Temperature
   *   \brief MUST return Engine Oil Temperature in Celcius.
   */
   attribute long Temperature readonly

  /*!  Pressure
   *   \brief MUST return Engine Oil Pressure in kPa.
   */
   attribute UInt16 Pressure readonly

  /*!  Level
   *   \brief MUST return engine oil level (Unit: percentage, 0%: empty, 100%: full
   */
   attribute UInt16 Level readonly

  /*!  Change
   *   \brief MUST return engine oil change indicator status: change oil (true) or no change (false)
   */
   attribute boolean Change readonly

  /*!  LifeRemaining
   *   \brief MUST return engine oil change indicator status: change oil (true) or no change (false)
   */
   attribute boolean LifeRemaining readonly

}

interface org.automotive.Location extends VehiclePropertyType  {

  /*!  Latitude
   *   \brief  MUST return latitude in Deg.Min (-180, +180)
   */
   attribute Double Latitude readonly

  /*!  Longitude
   *   \brief  MUST return longitude in Deg.Min (-90, +90)
   */
   attribute Double Longitude readonly

  /*!  Altitude
   *   \brief  MUST return altitude in meters above sea-level (0).
   */
   attribute Double Altitude readonly

  /*!  Direction
   *   \brief  MUST return direction in Degrees  (0-360)
   */
   attribute UInt16 Direction readonly
}

interface org.automotive.ExteriorBrightness extends VehiclePropertyType  {

  /*!  ExteriorBrightness
   *   \brief MUST return the brightness outside the vehicle in lux.
   */
   attribute UInt16 ExteriorBrightness readonly
}

interface org.automotive.Temperature extends VehiclePropertyType  {

  /*!  Interior
   *   \brief MUST return the temperature of the interior of the vehicle in celcius.
   */
   attribute signed short InteriorTemperature readonly

  /*!  Exterior
   *   \brief MUST return the temperature of the exterior of the vehicle in celcius.
   */
   attribute signed short ExteriorTemperature readonly
}

interface org.automotive.RainSensor extends VehiclePropertyType  {

  /*!  RainIntensity
   *   \brief MUST return level of rain intensity 0: No Rain - 10: Heaviest Rain.
   */
   attribute UInt16 RainIntensity readonly
}

enumeration WiperControl {
  off = "off",
  once = "once",
  slowest = "slowest",
  slow = "slow",
  middle = "middle",
  fast = "fast",
  fastest = "fastest",
  auto = "auto"
}

interface org.automotive.WiperStatus extends VehiclePropertyType  {

  /*!  WiperSpeed
   *   \brief MUST return current speed interval of wiping windshield
   */
   attribute WiperControl WiperSpeed readonly

  /*!  WiperSetting
   *   \brief MUST return current setting of the front wiper controller. It can be used to send user's request for changing setting.
   */
   attribute WiperControl WiperSetting
}

enumeration AirflowDirectionType
{
  frontpanel = "frontpanel",
  floorduct = "floorduct",
  bilevel = "bilevel",
  defrostfloor = "defrostfloor"
}

interface org.automotive.ClimateControl extends VehiclePropertyType  {
  /*!  AirflowDirection
  *   \brief MUST return current status of the direction of the air flow through the ventilation system
  */
  attribute AirflowDirectionType AirflowDirection

  /*!  FanSpeedLevel
  *   \brief MUST return seat heater status: on (true) / off (false).
  */
  attribute UInt8 FanSpeedLevel

  /*!  TargetTemperature
  *   \brief MUST return current setting of the desired temperature (Unit: celsius)
  */
  attribute Int8 TargetTemperature

  /*!  AirConditioning
  *   \brief MUST return current status of the air conditioning system: on (true) or off (false)
  */
  attribute Boolean AirConditioning

  /*!  Heater
  *   \brief MUST return current status of the heating system: on (true) or off (false)
  */
  attribute Boolean Heater

  /*!  SeatHeater
  *   \brief MUST return current status of the seat warmer ( 0: off, 1: least warm, 10: warmest )
  */
  attribute UInt8 SeatHeater

  /*!  SeatCooler
  *   \brief MUST return current status of the seat ventilation ( 0: off, 1: least warm, 10: warmest )
  */
  attribute UInt8 SeatCooler

  /*!  AirRecirculation
  *   \brief MUST return current setting of air recirculation: on (true) or pulling in outside air (false).
  */
  attribute Boolean AirRecirculation

  /*!  SteeringWheelHeater
  *   \brief MUST return current status of steering wheel heater ( 0: off, 1: least warm, 10: warmest ).
  */
  attribute UInt8 SteeringWheelHeater
}

interface org.automotive.SideWindow extends VehiclePropertyType  {

  /*!  Openness
   *   \brief MUST return window openness percentage (100% fully open, 0% fully closed)
   */
  attribute UInt16 Openness

  /*! Lock
   * \brief MUST return whether or not the window is locked (true) or unlocked (false)
   */
  attribute Boolean Lock
}

interface org.automotive.Defrost extends VehiclePropertyType  {

  /*! DefrostWindow
   *  \brief MUST return current status of the defrost switch for mirrors. It can be
   *  used to send user's request for changing setting.
   */
  attribute Boolean DefrostWindow

  /*! DefrostMirrors
   *  \brief MUST return current status of the defrost switch for window. It can be
   *  used to send user's request for changing setting.
   */
  attribute Boolean DefrostMirrors
}

interface org.automotive.Sunroof extends VehiclePropertyType  {

  /*!  Openness
   *   \brief MUST return window status for sunroof openness percentage.
   */
  attribute UInt16 Openness

  /*!  Tilt
   *   \brief MUST return tilt status for sunroof percentage.
   */
  attribute UInt16 Tilt
}


enumeration ConvertibleRoofStatus {
	closed = "closed",
	closing = "closing",
	opening = "opening",
	opened = "opened"
}

interface org.automotive.ConvertibleRoof extends VehiclePropertyType  {
  /*!  Status
   *   \brief MUST return current status of Convertible Roof.
   *
   */
   attribute ConvertibleRoofStatus Status readonly

  /*!  Setting
   *   \brief MUST return current setting of Convertible Roof.  This is used to open (true) and close (false).
   *
   */
   attribute Boolean Setting
}


interface org.automotive.VehicleId extends VehiclePropertyType  {

  /*!  WMI
   *   \brief MUST return World Manufacturer Identifier (WMI)
   *   WMI is defined by SAE ISO 3780:2009.  3 characters.
   */
   attribute String WMI readonly

  /*!  VIN
   *   \brief MUST return Vehicle Identification Number (VIN) as defined by ISO 3779. 17 characters.
   */
   attribute String VIN readonly
}


interface org.automotive.Size extends VehiclePropertyType  {

  /*!  Width
   *   \brief MUST return width of vehicle in mm
   */
   attribute UInt16 Width readonly

  /*!  Height
   *   \brief MUST return height of vehicle in mm
   */
   attribute UInt16 Height readonly

  /*!  Length
   *   \brief MUST return length of vehicle in mm
   */
   attribute UInt16 Length readonly
}


interface org.automotive.FuelInfo extends VehiclePropertyType  {
  const UInt16 FUELTYPE_GASOLINE = 0
  const UInt16 FUELTYPE_HIGH_OCTANE= 1
  const UInt16 FUELTYPE_DIESEL = 2
  const UInt16 FUELTYPE_ELECTRIC = 3
  const UInt16 FUELTYPE_HYDROGEN = 4
  const UInt16 REFUELPOSITION_LEFT = 0
  const UInt16 REFUELPOSITION_RIGHT= 1
  const UInt16 REFUELPOSITION_FRONT = 2
  const UInt16 REFUELPOSITION_REAR = 3

  /*!  Type
   *   \brief MUST return type of fuel.  integer 0-4 (see
   */
   attribute UInt16 Type readonly

  /*!  RefuelPosition
   *   \brief MUST return position of refuling (see
   */
   attribute UInt16 RefuelPosition readonly
}


interface org.automotive.VehicleType extends VehiclePropertyType  {
  const UInt16 VEHICLETYPE_SEDAN = 0
  const UInt16 VEHICLETYPE_COUPE= 1
  const UInt16 VEHICLETYPE_CABRIOLE = 2
  const UInt16 VEHICLETYPE_ROADSTER = 3
  const UInt16 VEHICLETYPE_SUV = 4
  const UInt16 VEHICLETYPE_TRUCK = 5

  /*!  Type
   *   \brief MUST return type of Vehicle.  Integer 0-5 (see
   */
   attribute UInt16 Type readonly
}


interface org.automotive.Doors extends VehiclePropertyType  {

  /*!  DoorsPerRow
   *   \brief MUST return Number of doors in each row.  The index represents the row.  Position '0'
   *   represents the first row, '1' the second row etc.
   *   Example a common mini-van may have Doors[0] = 2 doors,
   *   Doors[1] = 1 (side door), Doors[2] = 1 (trunk).
   */
   attribute array DoorsPerRow of UInt16 readonly
}


interface org.automotive.WheelInformation extends VehiclePropertyType  {

  /*!  FrontWheelRadius
   *   \brief MUST return Radius of Front Wheel(s) in mm.
   */
   attribute UInt16 FrontWheelRadius readonly

  /*!  RearWheelRadius
   *   \brief MUST return Radius of Rear Wheel(s) in mm.
   */
   attribute UInt16 RearWheelRadius readonly

  /*!  WheelTrack
   *   \brief MUST return Wheel Track in mm.
   */
   attribute UInt16 WheelTrack readonly

  /*!  ABS
   *   \brief MUST return Antilock Brake System status: on = true, off = false.
   */
   attribute Boolean ABS readonly
}


interface org.automotive.Odometer extends VehiclePropertyType  {

  /*!  DistnaceTotal
   *   \brief MUST return Distance traveled in m
   */
   attribute UInt32 DistanceTotal readonly

  /*!  DistanceSinceStart
   *   \brief MUST return Distance traveled since start in m
   */
   attribute UInt32 DistanceSinceStart readonly

}

interface org.automotive.Fluid extends VehiclePropertyType  {

  /*!  Transmission
   *   \brief MUST return Transmission fluid level percentage. 0-100.
   */
   attribute UInt16 Transmission readonly
}

interface org.automotive.BatteryStatus extends VehiclePropertyType  {

  /*!  Voltage
   *   \brief MUST return battery voltage.
   */
   attribute UInt8 Voltage readonly

  /*!  Current
   *   \brief MUST return battery current in Amperes
   */
   attribute UInt8 Current readonly

  /*!  ChargeLevel
   *   \brief MUST return battery charge level (Unit: percentage, 0%: empty, 100%: full).
   */
   attribute UInt8 ChargeLevel readonly
}


interface org.automotive.Tire extends VehiclePropertyType  {

  /*!  Pressure
   *   \brief MUST return tire pressure in kPa.
   */
   attribute UInt16 Pressure readonly

  /*!  Temperature
   *   \brief MUST return left front tire temperature in Celcius.
   */
   attribute Int16 Temperature readonly

  /*!  Temperature
   *   \brief MUST return true if any tire pressure is low: pressure low (true), pressure not low (false).
   */
   attribute Boolean PressureLow readonly
}


interface org.automotive.SecurityAlert extends VehiclePropertyType  {

  /*!  SecurityAlert
   *   \brief MUST return
   */
   attribute Boolean SecurityAlert readonly
}

interface org.automotive.ParkingBrake extends VehiclePropertyType  {

  /*!
  * \brief MUST return the current status of parking brake.
  */
  attribute ParkingBrakeStatus Status
}

interface org.automotive.AntilockBrakingSystem extends VehiclePropertyType  {

  /*!
  * \brief MUST return whether or not the ABS Setting is enabled: enabled (true) or disabled (false)
  */
  attribute Boolean Enabled readonly

  /*!
  * \brief MUST return whether or not the ABS is engaged: engaged (true) or idle (false)
  */
  attribute Boolean Engaged readonly
}


interface org.automotive.TractionControlSystem extends VehiclePropertyType  {

  /*!
  * \brief MUST return whether or not the TCS Setting is enabled: enabled (true) or disabled (false)
  */
  attribute Boolean Enabled readonly

  /*!
  * \brief MUST return whether or not the TCS is engaged: engaged (true) or idle (false)
  */
  attribute Boolean Engaged readonly
}


interface org.automotive.VehicleTopSpeedLimit extends VehiclePropertyType  {

  /*!  VehicleTopSpeedLimit
   *   \brief MUST return top rated speed in km/h. 0 = no limit
   */
   attribute UInt16 VehicleTopSpeedLimit readonly
}


interface org.automotive.AirbagStatus extends VehiclePropertyType  {

  /*!
  * \brief MUST return whether or not the airbag is activaged: activated (true) or deactivated (false)
  */
  attribute Boolean Activated readonly

  /*!
  * \brief MUST return whether the airbag is deployed: deployed (true) or not (false)
  */
  attribute Boolean Deployed readonly
}

enumeration DoorStatus {
  open = "open",
  ajar = "ajar",
  closed = "closed"
}

interface org.automotive.Door extends VehiclePropertyType  {

  /*!  Status
   *   \brief MUST return Door status (byte).  See DOORSTATUS_*
   */
   attribute DoorStatus Status readonly

  /*!  Lock
   *   \brief MUST return Door status (bool locked = true, unlocked = false).
   */
  attribute Boolean Lock

  /*!  ChildLock
   *   \brief MUST return Child lock status of rear doors.  active = true, inactive = false.
   *   Setting this to 'true' will prevent the rear doors from being opened
   *   from the inside.
   */
  attribute Boolean ChildLock
}

interface org.automotive.ObstacleDistance extends VehiclePropertyType  {

  /*!  ObstacleDistance
   *   \brief MUST return Distance Sensor distance (Double) in m.
   */
   attribute Double ObstacleDistance readonly
}


interface org.automotive.NightMode extends VehiclePropertyType {

  /*!
   * \brief MUST return whether or not the system is in NightMode or not.  True = Night time, False = Day time
   */
   attribute Boolean Mode readonly
}


interface org.automotive.DrivingMode extends VehiclePropertyType {

  /*!
  * \brief MUST return whether or not the system is in DrivingMode or not.  1 = Driving, 0 = Not Driving
  */
   attribute UInt16 DrivingMode readonly

  /*!
  * \brief MUST return true if vehicle is in driving mode
  */
   attribute Boolean Mode readonly
}


interface org.automotive.KeyId extends VehiclePropertyType {

  /*!
  * \brief MUST return
  */
   attribute String KeyId readonly
}

interface org.automotive.Language extends VehiclePropertyType {

  /*!
  * \brief MUST return
  */
   attribute String Language readonly
}

interface org.automotive.MeasurementSystem extends VehiclePropertyType {

  /*!
  * \brief MUST return 0 = Metric, 1 = ImperialUS, 2 = ImperialUK
  */
   attribute UInt16 MeasurementSystem readonly
}

interface org.automotive.SteeringWheelPosition extends VehiclePropertyType {

  /*!
  * \brief MUST return
  */
   attribute UInt16 Tilt readonly

  /*!
  * \brief MUST return
  */
   attribute UInt16 Slide readonly
}


interface org.automotive.DashboardIllumination extends VehiclePropertyType {

  /*!
  * \brief MUST return
  */
   attribute UInt16 DashboardIllumination readonly
}

interface org.automotive.SteeringWheel extends VehiclePropertyType {

  /*!
  * \brief MUST return angle of steering wheel off centerline (Unit: degrees -:degrees to the left, +:degrees to the right)
  */
   attribute Int16 Angle readonly
}

interface org.automotive.DriverId extends VehiclePropertyType {

  /*!
  * \brief MUST return driver ID.  Driver Id is an abstract and can be determined
  * from multiple sources including bluetooth, key, key fob, etc.
  */
   attribute String DriverId readonly
}

interface org.automotive.ThrottlePosition extends VehiclePropertyType {

  /*!
  * \brief MUST return throttle position as a percentage (Unit: percentage, 0%: closed, 100%: fully open)
  */
   attribute Uint8 Value readonly
}

interface org.automotive.EngineCoolant extends VehiclePropertyType {

  /*!
  * \brief MUST return engine coolant level (Unit: percentage 0%: empty, 100%: full)
  */
   attribute Uint16 Level readonly

  /*!
  * \brief MUST return engine coolant temperature (Unit: celcius)
  */
   attribute Int16 Temperature readonly
}

interface org.automotive.PowertrainTorque extends VehiclePropertyType {

  /*!
   * \brief MUST return powertrain torque (Unit: newton meters)
   */
   attribute UInt16 Value readonly
}

interface org.automotive.AcceleratorPedalPosition extends VehiclePropertyType {

  /*!
   * \brief MUST  return accelerator pedal position as a percentage (Unit: percentage, 0%: released pedal, 100%: fully depressed)
   */
   attribute UInt8 Value readonly
}

interface org.automotive.WheelTick extends VehiclePropertyType {

  /*!
   * \brief MUST return number of ticks per second (Unit: ticks per second)
   */
   attribute UInt8 Value readonly
}

interface IgnitionTime : VehicleCommonDataType {
   /*!
	* \brief MUST return time at ignition on
	*/
	attribute UInt64 ignitionOnTime readonly

	/*!
	 * \brief MUST return time at ignition off
	 */
	 attribute UInt64 ignitionOffTime readonly
}

interface org.automotive.YawRate extends VehiclePropertyType {

  /*!
   * \brief MUST return yaw rate of vehicle. (Unit: degrees per second)
   */
   attribute Int16 Value readonly
}

interface org.automotive.BrakeOperation extends VehiclePropertyType {

  /*!
   * \brief MUST return whether brake pedal is depressed or not. true: brake pedal is depressed, false: brake pedal is not depressed
   */
   attribute Boolean BrakePedalDepressed readonly
}

enumeration Button {
	home = "home",
	back = "back",
	search = "search",
	call = "call",
	end_call = "end_call",
	media_play = "media_play",
	media_next = "media_next",
	media_previous = "media_previous",
	media_pause = "media_pause",
	voice_recognize = "voice_recognize",
	enter = "enter",
	left = "left",
	right = "right",
	up = "up",
	down = "down"
}

enumeration ButtonEventType {
	press = "press",
	long_press = "long_press",
	release = "release"
}

interface VehicleButton {
	/*!
	* \brief MUST return the button corresponding to the event.
	*/
	attribute Button button readonly

	/*!
	* \brief MUST return the type of event
	*/
	attribute ButtonEventType state readonly
}

interface org.automotive.ButtonEvent extends VehiclePropertyType {

  /*!
   * \brief MUST return the button events that occured. This supports multiple simultanious button events.
   */
   attribute array Button of VehicleButton readonly
}

interface org.automotive.TransmissionOil extends VehiclePropertyType {

  /*!
   * \brief MUST return current temperature of the transmission oil(Unit: celsius).
   */
   attribute Int8 Temperature readonly

  /*!
   * \brief MUST return transmission oil wear (Unit: percentage, 0: no wear, 100: completely worn).
   */
   attribute UInt8 Wear readonly
}

interface org.automotive.TransmissionClutch extends VehiclePropertyType {

  /*!
   * \brief MUST return transmission clutch wear (Unit: percentage, 0: no wear, 100: completely worn).
   */
   attribute UInt8 Wear readonly
}

interface org.automotive.BrakeMaintenance extends VehiclePropertyType {

  /*!
   * \brief MUST return brake pad wear (Unit: percentage, 0%: no wear, 100%: completely worn).
   */
   attribute UInt8 PadWear readonly

  /*!
   * \brief MUST return brake fluid level (Unit: percentage, 0%: empty, 100%: full).
   */
   attribute UInt8 FluidLevel readonly

  /*!
   * \brief MUST return true if brake fluid level: low (true), not low (false)
   */
   attribute Boolean FluidLevelLow readonly

  /*!
   * \brief MUST return true if brakes are worn: worn (true), not worn (false)
   */
   attribute Boolean BrakesWorn readonly
}

interface org.automotive.WasherFluid extends VehiclePropertyType {

  /*!
   * \brief MUST return washer fluid level (Unit: percentage, 0%: empty, 100%: full).
   */
   attribute UInt8 Level readonly

  /*!
   * \brief MUST return true if washer fluid level is low: low (true), not low: (false)
   */
   attribute Boolean LevelLow readonly
}

interface org.automotive.MalfunctionIndicator extends VehiclePropertyType {

  /*!
   * \brief MUST return true if washer fluid level is low: low (true), not low: (false)
   */
   attribute Boolean On readonly
}

interface org.automotive.Diagnostic extends VehiclePropertyType {

  /*!
   * \brief MUST return engine runtime (Unit: seconds)
   */
   attribute UInt32 AccumulatedEngineRuntime readonly

   /*!
	* \brief MUST return distance travelled since the codes were last cleared (Unit: meters)
	*/
   attribute UInt32 DistanceSinceCodeCleared readonly

   /*!
	* \brief MUST return distance travelled with the malfunction indicator light on (Unit: meters)
	*/
   attribute UInt32 DistanceWithMILOn readonly

   /*!
	* \brief MUST return time elapsed with the malfunction indicator light on (Unit: seconds)
	*/
   attribute UInt32 TimeRunMILOn readonly

   /*!
	* \brief MUST return time elapsed since the trouble codes were last cleared (Unit: seconds)
	*/
   attribute UInt32 TimeTroubleCodeClear readonly
}

interface org.automotive.Mirror extends VehiclePropertyType {

  /*!
   * \brief MUST return mirror pan position in percentage distance travelled, from left to right position (Unit: percentage, %0: center position, -100%: fully left, 100%: fully right)
   */
   attribute UInt8 MirrorPan

  /*!
   * \brief MUST return mirror tilt position in percentage distance travelled, from downward-facing to upward-facing position (Unit: percentage, 0%:center position, -100%:fully downward, 100%:full upward)
   */
   attribute UInt8 MirrorTilt
}

interface org.automotive.SeatAdjustment extends VehiclePropertyType {

  /*!
  * \brief MUST return seat back recline position as percent to completely reclined (Unit: percentage, 0%: fully forward, 100%: fully reclined)
  */
   attribute UInt8 ReclineSeatBack

  /*!
  * \brief MUST return seat slide position as percentage of distance travelled away from forwardmost position (Unit: percentage, 0%: farthest forward, 100%: farthest back)
  */
   attribute UInt8 SeatSlide

  /*!
  * \brief MUST return seat cushion height position as a percentage of upward distance travelled (Unit: percentage, 0%:lowest. 100%:highest)
  */
   attribute UInt8 SeatCushionHeight

  /*!
  * \brief MUST return headrest position as a percentage of upward distance travelled (Unit: percentage, 0%: lowest, 100%: highest)
  */
   attribute UInt8 SeatHeadrest

  /*!
  * \brief MUST return back cushion position as a percentage of lumbar curvature (Unit: percentage, 0%: flat, 100%: maximum curvature)
  */
   attribute UInt8 SeatBackCushion

  /*!
  * \brief MUST return sides of back cushion position as a percentage of curvature (Unit: percentage, 0%: flat, 100%: maximum curvature)
  */
   attribute UInt8 SeatSideCushion
}

enumeration DriveModeType {
  comfort = "comfort",
  auto = "auto",
  sport = "sport",
  eco = "eco",
  manual = "manual",
  winter = "winter"
}

interface org.automotive.DriveMode extends VehiclePropertyType {
  /*!
  * \brief MUST return vehicle drive mode. See http://w3c.github.io/automotive-bg/data_spec.html#idl-def-DriveModeEnum
  */
  attribute DriveModeType DriveMode
}

interface org.automotive.DashboardIllumination extends VehiclePropertyType {
  /*!
  * \brief MUST return illumination of dashboard as a percentage (Unit: percentage, 0%: none, 100%: maximum illumination)
  */
  attribute UInt8 DashboardIllumination
}

interface org.automotive.VehicleSound extends VehiclePropertyType {
  /*!
  * \brief MUST return active noise control status: not-activated (false), activated (true)
  */
  attribute Boolean ActiveNoiseControlMode

  /*!
  * \brief MUST return active noise control status: not-activated (false), activated (true)
  */
  attribute Boolean EngineSoundEnhancementMode

  /*!
  * \brief MUST return array of available sounds. See EngineSoundEnhancementMode
  */
  attribute array EngineSoundEnhancementMode of String readonly
}

interface org.automotive.ElectronicStabilityControl extends VehiclePropertyType {
  /*!
  * \brief MUST return whether or not the ESC Setting is enabled: enabled (true) or disabled (false)
  */
  attribute Boolean Enabled readonly

  /*!
  * \brief MUST return whether or not the ESC is engaged: engaged (true) or idle (false)
  */
  attribute Boolean Engaged readonly
}

interface org.automotive.TopSpeedLimit extends VehiclePropertyType {
  /*!
  * \brief MUST return whether or not the ESC Setting is enabled: enabled (true) or disabled (false)
  */
  attribute UInt16 Speed readonly
}

interface org.automotive.ChildSafetyLock extends VehiclePropertyType {
  /*!
  * \brief MUST return whether or not the Child Safety Lock is locked: locked (true) or unlocked (false)
  */
  attribute Boolean Lock
}

enumeration OccupantStatus {
  adult = "adult",
  child = "child",
  vacant = "vacant"
}

enumeration IdentificationTypeEnum {
  pin = "pin",
  keyfob = "keyfob",
  Bluetooth = "Bluetooth",
  NFC = "NFC",
  fingerprint = "fingerprint",
  camera = "camera",
  voice = "voice"
}

interface org.automotive.Seat extends VehiclePropertyType {
  /*!
  * \brief MUST return the status of seat occupant
  */
  attribute OccupantStatus Occupant

  /*!
  * \brief MUST return whether or not the seat belt is fastened: fastened (true) or unfastened (false)
  */
  attribute Boolean SeatBelt

  /*!
  * \brief MUST return occupant identifier
  */
  attribute String OccupantName

  /*!
  * \brief MUST return identification type
  */
  attribute IdentificationTypeEnum IdentificationType
}

interface org.automotive.AtmosphericPressure extends VehiclePropertyType {
  /*!
  * \brief MUST return the current atmospheric pressure outside of the vehicle (Unit: hectopascal)
  */
  attribute UInt16 Pressure
}

enumeration LaneDepartureStatus {
	off = "off",
	pause = "pause",
	running = "running"
}

interface org.automotive.LaneDepartureDetection extends VehiclePropertyType {
  /*!
  * \brief MUST return current status of Lane departure warning function.
  */
  attribute LaneDepartureStatus Status readonly
}

enumeration AlarmStatus {
	disarmed = "disarmed",
	prearmed = "prearmed",
	armed = "armed",
	alarmed = "alarmed"
}

interface org.automotive.Alarm extends VehiclePropertyType {
  /*!
  * \brief MUST return the current status of vehicle Alarm System.
  */
  attribute AlarmStatus Status
}

enumeration ParkingBrakeStatus {
	inactive = "inactive",
	active = "active",
	error = "error"
}

interface org.automotive.ParkingBrake extends VehiclePropertyType {
  /*!
  * \brief MUST return the current status of vehicle Alarm System.
  */
  attribute ParkingBrakeStatus Status readonly
}