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

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

#import <WFBikeCadenceRawData.h>

+ Inheritance diagram for WFBikeCadenceRawData:
+ Collaboration diagram for WFBikeCadenceRawData:

Properties

WFCommonDatacommonData
 Common sensor data, provides information about the sensor. More...
 
BOOL isDataStale
 TRUE if data is considered stale, otherwise FALSE. More...
 
USHORT lastCadenceTime
 Represents the time of the last valid cadence event. More...
 
WFConnectorSettingssettings
 Gets the persistent settings for the Wahoo API. More...
 
USHORT totalCrankRevolutions
 Represents the total number of pedal revolutions. More...
 

Detailed Description

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

ANT+ sensors send data in multiple packets. The WFBikeCadenceRawData 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

- (WFCommonData*) commonData
readnonatomicassign

Common sensor data, provides information about the sensor.

- (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.

- (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.