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
WFFitnessEquipmentData.h
Go to the documentation of this file.
1 //
2 // WFFitnessEquipmentData.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 12/21/10.
6 // Copyright 2010 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFSensorData.h>
11 
12 
21 {
24  // general FE data.
27  float accumTime;
29  float instSpeed;
32  NSTimeInterval heartrateTimestamp;
34  float lastLapAccumTime;
35 
36  // equipment specific: treadmill.
40 
41  // equipment specific: elliptical.
46 
47  // equipment specific: bike.
49  NSTimeInterval bikeCadenceTimestamp;
52  float bikeAccumTorque;
53  NSTimeInterval bikeTimestamp;
54 
55  // equipment specific: rower.
59 
64 
66 }
67 
68 
69 // general FE data.
70 
71 
75 @property (nonatomic, assign) WFFitnessEquipmentType_t equipmentType;
79 @property (nonatomic, assign) WFFitnessEquipmentState_t equipmentState;
83 @property (nonatomic, assign) float accumTime;
84 
85 
86 
90 @property (nonatomic, assign) ULONG accumDistance;
94 @property (nonatomic, assign) float instSpeed;
98 @property (nonatomic, assign) UCHAR heartrate;
102 @property (nonatomic, assign) ULONG heartrateAccumBeatCount;
103 
107 @property (nonatomic, assign) NSTimeInterval heartrateTimestamp;
108 
112 @property (nonatomic, assign) UCHAR lapNumber;
116 @property (nonatomic, assign) float lastLapAccumTime;
117 
118 
119 // equipment specific: treadmill.
120 
124 @property (nonatomic, assign) UCHAR treadmillCadence;
128 @property (nonatomic, assign) float treadmillAccumNegVertDist;
132 @property (nonatomic, assign) float treadmillAccumPosVertDist;
133 
134 // equipment specific: elliptical.
135 
139 @property (nonatomic, assign) float ellipticalAccumPosVertDist;
143 @property (nonatomic, assign) ULONG ellipticalAccumStrides;
147 @property (nonatomic, assign) UCHAR ellipticalCadence;
151 @property (nonatomic, assign) USHORT ellipticalInstPower;
152 
153 // equipment specific: bike.
154 
158 @property (nonatomic, assign) UCHAR bikeCadence;
159 
163 @property (nonatomic, assign) NSTimeInterval bikeCadenceTimestamp;
164 
165 
166 
170 @property (nonatomic, assign) ULONG bikeAccumCrankRevolutions;
174 @property (nonatomic, assign) USHORT bikeInstPower;
178 @property (nonatomic, assign) float bikeAccumTorque;
182 @property (nonatomic, assign) NSTimeInterval bikeTimestamp;
183 
184 
185 
186 // equipment specific: rower.
187 
191 @property (nonatomic, assign) ULONG rowerAccumStrokes;
195 @property (nonatomic, assign) UCHAR rowerCadence;
199 @property (nonatomic, assign) USHORT rowerInstPower;
200 
201 
202 // Debug
203 @property (nonatomic, assign) UCHAR debugRawElapsedTime;
204 @property (nonatomic, assign) UCHAR debugNewElapsedTime;
205 @property (nonatomic, assign) UCHAR debugRawElapsedDistance;
206 @property (nonatomic, assign) USHORT debugRawSpeed;
207 
208 @end
ULONG ellipticalAccumStrides
The total number of strides taken.
Definition: WFFitnessEquipmentData.h:143
This is the abstract base class for all types of ANT sensor data.
Definition: WFSensorData.h:18
UCHAR rowerCadence
The instantaneous cadence, in strokes per minute.
Definition: WFFitnessEquipmentData.h:195
UCHAR debugRawElapsedTime
Definition: WFFitnessEquipmentData.h:203
UCHAR heartrate
The instantaneous heart rate, in BPM.
Definition: WFFitnessEquipmentData.h:98
NSTimeInterval bikeCadenceTimestamp
Timestamp of the last received bike cadence data.
Definition: WFFitnessEquipmentData.h:163
USHORT rowerInstPower
The instantaneous power, in watts.
Definition: WFFitnessEquipmentData.h:199
float instSpeed
The instantaneous speed, in meters per second.
Definition: WFFitnessEquipmentData.h:94
float lastLapAccumTime
The total accumulated time at the last lap event.
Definition: WFFitnessEquipmentData.h:116
unsigned short USHORT
Definition: types.h:121
USHORT bikeInstPower
The instantaneous power, in watts.
Definition: WFFitnessEquipmentData.h:174
UCHAR debugRawElapsedDistance
Definition: WFFitnessEquipmentData.h:205
UCHAR lapNumber
The current lap number.
Definition: WFFitnessEquipmentData.h:112
WFFitnessEquipmentState_t
Describes the state of a Fitness Equipment machine.
Definition: hardware_connector_types.h:203
float ellipticalAccumPosVertDist
The total positive vertical distance traveled, in meters.
Definition: WFFitnessEquipmentData.h:139
unsigned char UCHAR
Definition: types.h:118
UCHAR bikeCadence
The instantaneous cadence, in RPMs.
Definition: WFFitnessEquipmentData.h:158
float treadmillAccumNegVertDist
The total negative vertial distance traveled, in meters.
Definition: WFFitnessEquipmentData.h:128
float treadmillAccumPosVertDist
The total positive vertical distance traveled, in meters.
Definition: WFFitnessEquipmentData.h:132
float accumTime
The accumulated time since the workout was started, in seconds.
Definition: WFFitnessEquipmentData.h:83
USHORT debugRawSpeed
Definition: WFFitnessEquipmentData.h:206
ULONG rowerAccumStrokes
The total stroke count.
Definition: WFFitnessEquipmentData.h:191
USHORT ellipticalInstPower
The instantaneous power, in watts.
Definition: WFFitnessEquipmentData.h:151
Represents the most commonly used data available from the ANT+ Fitness Equipment sensor.
Definition: WFFitnessEquipmentData.h:20
ULONG accumDistance
The accumulated distance, in meters, since the workout was started.
Definition: WFFitnessEquipmentData.h:90
unsigned long ULONG
Definition: types.h:133
NSTimeInterval bikeTimestamp
Timestamp of the last received bike specific data.
Definition: WFFitnessEquipmentData.h:182
UCHAR debugNewElapsedTime
Definition: WFFitnessEquipmentData.h:204
UCHAR ellipticalCadence
The instantaneous cadence, in strides per minute.
Definition: WFFitnessEquipmentData.h:147
UCHAR treadmillCadence
The instantaneous cadence, in strides per minute.
Definition: WFFitnessEquipmentData.h:124
ULONG heartrateAccumBeatCount
The calcualted accumulated heart rate, in BPM.
Definition: WFFitnessEquipmentData.h:102
float bikeAccumTorque
The estimated accumative torque (esimated based on inst power.
Definition: WFFitnessEquipmentData.h:178
ULONG bikeAccumCrankRevolutions
The accumulated crank revolutions since the sensor was connected or reset.
Definition: WFFitnessEquipmentData.h:170
WFFitnessEquipmentType_t
Describes the type of Fitness Equipment machine.
Definition: hardware_connector_types.h:180
NSTimeInterval heartrateTimestamp
Timestamp of the last received bike cadence data.
Definition: WFFitnessEquipmentData.h:107
WFFitnessEquipmentState_t equipmentState
The current state of the connected Fitness Equipment device.
Definition: WFFitnessEquipmentData.h:79
WFFitnessEquipmentType_t equipmentType
The type of the connected Fitness Equipment device.
Definition: WFFitnessEquipmentData.h:75