summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kutsan <akutsan@luxoft.com>2017-07-23 13:38:18 +0300
committerAlex Kutsan <akutsan@luxoft.com>2017-07-24 11:29:10 +0300
commit37ab6ac624a6a057e946cd4680bbf86b9d61f532 (patch)
treef66b5fb687b97002a29918279b3f090849ea676c
parent413a6dafd8d0d26c88696203fd8de3b0e9b42c95 (diff)
downloadsdl_core-37ab6ac624a6a057e946cd4680bbf86b9d61f532.tar.gz
Remove module_description from Mibile and HMI apis
-rw-r--r--src/components/interfaces/HMI_API.xml38
-rw-r--r--src/components/interfaces/MOBILE_API.xml13
2 files changed, 21 insertions, 30 deletions
diff --git a/src/components/interfaces/HMI_API.xml b/src/components/interfaces/HMI_API.xml
index 7625e27956..a601b0ee85 100644
--- a/src/components/interfaces/HMI_API.xml
+++ b/src/components/interfaces/HMI_API.xml
@@ -1357,12 +1357,6 @@
<element name="RADIO"/>
</enum>
- <struct name="ModuleDescription">
- <param name="moduleType" type="Common.ModuleType">
- </param>
- </struct>
-
-
<enum name="RadioBand">
<element name="AM"/>
<element name="FM"/>
@@ -4710,25 +4704,25 @@
</function>
<function name="GetInteriorVehicleData" functionID="GetInteriorVehicleDataID" messagetype="request">
- <param name="moduleDescription" type="Common.ModuleDescription">
- <description>The name and module data to retrieve from the vehicle for that name</description>
- </param>
- <param name="subscribe" type="Boolean" mandatory="false" defvalue="false">
- <description>If subscribe is true, the head unit will send onInteriorVehicleData notifications for the moduleDescription</description>
- </param>
- <param name="appID" type="Integer" mandatory="true">
- <description>Internal SDL-assigned ID of the related application</description>
- </param>
+ <param name="moduleType" type="Common.ModuleType">
+ <description>The module data to retrieve from the vehicle for that type</description>
+ </param>
+ <param name="subscribe" type="Boolean" mandatory="false" defvalue="false">
+ <description>If subscribe is true, the head unit will send onInteriorVehicleData notifications for the module type</description>
+ </param>
+ <param name="appID" type="Integer" mandatory="true">
+ <description>Internal SDL-assigned ID of the related application</description>
+ </param>
</function>
<function name="GetInteriorVehicleData" functionID="GetInteriorVehicleDataID" messagetype="response">
- <param name="moduleData" type="Common.ModuleData">
- </param>
- <param name="isSubscribed" type="Boolean" mandatory="false" >
- <description>Is a conditional-mandatory parameter: must be returned in case "subscribe" parameter was present in the related request.
- if "true" - the "moduleDescription" from request is successfully subscribed and the head unit will send onInteriorVehicleData notifications for the moduleDescription.
- if "false" - the "moduleDescription" from request is either unsubscribed or failed to subscribe.</description>
- </param>
+ <param name="moduleData" type="Common.ModuleData">
+ </param>
+ <param name="isSubscribed" type="Boolean" mandatory="false" >
+ <description>Is a conditional-mandatory parameter: must be returned in case "subscribe" parameter was present in the related request.
+ if "true" - the "moduleType" from request is successfully subscribed and the head unit will send onInteriorVehicleData notifications for the moduleDescription.
+ if "false" - the "moduleType" from request is either unsubscribed or failed to subscribe.</description>
+ </param>
</function>
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml
index 233f48e2d6..4a461161f9 100644
--- a/src/components/interfaces/MOBILE_API.xml
+++ b/src/components/interfaces/MOBILE_API.xml
@@ -1364,12 +1364,6 @@
<element name="RADIO"/>
</enum>
- <struct name="ModuleDescription">
- <param name="moduleType" type="ModuleType">
- </param>
- </struct>
-
-
<enum name="RadioBand">
<element name="AM"/>
<element name="FM"/>
@@ -5746,8 +5740,11 @@
</function>
<function name="GetInteriorVehicleData" functionID="GetInteriorVehicleDataID" messagetype="request">
- <param name="moduleDescription" type="ModuleDescription">
- <description>The name and module data to retrieve from the vehicle for that name</description>
+ <param name="moduleType" type="ModuleType">
+ <description>
+ The type of a RC module to retrieve module data from the vehicle.
+ In the future, this should be the Identification of a module.
+ </description>
</param>
<param name="subscribe" type="Boolean" mandatory="false" defvalue="false">
<description>If subscribe is true, the head unit will send onInteriorVehicleData notifications for the moduleDescription</description>