ScanningStateImplRepo
A BaseScanningStateRepo managed using a Scanner
Parameters
method for creating the Scanner to manage the ScanningState
method for creating CoroutineContext given an Identifier
the CoroutineContext the CoroutineContext used to create a coroutine scope for this state machine.
Inheritors
Constructors
Properties
Functions
Gets the (Flow of) BaseAdvertisementData from a Flow of Device
Gets a (Flow of) the list Characteristic associated with the Service in a Flow
Attempts to connect to the Device from a Flow of Device When this method completes, the devices should be in a ConnectableDeviceState.Connected state
Gets a (Flow of) the list Descriptor associated with the Characteristic in a Flow
Attempts to disconnect to the Device from a Flow of Device When this method completes, the devices should be in a ConnectableDeviceState.Disconnected state
Gets a (Flow of) AttributeType of a given UUID from a Flow of a list of AttributeType
Gets a (Flow of) Device with a given Identifier from a Flow of a list of Device.
Gets the (Flow of) DeviceInfo from a Flow of Device
Attempts to request a MTU size for the Device from a Flow of Device When this method completes, the devices should have had ConnectableDeviceState.Connected.requestMtu called
Gets a (Flow of) DeviceState from a Flow or Device
Pairs a (Flow of) Device by calling [ConnectableDeviceState.unpair]
on the first ConnectableDeviceState
Attempts to request an update to the RSSI of the Device from a Flow of Device When this method completes, the devices should have had ConnectableDeviceState.Connected.readRssi called
Gets a (Flow of) the ByteArray value from a Flow of an AttributeType