From 3bd9b639ec628b31f08eb79ac13f41618cddf786 Mon Sep 17 00:00:00 2001 From: Jacob Keeler Date: Wed, 29 Mar 2017 09:59:15 -0400 Subject: Fix WayPoints API function IDs and update API versions --- src/appMain/sdl_preloaded_pt.json | 19 +++ .../test/message_helper/message_helper_test.cc | 5 +- src/components/interfaces/HMI_API.xml | 4 +- src/components/interfaces/MOBILE_API.xml | 181 +++++++++++---------- 4 files changed, 117 insertions(+), 92 deletions(-) diff --git a/src/appMain/sdl_preloaded_pt.json b/src/appMain/sdl_preloaded_pt.json index 15c0739913..10f1303ec7 100644 --- a/src/appMain/sdl_preloaded_pt.json +++ b/src/appMain/sdl_preloaded_pt.json @@ -907,6 +907,25 @@ } } }, + "WayPoints": { + "rpcs": { + "GetWayPoints": { + "hmi_levels": ["BACKGROUND", + "FULL", + "LIMITED"] + }, + "SubscribeWayPoints": { + "hmi_levels": ["BACKGROUND", + "FULL", + "LIMITED"] + }, + "UnsubscribeWayPoints": { + "hmi_levels": ["BACKGROUND", + "FULL", + "LIMITED"] + } + } + }, "BackgroundAPT": { "rpcs": { "EndAudioPassThru": { diff --git a/src/components/application_manager/test/message_helper/message_helper_test.cc b/src/components/application_manager/test/message_helper/message_helper_test.cc index 77e791dc82..429a0ee94a 100644 --- a/src/components/application_manager/test/message_helper/message_helper_test.cc +++ b/src/components/application_manager/test/message_helper/message_helper_test.cc @@ -540,7 +540,10 @@ class MessageHelperTest : public ::testing::Test { "DiagnosticMessage", "SystemRequest", "SendLocation", - "DialNumber"} + "DialNumber", + "GetWayPoints", + "SubscribeWayPoints", + "UnsubscribeWayPoints"} , events_id_strings{"OnHMIStatus", "OnAppInterfaceUnregistered", "OnButtonEvent", diff --git a/src/components/interfaces/HMI_API.xml b/src/components/interfaces/HMI_API.xml index ff7746d790..2be64666b5 100644 --- a/src/components/interfaces/HMI_API.xml +++ b/src/components/interfaces/HMI_API.xml @@ -34,7 +34,7 @@ - + @@ -3248,7 +3248,7 @@ - + Method is invoked at system startup. Response must provide the information about presence of UI Navigation module and its readiness to cooperate with SDL. diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml index 9b80e9dabb..708db6ebe5 100644 --- a/src/components/interfaces/MOBILE_API.xml +++ b/src/components/interfaces/MOBILE_API.xml @@ -1,7 +1,7 @@ - + @@ -2223,9 +2223,9 @@ - - - + + + @@ -5159,6 +5239,13 @@ + + Notification which provides the entire LocationDetails when there is a change to any waypoints or destination. + + See LocationDetails + + + @@ -5250,90 +5337,6 @@ - - To subscribe in getting changes for Waypoints/destinations - - - - - true, if successful; false, if failed - - - See Result - - - - - - - - - - Provides additional human readable info regarding the result. - - - - - Request for getting waypoint/destination data. - - To request for either the destination only or for all waypoints including destination - - - - - - true, if successful; false, if failed - - - See Result - - - - - - - - - - - - Provides additional human readable info regarding the result. - - - - - Request to unsubscribe from WayPoints and Destination - - - - - true, if successful; false, if failed - - - See Result - - - - - - - - - - Provides additional human readable info regarding the result. - - - See LocationDetails - - - - - Notification which provides the entire LocationDetails when there is a change to any waypoints or destination. - - See LocationDetails - - -