public static interface AntPlusBikePowerPcc.IRawPowerOnlyDataReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewRawPowerOnlyData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
long powerOnlyUpdateEventCount,
int instantaneousPower,
long accumulatedPower)
Receives the data from a RawPowerOnlyData event.
|
void onNewRawPowerOnlyData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, long powerOnlyUpdateEventCount, 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.powerOnlyUpdateEventCount
- This field is incremented each time the sensor updates power-only 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.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.