diff options
author | JackLivio <jack@livio.io> | 2020-02-04 14:56:08 -0500 |
---|---|---|
committer | JackLivio <jack@livio.io> | 2020-02-04 14:56:08 -0500 |
commit | 8a3fc1fb2d22a57fd7fb77b149d66b2bc4d91695 (patch) | |
tree | f9cbb3348eb4d19e98780f81687b42c401ded12a | |
parent | 4f38642b1493007182874fd7011ca225ced93007 (diff) | |
download | sdl_core-feature/experimental/wifi_transport_sharing.tar.gz |
Add joinNetwork to command factoryfeature/experimental/wifi_transport_sharing
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc index c0f2c8f651..caa0592eea 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc @@ -395,6 +395,11 @@ CommandCreator& MobileCommandFactory::get_command_creator( ? factory.GetCreator<commands::CloseApplicationRequest>() : factory.GetCreator<commands::CloseApplicationResponse>(); } + case mobile_apis::FunctionID::JoinNetworkID: { + return mobile_api::messageType::request == message_type + ? factory.GetCreator<commands::JoinNetworkRequest>() + : factory.GetCreator<commands::JoinNetworkResponse>(); + } case mobile_apis::FunctionID::GenericResponseID: { using app_mngr::commands::Command; return factory.GetCreator<commands::GenericResponse>(); |