ConnectableDeviceStateImplRepo
A BaseConnectableDeviceStateRepo managed by a DeviceConnectionManager
Parameters
the default ConnectionSettings.ReconnectionSettings to use when reconnecting after the device disconnects unexpectedly
the DeviceConnectionManager to manage the ConnectableDeviceState
the CoroutineContext of this repo
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