Descriptor

class Descriptor(val newValue: ByteArray, val descriptor: Descriptor) : DeviceAction.Write

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

Parameters

newValue

the ByteArray to write

Constructors

Link copied to clipboard
constructor(newValue: ByteArray, descriptor: Descriptor)

Properties

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
Link copied to clipboard

the ByteArray to write