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

Represents the raw data available from the ANT+ combined Bike Speed and Cadence sensor. More...

#import <WFBikeSpeedCadenceRawData.h>

+ Inheritance diagram for WFBikeSpeedCadenceRawData:
+ Collaboration diagram for WFBikeSpeedCadenceRawData:

Properties

BOOL isDataStale
 TRUE if data is considered stale, otherwise FALSE. More...
 
USHORT lastCadenceTime
 Represents the time of the last valid cadence event. More...
 
USHORT lastSpeedTime
 Represents the time of the last valid speed event. More...
 
WFConnectorSettingssettings
 Gets the persistent settings for the Wahoo API. More...
 
USHORT totalCrankRevolutions
 Represents the total number of pedal revolutions. More...
 
USHORT totalWheelRevolutions
 Represents the total number of wheel revolutions. More...
 

Detailed Description

Represents the raw data available from the ANT+ combined Bike Speed and Cadence sensor.

ANT+ sensors send data in multiple packets. The WFBikeSpeedCadenceRawData combines the more advanced (less commonly used) of this data into a single entity. The data represents the latest of each data type sent from the sensor.

Property Documentation

- (BOOL) isDataStale
readnonatomicassigninherited

TRUE if data is considered stale, otherwise FALSE.

- (USHORT) lastCadenceTime
readwritenonatomicassign

Represents the time of the last valid cadence event.

The time units are 1/1024 seconds. Since the values are stored in two byte integers which have a maximum value of 65536, the value will roll over at 64 seconds (65536 / 1024). This should be taken into consideration when determining the currency of the data.

- (USHORT) lastSpeedTime
readwritenonatomicassign

Represents the time of the last valid speed event.

The time units are 1/1024 seconds. Since the values are stored in two byte integers which have a maximum value of 65536, the value will roll over at 64 seconds (65536 / 1024). This should be taken into consideration when determining the currency of the data.

- (WFConnectorSettings*) settings
readnonatomicassigninherited

Gets the persistent settings for the Wahoo API.

- (USHORT) totalCrankRevolutions
readwritenonatomicassign

Represents the total number of pedal revolutions.

Since the value is stored in a two byte integer which has a maximum value of 65536, the value will roll over at 65536 revolutions. This should be taken into consideration when making calculations.

- (USHORT) totalWheelRevolutions
readwritenonatomicassign

Represents the total number of wheel revolutions.

Since the value is stored in a two byte integer which has a maximum value of 65536, the value will roll over at 65536 revolutions. This should be taken into consideration when making calculations.