writeDescriptor method
Writes a value to a descriptor of this characteristic.
descriptorUuid is the UUID of the descriptor to write.
value is the value to write.
timeout is the timeout for the write operation.
queueId is the ID of the queue to use for the write operation.
Implementation
Future<void> writeDescriptor(
String descriptorUuid,
Uint8List value, {
Duration? timeout,
String? queueId,
}) =>
BleShieldNative.writeDescriptor(
_metaData.deviceId,
_metaData.serviceId,
uuid,
descriptorUuid,
value,
timeout: timeout,
queueId: queueId,
);