BaseDeviceConnectionManager
abstract class BaseDeviceConnectionManager(deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope) : DeviceConnectionManager, CoroutineScope
A DeviceConnectionManager using a DeviceWrapper
Parameters
deviceWrapper
the DeviceWrapper wrapping the Device
settings
the ConnectionSettings to apply for connecting
coroutineScope
the CoroutineScope on which the device should be managed
Constructors
Link copied to clipboard
constructor(deviceWrapper: DeviceWrapper, settings: ConnectionSettings, coroutineScope: CoroutineScope)
Properties
Link copied to clipboard
Link copied to clipboard
A Flow of all the Event detected by the connection manager
Functions
Link copied to clipboard
Fires an Event.CancelledConnecting
Link copied to clipboard
Starts disconnecting from the device
Link copied to clipboard
Starts discovering Service for the device
Link copied to clipboard
Gets the current State of the device
Link copied to clipboard
Fires an Event.Connected
Link copied to clipboard
Fires an Event.Disconnected
Link copied to clipboard
Starts performing a DeviceAction
Link copied to clipboard
Fires an Event.AddAction with DeviceAction.RequestMtu
Link copied to clipboard
Fires an Event.Connecting
Link copied to clipboard
Fires an Event.Disconnecting
Link copied to clipboard
Fires an Event.Discovering