summaryrefslogtreecommitdiff
path: root/src/components/include/transport_manager/transport_adapter/transport_adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/transport_manager/transport_adapter/transport_adapter.h')
-rw-r--r--src/components/include/transport_manager/transport_adapter/transport_adapter.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/components/include/transport_manager/transport_adapter/transport_adapter.h b/src/components/include/transport_manager/transport_adapter/transport_adapter.h
index ee726ff1d3..6f2ef7b62e 100644
--- a/src/components/include/transport_manager/transport_adapter/transport_adapter.h
+++ b/src/components/include/transport_manager/transport_adapter/transport_adapter.h
@@ -59,7 +59,16 @@ class TransportAdapterListener;
// TODO(EZamakhov): cahnge to DeviceUID
// typedef std::string DeviceType;
-enum DeviceType { AOA, PASA_AOA, BLUETOOTH, PASA_BLUETOOTH, MME, TCP, UNKNOWN };
+enum DeviceType {
+ AOA,
+ PASA_AOA,
+ BLUETOOTH,
+ PASA_BLUETOOTH,
+ IOS_BT,
+ IOS_USB,
+ TCP,
+ UNKNOWN
+};
typedef std::map<DeviceType, std::string> DeviceTypes;
@@ -278,6 +287,16 @@ class TransportAdapter {
*/
virtual std::string DeviceName(const DeviceUID& device_id) const = 0;
+ /**
+ * @brief StopDevice Allows to stop all activity on devices without
+ * removing one from device list
+ *
+ * @param device_id unique device identifier that has to be stopped.
+ */
+ virtual void StopDevice(const DeviceUID& device_id) const = 0;
+
+ virtual void DeviceSwitched(const DeviceUID& device_handle) = 0;
+
#ifdef TELEMETRY_MONITOR
/**
* @brief Return Time metric observer