From a030cecde8c8092838cebd6d9b6371373c7b488b Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Wed, 11 Jun 2014 13:27:38 -0700 Subject: [PATCH] updated docs to reflect change to vehicle and engine speed --- docs/amb.idl | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/docs/amb.idl b/docs/amb.idl index 00091ad..05a3f1d 100644 --- a/docs/amb.idl +++ b/docs/amb.idl @@ -101,10 +101,10 @@ interface org.automotive.Manager { [NoInterfaceObject] interface org.automotive.VehicleSpeed : VehiclePropertyType { - /** VehicleSpeed + /** Speed * \brief Must return Vehicle Speed in kilometers per hour. **/ - readonly attribute UInt16 VehicleSpeed; + readonly attribute UInt16 Speed; }; [NoInterfaceObject] @@ -113,7 +113,7 @@ interface org.automotive.EngineSpeed : VehiclePropertyType { /** EngineSpeed * \brief Must return Engine Speed in rotations per minute. **/ - readonly attribute UInt16 EngineSpeed; + readonly attribute UInt16 Speed; }; [NoInterfaceObject] @@ -924,5 +924,38 @@ interface org.automotive.SteeringWheelAngle: VehiclePropertyType { readonly attribute UInt16 SteeringWheelAngle }; +[NoInterfaceObject] +interface org.automotive.ButtoneEvent: VehiclePropertyType { + + /** + * \brief MUST return button event: + * NoButton =0 + * PlayButton = 1, + * SkipButton = 1 << 1, + * PrevButton = 1 << 2, + * PauseButton = 1 << 3, + * Preset1Button = 1 << 4, + * Preset2Button = 1 << 5, + * Preset3Button = 1 << 6, + * Preset4Button = 1 << 7, + * StopButton = 1 << 8, + * NavigateUpButton = 1 << 9, + * NavigateDownButton = 1 << 10, + * NavigateLeftButton = 1 << 11, + * NavigateRightButton = 1 << 12 + **/ + readonly attribute UInt32 ButtonEvent +}; + +[NoInterfaceObject] +interface org.automotive.DriverId: VehiclePropertyType { + + /** + * \brief MUST return driver ID. Driver Id is an abstract and can be determined + * from multiple sources including bluetooth, key, key fob, etc. + **/ + readonly attribute String DriverId; +}; + }; -- 2.7.4