Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/sdl 0255 enhance body information vehicle data #3584

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 42 additions & 4 deletions src/appMain/sdl_preloaded_pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -3858,25 +3858,63 @@
"name": "driverDoorAjar",
"key": "OEM_REF_DR_DOOR_AJ",
"type": "Boolean",
"mandatory": false
"mandatory": false,
"deprecated": true,
"since": "7.1"
},
{
"name": "passengerDoorAjar",
"key": "OEM_REF_PAS_DOOR_AJ",
"type": "Boolean",
"mandatory": false
"mandatory": false,
"deprecated": true,
"since": "7.1"
},
{
"name": "rearLeftDoorAjar",
"key": "OEM_REF_REAR_LEFT_DOOR_AJ",
"type": "Boolean",
"mandatory": false
"mandatory": false,
"deprecated": true,
"since": "7.1"
},
{
"name": "rearRightDoorAjar",
"key": "OEM_REF_REAR_RIGHT_DOOR_AJ",
"type": "Boolean",
"mandatory": false
"mandatory": false,
"deprecated": true,
"since": "7.1"
},
{
"name": "doorStatuses",
"key": "OEM_REF_DOOR_STATUSES",
"array": true,
"type": "DoorStatus",
"mandatory": false,
"minsize": 0,
"maxsize": 100,
"since": "7.1"
},
{
"name": "gateStatuses",
"key": "OEM_REF_GATE_STATUSES",
"array": true,
"type": "GateStatus",
"mandatory": false,
"minsize": 0,
"maxsize": 100,
"since": "7.1"
},
{
"name": "roofStatuses",
"key": "OEM_REF_ROOF_STATUSES",
"array": true,
"type": "RoofStatus",
"mandatory": false,
"minsize": 0,
"maxsize": 100,
"since": "7.1"
}
],
"key": "OEM_REF_BODY_INF",
Expand Down
47 changes: 42 additions & 5 deletions src/components/interfaces/HMI_API.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,6 @@
<!-- End of Policies -->

<!-- Remote Control -->

<struct name="Grid">
<description>Describes a location (origin coordinates and span) of a vehicle component.</description>
<param name="col" type="Integer" mandatory="true" minvalue="-1" maxvalue="100">
Expand Down Expand Up @@ -3334,6 +3333,35 @@
</param>
</struct>

<enum name="DoorStatusType">
<element name="CLOSED"/>
<element name="LOCKED"/>
<element name="AJAR"/>
<element name="REMOVED"/>
</enum>

<struct name="DoorStatus">
<description>Describes the status of a parameter of door.</description>
<param name="location" type="Common.Grid" mandatory="true"/>
<param name="status" type="Common.DoorStatusType" mandatory="true"/>
</struct>

<struct name="GateStatus">
<description>Describes the status of a parameter of trunk/hood/etc.</description>
<param name="location" type="Common.Grid" mandatory="true"/>
<param name="status" type="Common.DoorStatusType" mandatory="true"/>
</struct>

<struct name="RoofStatus">
<description>
Describes the status of a parameter of roof, convertible roof, sunroof/moonroof etc.
If roof is open (AJAR), state will determine percentage of roof open.
</description>
<param name="location" type="Common.Grid" mandatory="true"/>
<param name="status" type="Common.DoorStatusType" mandatory="true"/>
<param name="state" type="Common.WindowState" mandatory="false"/>
</struct>

<struct name="BodyInformation">
<param name="parkBrakeActive" type="Boolean" mandatory="true">
<description>Must be true if the park brake is active</description>
Expand All @@ -3345,16 +3373,25 @@
<description>The status of the ignition. See IgnitionStatus.</description>
</param>
<param name="driverDoorAjar" type="Boolean" mandatory="false">
<description>References signal "DrStatDrv_B_Actl".</description>
<description>References signal "DrStatDrv_B_Actl". Deprecated starting with RPC Spec 7.1.0.</description>
</param>
<param name="passengerDoorAjar" type="Boolean" mandatory="false">
<description>References signal "DrStatPsngr_B_Actl".</description>
<description>References signal "DrStatPsngr_B_Actl". Deprecated starting with RPC Spec 7.1.0.</description>
</param>
<param name="rearLeftDoorAjar" type="Boolean" mandatory="false">
<description>References signal "DrStatRl_B_Actl".</description>
<description>References signal "DrStatRl_B_Actl". Deprecated starting with RPC Spec 7.1.0.</description>
</param>
<param name="rearRightDoorAjar" type="Boolean" mandatory="false">
<description>References signal "DrStatRr_B_Actl".</description>
<description>References signal "DrStatRr_B_Actl". Deprecated starting with RPC Spec 7.1.0.</description>
</param>
<param name="doorStatuses" type="Common.DoorStatus" array="true" minsize="0" maxsize="100" mandatory="false">
<description>Provides status for doors if Ajar/Closed/Locked</description>
</param>
<param name="gateStatuses" type="Common.GateStatus" array="true" minsize="0" maxsize="100" mandatory="false">
<description>Provides status for trunk/hood/etc. if Ajar/Closed/Locked</description>
</param>
<param name="roofStatuses" type="Common.RoofStatus" array="true" minsize="0" maxsize="100" mandatory="false">
<description>Provides status for roof/convertible roof/sunroof/moonroof etc., if Closed/Ajar/Removed etc.</description>
</param>
</struct>

Expand Down
2 changes: 1 addition & 1 deletion tools/rpc_spec
Submodule rpc_spec updated 2 files
+84 −34 MOBILE_API.xml
+76 −28 README.md