Attribute
A bluetooth attribute conforming to the Attribute Protocol in Bluetooth Low Energy
Parameters
the DeviceAction.Read associated with the attribute
the DeviceAction.Write associated with the attribute
the initial ByteArray value of the attribute
method to call when a new DeviceConnectionManager.Event.AddAction event should take place
the log tag used to modify the log tag of this attribute
the Logger to use for logging.
Inheritors
Constructors
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
Creates and emits a ReadAction
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
Notifies the attribute that a new value may be available
Gets a (Flow of) the ByteArray value from a Flow of an AttributeType
Creates and emits a WriteAction to write a given ByteArray