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
WFBikePowerCTFData Class Reference

Represents the data available from the Crank Torque Frequency type ANT+ Bike Power sensor. More...

#import <WFBikePowerCTFData.h>

+ Inheritance diagram for WFBikePowerCTFData:
+ Collaboration diagram for WFBikePowerCTFData:

Properties

ULONG accumulatedCrankTicks
 The total number of crank revolutions measured since the sensor was connected or reset. More...
 
float accumulatedTorque
 The total accumulated torque in Nm. More...
 
ULONG averageCadence
 The average cadence. More...
 
ULONG averagePower
 The average power, in watts. More...
 
ULONG averageTorque
 The average torque at the crank. More...
 
USHORT calibrationOffset
 The calibration offset value stored on the sensor. More...
 
UCHAR eventCount
 Rotation event counter increments with each completed pedal revolution. More...
 
BOOL isDataStale
 TRUE if data is considered stale, otherwise FALSE. More...
 
WFConnectorSettingssettings
 Gets the persistent settings for the Wahoo API. More...
 
USHORT slope
 Slope defines the variation of the output frequency. More...
 
USHORT timestamp
 Time of most recent rotation event (1/2000s resolution). More...
 
ULONG torqueFrequency
 The torque frequency. More...
 
USHORT torqueTickStamp
 Count of most recent torque event. More...
 

Detailed Description

Represents the data available from the Crank Torque Frequency type ANT+ Bike Power sensor.

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

Property Documentation

- (ULONG) accumulatedCrankTicks
readwritenonatomicassign

The total number of crank revolutions measured since the sensor was connected or reset.

- (float) accumulatedTorque
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.
- (ULONG) averageCadence
readwritenonatomicassign

The average cadence.

- (ULONG) averagePower
readwritenonatomicassign

The average power, in watts.

- (ULONG) averageTorque
readwritenonatomicassign

The average torque at the crank.

- (USHORT) calibrationOffset
readwritenonatomicassign

The calibration offset value stored on the sensor.

This value is determined by the device during calibration, and returned in response to a calibration request. This value should be stored at the application level, and used when initializing the sensor. This is done via the WFHardwareConnector::setBikePowerCalibrationOffset: method.

- (UCHAR) eventCount
readwritenonatomicassign

Rotation event counter increments with each completed pedal revolution.

- (BOOL) isDataStale
readnonatomicassigninherited

TRUE if data is considered stale, otherwise FALSE.

- (WFConnectorSettings*) settings
readnonatomicassigninherited

Gets the persistent settings for the Wahoo API.

- (USHORT) slope
readwritenonatomicassign

Slope defines the variation of the output frequency.

- (USHORT) timestamp
readwritenonatomicassign

Time of most recent rotation event (1/2000s resolution).

- (ULONG) torqueFrequency
readwritenonatomicassign

The torque frequency.

- (USHORT) torqueTickStamp
readwritenonatomicassign

Count of most recent torque event.