readCharacteristic method
Future<Uint8List?>
readCharacteristic({
- required String serviceUuid,
- required String characteristicUuid,
- Duration timeout = const Duration(seconds: 30),
override
readCharacteristic reads the value of a BLE characteristic. The return value is the raw bytes of the characteristic.
If the characteristic is not readable, this method will return null.
Implementation
@override
Future<Uint8List?> readCharacteristic({
required String serviceUuid,
required String characteristicUuid,
Duration timeout = const Duration(seconds: 30),
}) =>
throw UnimplementedError('readCharacteristic() has not been implemented.');