Characteristic

class Characteristic(newValue: ByteArray, val characteristic: RemoteCharacteristic) : DeviceAction.Write

A DeviceAction.Write on a RemoteCharacteristic

Parameters

newValue

the ByteArray to write

Constructors

Link copied to clipboard
constructor(newValue: ByteArray, characteristic: RemoteCharacteristic)

Properties

Link copied to clipboard
Link copied to clipboard

the ByteArray to write

Link copied to clipboard

A Deferred that will be completed with Response when DeviceAction has been handled by the ConnectableDevice

Functions

Link copied to clipboard
open override fun toString(): String