Characteristic

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

A DeviceAction.Write on a com.splendo.kaluga.bluetooth.Characteristic

Parameters

newValue

the ByteArray to write

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val completedSuccessfully: CompletableDeferred<Boolean>

A Deferred that will be completed with true if DeviceAction was completed successfully, or false if DeviceAction failed

Link copied to clipboard

the ByteArray to write