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
WFBikePowerConnection.h
Go to the documentation of this file.
1 //
2 // WFBikePowerConnection.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 11/9/10.
6 // Copyright 2010 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/_WFBikePowerConnection.h>
11 
12 
13 @class WFBikePowerData;
14 @class WFBikePowerRawData;
15 @class WFANTBikePowerData;
16 @class WFBTLEBikePowerData;
17 
18 
23 {
24 }
25 
26 
31 @property (nonatomic, retain) id<WFBikePowerDelegate> cpmDelegate;
32 
37 @property (nonatomic, retain) id<WFBikeTrainerDelegate> btDelegate;
38 
46 @property (nonatomic, assign) BOOL autoCalibrate;
47 
48 
61 - (WFBikePowerData*)getBikePowerData;
62 
71 - (WFBikePowerRawData*)getBikePowerRawData;
72 
83 - (BOOL)setBikePowerCalibration:(WFBikePowerCalibrationData_t*)pstData;
84 
102 - (BOOL)setBikePowerCalibrationOffset:(USHORT)usOffset;
103 
113 - (BOOL)setManualZeroCalibration;
114 
115 
127 - (BOOL)trainerSetErgMode:(USHORT)usWatts;
128 
129 
130 
143 - (BOOL)trainerSetResistanceMode:(float)fpScale;
144 
157 - (BOOL)trainerSetStandardMode:(WFBikeTrainerLevel_t) eLevel;
158 
182 - (BOOL)trainerSetSimMode:(float)fWeight rollingResistance:(float)fCrr windResistance:(float)fC;
183 
205 - (BOOL)trainerSetRollingResistance:(double)fCrr;
206 
217 - (BOOL)trainerSetWindResistance:(float)fC;
218 
229 - (BOOL)trainerSetGrade:(float)fGrade;
230 
241 - (BOOL)trainerSetWindSpeed:(float)mpsWindSpeed;
242 
253 - (BOOL)trainerSetWheelCircumference:(float)mmCircumference;
254 
260 - (BOOL)trainerReadMode;
261 
274 - (BOOL)trainerRequestAntConnection:(WFSensorType_t)eSensorType deviceId:(USHORT)usDeviceId useForPower:(BOOL)bUseForPower;
275 
286 - (BOOL)trainerInitSpindown __deprecated_msg("Use WFBikeTrainerSpindownCalibrator class to initiate the trainer for a spindown test");
287 
288 
289 @end
Represents the most commonly used data available from the Bike Power sensor.
Definition: WFBikePowerData.h:27
Definition: WFBikeTrainerSpindownCalibrator.h:62
Represents a connection to an ANT+ Bike Power sensor.
Definition: WFBikePowerConnection.h:22
unsigned short USHORT
Definition: types.h:121
signed char BOOL
Definition: types.h:110
Describes calibration information for a Bike Power sensor.
Definition: hardware_connector_types.h:294
Represents the data available from the BTLE Cycling Power Meter.
Definition: WFBTLEBikePowerData.h:18
Definition: _WFBikePowerConnection.h:15
Represents the raw data available from the ANT+ Bike Power sensor.
Definition: WFBikePowerRawData.h:26
WFBikeTrainerLevel_t
Describes the difficulty level of trainer progressive resistance while in Standard Mode...
Definition: wf_bike_trainer_types.h:14
WFSensorType_t
Describes a type of hardware sensor device.
Definition: hardware_connector_types.h:52