public static interface AntPlusFitnessEquipmentPcc.IRawTrainerDataReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewRawTrainerData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
long updateEventCount,
int instantaneousCadence,
int instantaneousPower,
long accumulatedPower)
Receives the data from a RawTrainerData event.
|
void onNewRawTrainerData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, long updateEventCount, int instantaneousCadence, int instantaneousPower, long accumulatedPower)
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.updateEventCount
- This field is incremented each time the sensor updates trainer data. Can be used to help calculate power between RF outages and to determine if the data from the sensor is new. 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.instantaneousCadence
- Instantaneous cadence valid for display, computed by sensor (up to 1RPM resolution). '-1' = Invalid data. Units: RPM.instantaneousPower
- Instantaneous power computed by the sensor valid for display (up to 1W resolution). Units: W.accumulatedPower
- Accumulated power is the running sum of the instantaneous power data and is incremented at each update of the update event count (up to 1W resolution). Can be used to help calculate power between RF outages. 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: W. Rollover: Every ~9 quintillion W.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.