public static interface AntPlusBikeCadencePcc.IRawCadenceDataReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewRawCadenceData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal timestampOfLastEvent,
long cumulativeRevolutions)
Receives the data from a RawCadenceData event.
|
void onNewRawCadenceData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, java.math.BigDecimal timestampOfLastEvent, long cumulativeRevolutions)
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.timestampOfLastEvent
- Sensor reported time counter value of last event (up to 1/1024s accuracy). Units: s. Rollover: Every ~46 quadrillion s (~1.5 billion years).cumulativeRevolutions
- Total number of revolutions since the sensor was connected. 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: revolutions. Rollover: Every ~9 quintillion revolutions.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.