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

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

#import <WFBikeSpeedRawData.h>

+ Inheritance diagram for WFBikeSpeedRawData:
+ Collaboration diagram for WFBikeSpeedRawData:

Properties

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

Detailed Description

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

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