diff options
author | igapchuck <igapchuck@luxoft.com> | 2019-06-06 14:48:14 +0300 |
---|---|---|
committer | igapchuck <igapchuck@luxoft.com> | 2019-06-06 15:07:30 +0300 |
commit | be2dd5badfc9fef8734b56fce1a1827f8ac1aee0 (patch) | |
tree | 06692c083592d373482de69cfa69682b778f2b94 /src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands | |
parent | e8153d66adf7e284368d091f5dfd4de602d53840 (diff) | |
download | sdl_core-be2dd5badfc9fef8734b56fce1a1827f8ac1aee0.tar.gz |
fixup! Feature: Remote Control - Radio and Climate Parameter Update.
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands')
2 files changed, 3 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc index cd6e8b998e..ded96461f5 100644 --- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc +++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc @@ -108,6 +108,7 @@ void GetInteriorVehicleDataRequest::FilterDisabledModuleData( if (module_data.keyExists(message_params::kHdRadioEnable) && module_data[message_params::kHdRadioEnable].asBool() == false) { module_data.erase(message_params::kHdChannel); + module_data.erase(message_params::kAvailableHDs); module_data.erase(message_params::kAvailableHdChannels); module_data.erase(message_params::kSisData); } diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc index f7ef2ed6cc..44d302276d 100644 --- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc +++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc @@ -54,6 +54,7 @@ std::vector<std::string> GetModuleReadOnlyParams( module_ro_params.push_back(kCurrentTemperature); } else if (enums_value::kRadio == module_type) { module_ro_params.push_back(kRdsData); + module_ro_params.push_back(kAvailableHDs); module_ro_params.push_back(kAvailableHdChannels); module_ro_params.push_back(kSignalStrength); module_ro_params.push_back(kSignalChangeThreshold); @@ -100,6 +101,7 @@ const std::map<std::string, std::string> GetModuleDataToCapabilitiesMapping() { mapping["frequencyInteger"] = "radioFrequencyAvailable"; mapping["frequencyFraction"] = "radioFrequencyAvailable"; mapping["rdsData"] = "rdsDataAvailable"; + mapping["availableHDs"] = "availableHDsAvailable"; mapping["availableHdChannels"] = "availableHdChannelsAvailable"; mapping["hdChannel"] = "availableHdChannelsAvailable"; mapping["hdRadioEnable"] = "hdRadioEnableAvailable"; |