readCharacteristic method

Stream<void> readCharacteristic(
  1. CharacteristicInstance characteristic
)

Performs service discovery on the peripheral and returns the discovered services.

This operation can only succeed when the host is connected with the peripheral. Only the success or failure of this operation should be propagated to this stream. The read value is distributed to charValueUpdateStream.

Implementation

Stream<void> readCharacteristic(CharacteristicInstance characteristic) {
  throw UnimplementedError('readCharacteristic has not been implemented.');
}