Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFBikePowerData_Deprecated Class Reference

Represents the most commonly used data available from the ANT+ Bike Power sensor. More...

#import <WFBikePowerData_Deprecated.h>

+ Inheritance diagram for WFBikePowerData_Deprecated:
+ Collaboration diagram for WFBikePowerData_Deprecated:

Properties

float fpAccumulatedTorque DEPRECATED_ATTRIBUTE
 The total accumulated torque in Nm. More...
 
float fpAccumulatedPower DEPRECATED_ATTRIBUTE
 The total accumulated power in Watts. More...
 
ULONG ulAccumulatedTicks DEPRECATED_ATTRIBUTE
 The total accumulated revolutions measured by the sensor. More...
 
float fpCalculatedCrankTicks DEPRECATED_ATTRIBUTE
 The total calculated crank revolutions. More...
 
UCHAR ucInstCadence DEPRECATED_ATTRIBUTE
 The instantaneous crank cadence, in RPM. More...
 
ULONG ulAveragePower DEPRECATED_ATTRIBUTE
 The average power measured over the last revolution. More...
 
UCHAR ucEventCount DEPRECATED_ATTRIBUTE
 The event counter value. More...
 
NSTimeInterval timestamp DEPRECATED_ATTRIBUTE
 The real-time timestamp for data from the sensor (as an offset from the Cocoa reference date). More...
 
BOOL timestampOverflow DEPRECATED_ATTRIBUTE
 Indicates that the time between data samples from the sensor has exceeded the rollover time (64 seconds). More...
 
BOOL isDataStale
 TRUE if data is considered stale, otherwise FALSE. More...
 
WFConnectorSettingssettings
 Gets the persistent settings for the Wahoo API. More...
 

Detailed Description

Represents the most commonly used data available from the ANT+ Bike Power sensor.

ANT+ sensors send data in multiple packets. The WFBikePowerData combines the most commonly used of this data into a single entity. The data represents the latest of each data type sent from the sensor.

The methods in this class have been deprecated and replaced with new properties that cover both ANT+ and BTLE power sensors. These properties will remain to work with ANT+ sensors but will not return any values for BTLE power sensors.

Property Documentation

- (float fpAccumulatedTorque) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The total accumulated torque in Nm.

Accumulated torque is the sum of the average torque for each update period. For example, in wheel-based power sensors, it is the sum of the average torque for each wheel revolution.

Note
The accumulator is initialized when the sensor is first connected, and reset via the resetAllSensorData (WFHardwareConnector) method.

DEPRECATED - Please use accumulatedTorque property.

- (float fpAccumulatedPower) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The total accumulated power in Watts.

Accumlated power is the sum of the average torgue for each update period. This is ONLY used for Power Only sensors, all other power meter types use fpAccumulatedTorque

DEPRECATED - Please use accumulatedPower property.

- (ULONG ulAccumulatedTicks) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The total accumulated revolutions measured by the sensor.

This source of this value depends on the sensor type. The value will be wheel revolutions for wheel-based sensors, and crank revolutions for crank based sensors.

DEPRECATED - Please use accumulatedEventCount property.

- (float fpCalculatedCrankTicks) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The total calculated crank revolutions.

This value is available only for certain types of wheel-based sensors.

DEPRECATED - Please use crankRevolutions property.

- (UCHAR ucInstCadence) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The instantaneous crank cadence, in RPM.

DEPRECATED - Please use instantCadence property.

- (ULONG ulAveragePower) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The average power measured over the last revolution.

The span of this value depends on the type of sensor (wheel revolution for wheel-based sensors, and crank revolution for crank-based sensors).

DEPRECATED - Please use instantPower property.

- (UCHAR ucEventCount) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The event counter value.

See the event counter value of the specific power meter type for more about this value (WFBikePowerCTFData, WFBikePowerCrankTorqueData, and WFBikePowerWheelTorqueData).

- (NSTimeInterval timestamp) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

The real-time timestamp for data from the sensor (as an offset from the Cocoa reference date).

Time values from the sensors are implemented as an offset in seconds between the time when the sensor is turned on and the time when a data sample is taken. This value is typically a 16-bit unsigned integer in units of 1/1024 second. The rollover is then 64 seconds.

A base real-time value is stored when the first sample from the sensor is received. The timestamp of each subsequent sample is the base time value offset by the time value offset from the sensor. If the time between samples is greater than the rollover time, the base time value is set to the time the first sample after the delay is received.

DEPRECATED - Please use accumulatedTimestamp property.

- (BOOL timestampOverflow) DEPRECATED_ATTRIBUTE
readwritenonatomicassign

Indicates that the time between data samples from the sensor has exceeded the rollover time (64 seconds).

DEPRECATED - Please use accumulatedTimestampOverflow property.

- (BOOL) isDataStale
readnonatomicassigninherited

TRUE if data is considered stale, otherwise FALSE.

- (WFConnectorSettings*) settings
readnonatomicassigninherited

Gets the persistent settings for the Wahoo API.