Characteristic

class Characteristic(newValue: ByteArray, val characteristic: RemoteCharacteristic, val writeType: WriteType? = null) : DeviceAction.Write

A DeviceAction.Write on a RemoteCharacteristic

Parameters

newValue

the ByteArray to write

Constructors

Link copied to clipboard
constructor(newValue: ByteArray, characteristic: RemoteCharacteristic, writeType: WriteType? = null)

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

Link copied to clipboard

the WriteType to use, or null to infer it from the characteristic's properties

Functions

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