- Proposal: SDL-0257
- Author: Ankur Tiwari
- Status: Accepted
- Impacted Platforms: [Core | HMI | Policy Server | SHAID | iOS | Java Suite | RPC]
This proposal is to add new vehicle data HandsOffSteering
to know whether or not a driver has his or her hands on the steering wheel.
In order to partner with more diverse app partners, we need to provide additional sets of vehicle data items through SDL. This goes in line with commitment to enhance SDL with even richer vehicle data content. Information about whether a driver has hands on the steering wheel or not is useful for apps that compute driver score and provide insurance.
We need to add HandsOffSteering
for GetVehicleData
, SubscribeVehicleData
, UnsubscribeVehicleData
& OnVehicleData
RPCs. Following are the changes needed in MOBILE_API and HMI_API:
<element name="VEHICLEDATA_HANDSOFFSTEERING" since="X.x"/>
SubscribeVehicleData
UnsubscribeVehicleData
GetVehicleData
<param name="handsOffSteering" type="Boolean" mandatory="false" since="X.x">
<description>To indicate whether driver hands are off the steering wheel</description>
</param>
SubscribeVehicleData
UnsubscribeVehicleData
<param name="handsOffSteering" type="VehicleDataResult" mandatory="false" since="X.x">
<description>To indicate whether driver hands are off the steering wheel</description>
</param>
GetVehicleData
OnVehicleData
<param name="handsOffSteering" type="Boolean" mandatory="false" since="X.x">
<description>To indicate whether driver hands are off the steering wheel</description>
</param>
<element name="VEHICLEDATA_HANDSOFFSTEERING"/>
SubscribeVehicleData
UnsubscribeVehicleData
GetVehicleData
<param name="handsOffSteering" type="Boolean" mandatory="false">
<description>To indicate whether driver hands are off the steering wheel</description>
</param>
SubscribeVehicleData
UnsubscribeVehicleData
<param name="handsOffSteering" type="Common.VehicleDataResult" mandatory="false">
<description>To indicate whether driver hands are off the steering wheel</description>
</param>
GetVehicleData
OnVehicleData
<param name="handsOffSteering" type="Boolean" mandatory="false">
<description>To indicate whether driver hands are off the steering wheel</description>
</param>
Author is not aware of any downsides to proposed solution. This proposal just enhances the SDL content.
- SDL Core needs to be updated as per new API.
- iOS/Java Suite need to be updated to support getters/setters as per new API.
- SDL Server needs to add permissions for new vehicle data items.
- SHAID needs to add mappings for new vehicle data items as per updated spec.
- HMI needs to be updated to support new vehicle data items.
- None