readDescriptor method

Future<Uint8List> readDescriptor(
  1. String descriptorUuid, {
  2. Duration? timeout,
  3. String? queueId,
})

Reads the value of a descriptor of this characteristic.

descriptorUuid is the UUID of the descriptor to read. timeout is the timeout for the read operation. queueId is the ID of the queue to use for the read operation.

Implementation

Future<Uint8List> readDescriptor(
  String descriptorUuid, {
  Duration? timeout,
  String? queueId,
}) =>
    BleShieldNative.readDescriptor(
      _metaData.deviceId,
      _metaData.serviceId,
      uuid,
      descriptorUuid,
      timeout: timeout,
      queueId: queueId,
    );