descriptorsForCharacteristic method

Future<List<Descriptor>> descriptorsForCharacteristic(
  1. String serviceUuid,
  2. String characteristicUuid
)

Returns a list of Descriptors for Characteristic matching specified UUIDs.

Returns list of discovered Descriptors for given serviceUuid in specified characteristic with characteristicUuid

Will result in error if discovery was not done during this connection.

Implementation

Future<List<Descriptor>> descriptorsForCharacteristic(
  String serviceUuid,
  String characteristicUuid,
) =>
    _manager.descriptorsForPeripheral(this, serviceUuid, characteristicUuid);