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
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
Requests an update to the MTU size of the device
Link copied to clipboard
Fires an Event.Connecting
Link copied to clipboard
Fires an Event.Disconnecting
Link copied to clipboard
Fires an Event.Discovering