fetchMeasurement abstract method

Future<VtjCommandResult<FetchMeasurementResult>> fetchMeasurement(
  1. BluetoothDevice device,
  2. MeasurementConfig config, {
  3. int startIndex = 0,
})

Start download of last completed measurement. Data will be sent via the RPC Download Characteristic. See BLE Interface Specification Section 7.6

config is required for proper CRC validation when data is compressed.

Implementation

Future<VtjCommandResult<FetchMeasurementResult>> fetchMeasurement(
  BluetoothDevice device,
  MeasurementConfig config, {
  int startIndex = 0,
});