stop method

Future<void> stop()

stop sends stop_ecg_packet to device.

Implementation

Future<void> stop() async {
  isMeasuring = false;
  final control = ble.points[Characteristics.STOP_ECG];
  await control.writePacket(commands.stopEcg);
}