Interface AntPlusBikePowerPcc.IRawCtfDataReceiver

Enclosing class:
AntPlusBikePowerPcc

public static interface AntPlusBikePowerPcc.IRawCtfDataReceiver
Receiver for the RawCtfData event, which is: Event timing information and crank torque values from a power sensor reported as frequency instead. This data is optional and may not be sent by all sensors. Note: Crank Torque Frequency sensors require daily calibration to receive correct data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewRawCtfData(long estTimestamp, EnumSet<EventFlag> eventFlags, long ctfUpdateEventCount, BigDecimal instantaneousSlope, BigDecimal accumulatedTimeStamp, long accumulatedTorqueTicksStamp)
    Receives the data from a RawCtfData event.
  • Method Details

    • onNewRawCtfData

      void onNewRawCtfData(long estTimestamp, EnumSet<EventFlag> eventFlags, long ctfUpdateEventCount, BigDecimal instantaneousSlope, BigDecimal accumulatedTimeStamp, long accumulatedTorqueTicksStamp)
      Receives the data from a RawCtfData 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.
      ctfUpdateEventCount - The update event count increments with each complete pedal stroke. The update event count is used to indicate the number of cadence events that have occurred between two consecutively received messages. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Rollover: Every ~9 quintillion N/A.
      instantaneousSlope - The variation of the output frequency (up to 1/10 Nm/Hz resolution). Units: Nm/Hz.
      accumulatedTimeStamp - The crank torque-frequency message uses a 2000Hz clock to time cadence events. The time stamp field indicates the time of the most recent cadence event. Each time stamp tick represents a 500-microsecond interval. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Units: s. Rollover: Every ~5 quadrillion s.
      accumulatedTorqueTicksStamp - Represents the most recent value of torque ticks since the last registered revolution. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Rollover: Every ~9 quintillion N/A.