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

Represents the raw data available from the ANT+ Stride sensor. More...

#import <WFFootpodRawData.h>

+ Inheritance diagram for WFFootpodRawData:
+ Collaboration diagram for WFFootpodRawData:

Properties

float cadence
 The measure of strides accumulated in time (strides per minute). More...
 
WFCommonDatacommonData
 Common sensor data, provides information about the sensor. More...
 
float distance
 The current distance in meters. More...
 
float instantaneousSpeed
 The instantaneous speed in meters per second. More...
 
BOOL isDataStale
 TRUE if data is considered stale, otherwise FALSE. More...
 
float lastTime
 The time of the last distance and/or speed computation. More...
 
UCHAR latency
 The time elapsed between the last speed and distance computation and the current measurement. More...
 
UCHAR moduleLocation
 The location of the sensor device. More...
 
WFConnectorSettingssettings
 Gets the persistent settings for the Wahoo API. More...
 
UCHAR strideCount
 The current stride count. More...
 
UCHAR unitHealth
 The health status of the device. More...
 
UCHAR useState
 The current use state of the device. More...
 

Detailed Description

Represents the raw data available from the ANT+ Stride sensor.

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

- (float) cadence
readwritenonatomicassign

The measure of strides accumulated in time (strides per minute).

- (WFCommonData*) commonData
readnonatomicassign

Common sensor data, provides information about the sensor.

- (float) distance
readwritenonatomicassign

The current distance in meters.

The integral component of the distance value is sent from the sensor as a single byte. Therefore, the distance value will roll over after 256 meters. This should be taken into account when calculating accumulated distance measurements.

- (float) instantaneousSpeed
readwritenonatomicassign

The instantaneous speed in meters per second.

- (BOOL) isDataStale
readnonatomicassigninherited

TRUE if data is considered stale, otherwise FALSE.

- (float) lastTime
readwritenonatomicassign

The time of the last distance and/or speed computation.

Time starts when SDM is powered ON and continues until it is powered OFF. The integral component of the time data from the sensor is a single byte. Therefore, the time value will roll over after 256 seconds. This should be taken into account when calculating time offsets.

- (UCHAR) latency
readwritenonatomicassign

The time elapsed between the last speed and distance computation and the current measurement.

The resolution of this value is 1/32 second.

- (UCHAR) moduleLocation
readwritenonatomicassign

The location of the sensor device.

This value uses two bits of data. The values are: 00 Laces, 01 Midsole, 10 Chest, and 11 Other.

- (WFConnectorSettings*) settings
readnonatomicassigninherited

Gets the persistent settings for the Wahoo API.

- (UCHAR) strideCount
readwritenonatomicassign

The current stride count.

The stride count is a single byte value which rolls over after 255 strides.

- (UCHAR) unitHealth
readwritenonatomicassign

The health status of the device.

This value uses two bits of data. The values are: 00 OK, 01 Error, and 10 Warning.

- (UCHAR) useState
readwritenonatomicassign

The current use state of the device.

This value uses two bits of data. The values are: 00 Inactive and 01 Active (the other two values are currently not specified).