Interface AntPlusBikePowerPcc.IMeasurementOutputDataReceiver

Enclosing class:
AntPlusBikePowerPcc

public static interface AntPlusBikePowerPcc.IMeasurementOutputDataReceiver
Receiver for the MeasurementOutputData event, which is: Data sent by power meters intended to enrich the calibration process.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewMeasurementOutputData(long estTimestamp, EnumSet<EventFlag> eventFlags, int numOfDataTypes, int dataType, BigDecimal timeStamp, BigDecimal measurementValue)
    Receives the data from a MeasurementOutputData event.
  • Method Details

    • onNewMeasurementOutputData

      void onNewMeasurementOutputData(long estTimestamp, EnumSet<EventFlag> eventFlags, int numOfDataTypes, int dataType, BigDecimal timeStamp, BigDecimal measurementValue)
      Receives the data from a MeasurementOutputData event.
      Parameters:
      estTimestamp - The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.
      eventFlags - Informational flags about the event.
      numOfDataTypes - The total number of different data types the power meter intends to send.
      dataType - The data type and engineering units applicable to the measurement value.
      timeStamp - The timestamp corresponding to the instantaneous measurement value. Units: s. Rollover: Every ~4.4 quadrillion s.
      measurementValue - The signed data value sent by the power meter, the data type may be used to infer the type of data being received.