diff options
author | Andrey Oleynik (GitHub) <aoleynik@luxoft.com> | 2017-11-29 18:33:59 +0200 |
---|---|---|
committer | Andriy Byzhynar <AByzhynar@luxoft.com> | 2018-01-18 12:03:51 +0200 |
commit | ee1d2d7677a7d94da43cc8b1e047bdd816e5fd83 (patch) | |
tree | e1b956cd3c472f792117735a20935587e75cfb79 /src/components/application_manager/include/application_manager/commands | |
parent | 11bef60123b62bbe0f8f624bb24a5f0cf74980aa (diff) | |
download | sdl_core-ee1d2d7677a7d94da43cc8b1e047bdd816e5fd83.tar.gz |
Changes iAP2 Bluetooth to USB switching flow
These changes update switching flow so now instead of automatic
switching start in case of same UUID is detected SDL will wait for
external signal from the system to start this flow.
Also due to UUID is reliable only while device remains connected (at
least on certain systems) SDL now uses Bluetooth MAC and USB serial to
manage devices and UUID is used only for detection of devices able to
switch their transports. Currently only iAP2 Bluetooth to USB support is
implemented.
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands')
-rw-r--r-- | src/components/application_manager/include/application_manager/commands/mobile/register_app_interface_request.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/mobile/register_app_interface_request.h b/src/components/application_manager/include/application_manager/commands/mobile/register_app_interface_request.h index a7c627b529..3e5f9252de 100644 --- a/src/components/application_manager/include/application_manager/commands/mobile/register_app_interface_request.h +++ b/src/components/application_manager/include/application_manager/commands/mobile/register_app_interface_request.h @@ -88,14 +88,15 @@ class RegisterAppInterfaceRequest : public CommandRequestImpl { * @brief The AppicationType enum defines whether application is newly * registered or existing and being switched over another transport */ - enum class AppicationType { kNewApplication, kSwitchedApplication }; + enum class ApplicationType { + kNewApplication, kSwitchedApplicationHashOk, kSwitchedApplicationWrongHashId }; /** * @brief Prepares and sends RegisterAppInterface response to mobile * considering application type * @param app_type Type of application **/ - void SendRegisterAppInterfaceResponseToMobile(AppicationType app_type); + void SendRegisterAppInterfaceResponseToMobile(ApplicationType app_type); smart_objects::SmartObjectSPtr GetLockScreenIconUrlNotification( const uint32_t connection_key, ApplicationSharedPtr app); |