From 222ec0566594288744d73ef30174e714bd6f29ce Mon Sep 17 00:00:00 2001 From: Shobhit Adlakha Date: Wed, 6 Mar 2019 13:36:58 -0500 Subject: GetFile RPC (#2811) * Implemented GetFile rpc in MOBILE API * Initial implementation of GetFile rpc * Implemented GetFile RPC * Fixed binary data param in GetFile response * Added case for handling SmartType UInteger in SmartObject::duplicate function * Implemented offset and length params * Implemented GetFile for services published by the HMI * Switched to events to handle forwarding GetFile request to HMI * Addressed review comments * Addressed review comments * Addressed review comments * Implemented length parameter * Changed RPC name from GetFileFromHMI to GetFilePath * Fix MOBILE_API formatting * Fix HMI_API formatting * Addressed review comments * Checking success rather than result code for hmi response --- src/appMain/sdl_preloaded_pt.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/appMain') diff --git a/src/appMain/sdl_preloaded_pt.json b/src/appMain/sdl_preloaded_pt.json index 8041a0d4e9..fcd92e6df5 100644 --- a/src/appMain/sdl_preloaded_pt.json +++ b/src/appMain/sdl_preloaded_pt.json @@ -200,6 +200,12 @@ "LIMITED", "NONE"] }, + "GetFile": { + "hmi_levels": ["BACKGROUND", + "FULL", + "LIMITED", + "NONE"] + }, "RegisterAppInterface": { "hmi_levels": ["BACKGROUND", "FULL", -- cgit v1.2.1