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
WFBikeTrainerDelegate.h
Go to the documentation of this file.
1 //
2 // WFBikeTrainerDelegate.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 8/18/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/_WFBikeTrainerDelegate.h>
11 
12 
21 
22 @optional
23 
33 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerMode:(WFBikeTrainerMode_t)eMode params:(NSDictionary*)params info:(WFBikeTrainerDelegateInfo_t)info;
34 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerMode:(WFBikeTrainerMode_t)eMode status:(UCHAR)ucStatus __deprecated_msg("Use cpmConnection:didSetTrainerMode:params:info:");
35 
36 
44 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerGrade:(float)grade info:(WFBikeTrainerDelegateInfo_t)info;
45 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerGrade:(UCHAR)ucStatus __deprecated_msg("Use cpmConnection:didSetTrainerGrade:info:");
46 
47 
55 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerRollingResistance:(float)rollingResistance info:(WFBikeTrainerDelegateInfo_t)info;
56 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerRollingResistance:(UCHAR)ucStatus __deprecated_msg("Use cpmConnection:didSetTrainerRollingResistance:info:");
57 
58 
59 
67 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerWindResistance:(float)windResistance info:(WFBikeTrainerDelegateInfo_t)info;
68 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerWindResistance:(UCHAR)ucStatus __deprecated_msg("Use cpmConnection:didSetTrainerWindResistance:info:");
69 
70 
78 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerWindSpeed:(float)windSpeed info:(WFBikeTrainerDelegateInfo_t)info;
79 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerWindSpeed:(UCHAR)ucStatus __deprecated_msg("Use cpmConnection:didSetTrainerWindSpeed:info:");
80 
81 
89 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerWheelCircumference:(USHORT)wheelCircumference info:(WFBikeTrainerDelegateInfo_t)info;
90 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didSetTrainerWheelCircumference:(UCHAR)ucStatus __deprecated_msg("Use cpmConnection:didSetTrainerWindSpeed:info:");
91 
92 
102 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerReadModeResponse:(WFBikeTrainerMode_t)eMode params:(NSDictionary*)params info:(WFBikeTrainerDelegateInfo_t)info;
103 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerReadModeResponse:(UCHAR)ucStatus mode:(WFBikeTrainerMode_t)eMode params:(NSDictionary*)params __deprecated_msg("Use cpmConnection:didReceiveTrainerReadModeResponse:params:info:");
104 
105 
106 
107 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerReadModeResponse:(UCHAR)ucStatus mode:(WFBikeTrainerMode_t)eMode __attribute__((unavailable("Use cpmConnection:didReceiveTrainerReadModeResponse:mode:params")));
108 
115 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerRequestAntConnectionResponse:(UCHAR)ucStatus;
116 
117 
124 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerInitSpindownResponseWithInfo:(WFBikeTrainerDelegateInfo_t)info __deprecated_msg("Use WFBikeTrainerSpindownCalibratorDelegate class to receive spindown progress callbacks");
125 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerInitSpindownResponse:(UCHAR)ucStatus __deprecated_msg("Use WFBikeTrainerSpindownCalibratorDelegate class to receive spindown progress callbacks");
126 
127 
128 
137 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveTrainerSpindownResult:(float)spindownTime temperature:(float)spindownTemperature offset:(USHORT)spindownOffset __deprecated_msg("Use WFBikeTrainerSpindownCalibratorDelegate class to receive spindown progress callbacks");
138 
139 
146 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveKurtSpindownResult:(ULONG)ulSpindownPeriod;
147 
148 
149 - (void)cpmConnection:(WFBikePowerConnection*)cpmConn didReceiveKurtSetProFlywheelEnabled:(BOOL) proFlywheelEnabled spindownEnabled:(BOOL) spindownEnabled response:(BOOL)bSuccess;
150 
151 
152 @end
Represents a connection to an ANT+ Bike Power sensor.
Definition: WFBikePowerConnection.h:22
unsigned short USHORT
Definition: types.h:121
Definition: WFBikeTrainerSpindownCalibratorDelegate.h:13
WFBikeTrainerMode_t
Describes the mode in which the trainer is currently running.
Definition: wf_bike_trainer_types.h:41
signed char BOOL
Definition: types.h:110
unsigned char UCHAR
Definition: types.h:118
Definition: _WFBikeTrainerDelegate.h:16
Provides the interface for callback methods used by the WFBikePowerConnection.
Definition: WFBikeTrainerDelegate.h:20
unsigned long ULONG
Definition: types.h:133
Structure containing information regarding the control point command ucStatus The command status code...
Definition: wf_bike_trainer_types.h:134