readDescriptor

fun readDescriptor(peripheral: BluetoothPeripheral, characteristic: BluetoothCharacteristic, descriptor: BluetoothCharacteristicDescriptor)

Reads a descriptor associated with a Bluetooth characteristic.

Parameters

peripheral

The target device.

characteristic

The characteristic containing the descriptor.

descriptor

The descriptor to read.