Skip to content

Commit

Permalink
Merge pull request #233 from SNiukalov/feature/new_vehicle_data_stabi…
Browse files Browse the repository at this point in the history
…litycontrolsstatus

Feature/New vehicle data StabilityControlsStatus
  • Loading branch information
ShobhitAd authored Aug 5, 2020
2 parents 9dab6bd + f48b359 commit 7efe3c6
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
31 changes: 31 additions & 0 deletions MOBILE_API.xml
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@
<element name="VEHICLEDATA_ELECTRONICPARKBRAKESTATUS" since="5.0" />
<element name="VEHICLEDATA_CLOUDAPPVEHICLEID" since="5.1"/>
<element name="VEHICLEDATA_OEM_CUSTOM_DATA" since="6.0"/>
<element name="VEHICLEDATA_STABILITYCONTROLSSTATUS" since="7.0"/>
</enum>

<enum name="HybridAppPreference" since="5.1">
Expand Down Expand Up @@ -1943,6 +1944,15 @@
<description>The status of the inner right rear.</description>
</param>
</struct>

<struct name="StabilityControlsStatus" since="7.0">
<param name="escSystem" type="VehicleDataStatus" mandatory="false">
<description>true if vehicle stability control is ON, else false</description>
</param>
<param name="trailerSwayControl" type="VehicleDataStatus" mandatory="false">
<description>true if vehicle trailer sway control is ON, else false</description>
</param>
</struct>

<enum name="TurnSignal" since="5.0">
<description>Enumeration that describes the status of the turn light indicator.</description>
Expand Down Expand Up @@ -5892,6 +5902,9 @@
<param name="cloudAppVehicleID" type="Boolean" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="Boolean" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="Boolean" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
</param>
Expand Down Expand Up @@ -6005,6 +6018,9 @@
<param name="cloudAppVehicleID" type="VehicleDataResult" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="VehicleDataResult" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="VehicleDataResult" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
</param>
Expand Down Expand Up @@ -6097,6 +6113,9 @@
<param name="cloudAppVehicleID" type="Boolean" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="Boolean" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="Boolean" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
</param>
Expand Down Expand Up @@ -6208,6 +6227,9 @@
</param>
<param name="cloudAppVehicleID" type="VehicleDataResult" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="VehicleDataResult" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="VehicleDataResult" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
Expand Down Expand Up @@ -6304,6 +6326,9 @@
<param name="cloudAppVehicleID" type="Boolean" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="Boolean" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="Boolean" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
</param>
Expand Down Expand Up @@ -6420,6 +6445,9 @@
<param name="cloudAppVehicleID" type="String" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="StabilityControlsStatus" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="ECallInfo" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
</param>
Expand Down Expand Up @@ -8114,6 +8142,9 @@
<param name="cloudAppVehicleID" type="String" mandatory="false" since="5.1">
<description>Parameter used by cloud apps to identify a head unit</description>
</param>
<param name="stabilityControlsStatus" type="StabilityControlsStatus" mandatory="false" since="7.0">
<description>See StabilityControlsStatus</description>
</param>
<param name="eCallInfo" type="ECallInfo" mandatory="false">
<description>Emergency Call notification and confirmation data</description>
</param>
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ Defines the data types that can be published and subscribed to.
|`VEHICLEDATA_ELECTRONICPARKBRAKESTATUS`||
|`VEHICLEDATA_CLOUDAPPVEHICLEID`||
|`VEHICLEDATA_OEM_CUSTOM_DATA`||
|`VEHICLEDATA_STABILITYCONTROLSSTATUS`||


### HybridAppPreference
Expand Down Expand Up @@ -1988,6 +1989,13 @@ The status and pressure of the tires.
|`innerLeftRear`|SingleTireStatus|True|The status of the inner left rear.|
|`innerRightRear`|SingleTireStatus|True|The status of the inner right rear.|

### StabilityControlsStatus
##### Parameters

| Value | Type | Mandatory | Description |
| ---------- | ---------- |:-----------: |:-----------:|
|`escSystem`|VehicleDataStatus|False|true if vehicle stability control is ON, else false|
|`trailerSwayControl`|VehicleDataStatus|False|true if vehicle trailer sway control is ON, else false|

### GPSData
Struct with the GPS data.
Expand Down Expand Up @@ -3768,6 +3776,7 @@ Subscribes for specific published data items. The data will be only sent if it h
|`engineOilLife`|Boolean|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|Boolean|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|Boolean|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|Boolean|False|See StabilityControlsStatus|
|`eCallInfo`|Boolean|False|Emergency Call notification and confirmation data|
|`airbagStatus`|Boolean|False|The status of the air bags|
|`emergencyEvent`|Boolean|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -3809,6 +3818,7 @@ Message Type: **response**
|`engineOilLife`|VehicleDataResult|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|VehicleDataResult|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|VehicleDataResult|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|VehicleDataResult|False|See StabilityControlsStatus|
|`eCallInfo`|VehicleDataResult|False|Emergency Call notification and confirmation data|
|`airbagStatus`|VehicleDataResult|False|The status of the air bags|
|`emergencyEvent`|VehicleDataResult|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -3849,6 +3859,7 @@ This function is used to unsubscribe the notifications from the subscribeVehicle
|`engineOilLife`|Boolean|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|Boolean|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|Boolean|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|Boolean|False|See StabilityControlsStatus|
|`eCallInfo`|Boolean|False|Emergency Call notification and confirmation data|
|`airbagStatus`|Boolean|False|The status of the air bags|
|`emergencyEvent`|Boolean|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -3890,6 +3901,7 @@ Message Type: **response**
|`engineOilLife`|VehicleDataResult|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|VehicleDataResult|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|VehicleDataResult|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|VehicleDataResult|False|See StabilityControlsStatus|
|`eCallInfo`|VehicleDataResult|False|Emergency Call notification and confirmation data|
|`airbagStatus`|VehicleDataResult|False|The status of the air bags|
|`emergencyEvent`|VehicleDataResult|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -3931,6 +3943,7 @@ Non periodic vehicle data read request.
|`engineOilLife`|Boolean|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|Boolean|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|Boolean|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|Boolean|False|See StabilityControlsStatus|
|`eCallInfo`|Boolean|False|Emergency Call notification and confirmation data|
|`airbagStatus`|Boolean|False|The status of the air bags|
|`emergencyEvent`|Boolean|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -3973,6 +3986,7 @@ Message Type: **response**
|`engineOilLife`|Float|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|ElectronicParkBrakeStatus|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|String|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|StabilityControlsStatus|False|See StabilityControlsStatus|
|`eCallInfo`|ECallInfo|False|Emergency Call notification and confirmation data|
|`airbagStatus`|AirbagStatus|False|The status of the air bags|
|`emergencyEvent`|EmergencyEvent|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -5019,6 +5033,7 @@ Callback for the periodic and non periodic vehicle data read function.
|`engineOilLife`|Float|False|The estimated percentage of remaining oil life of the engine.|
|`electronicParkBrakeStatus`|ElectronicParkBrakeStatus|False|The status of the park brake as provided by Electric Park Brake (EPB) system.|
|`cloudAppVehicleID`|String|False|Parameter used by cloud apps to identify a head unit|
|`stabilityControlsStatus`|StabilityControlsStatus|False|See StabilityControlsStatus|
|`eCallInfo`|ECallInfo|False|Emergency Call notification and confirmation data|
|`airbagStatus`|AirbagStatus|False|The status of the air bags|
|`emergencyEvent`|EmergencyEvent|False|Information related to an emergency event (and if it occurred)|
Expand Down Expand Up @@ -5246,4 +5261,3 @@ Callback including encoded data of any SyncP packets that SYNC needs to send bac
|`URL`|String|False|If blank, the SyncP data shall be forwarded to the app. If not blank, the SyncP data shall be forwarded to the provided URL.|
|`Timeout`|Integer|False|If blank, the SyncP data shall be forwarded to the app. If not blank, the SyncP data shall be forwarded with the provided timeout in seconds.|


0 comments on commit 7efe3c6

Please sign in to comment.