writeDescriptor

fun writeDescriptor(peripheral: BluetoothPeripheral, descriptor: BluetoothCharacteristicDescriptor, data: ByteArray)

Writes data to a Bluetooth characteristic descriptor.

Parameters

peripheral

The target device.

descriptor

The descriptor to write to.

data

The data to write.