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
WFBikeSpeedCadenceConnection.h
Go to the documentation of this file.
1 //
2 // WFBikeSpeedCadenceConnection.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 11/10/10.
6 // Copyright 2010 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFSensorConnection.h>
11 #import <WFConnector/wf_btle_types.h>
12 #import <WFConnector/WFBikeSpeedCadenceDelegate.h>
13 
14 
18 
19 
24 {
27  id<WFBikeSpeedCadenceDelegate> cscDelegate;
28 
30 }
31 
32 
37 @property (nonatomic, retain) id<WFBikeSpeedCadenceDelegate> cscDelegate;
38 
39 
48 - (WFBikeSpeedCadenceData*)getBikeSpeedCadenceData;
49 
58 - (WFBikeSpeedCadenceRawData*)getBikeSpeedCadenceRawData;
59 
71 - (WFBTLEBikeSpeedCadenceData*)getCSCData;
72 
96 - (BOOL)requestOdometerHistoryFrom:(UCHAR)ucStart to:(UCHAR)ucEnd;
97 
117 - (BOOL)requestOdometerReset:(float)resetVal;
118 
134 - (BOOL)sendRecordCommand:(WFBTLEWahooCSCOpCode_t)opCode withOperator:(WFBTLERecordOperator_t)op operands:(NSData*)operands;
135 
148 - (BOOL)setDeviceTime;
149 
150 
161 - (BOOL)setDeviceGearRatioWithNumerator:(USHORT)numerator andDenomonator:(USHORT)denomonator;
162 
173 - (BOOL)getDeviceGearRatio;
174 
175 @end
Represents the raw data available from the ANT+ combined Bike Speed and Cadence sensor.
Definition: WFBikeSpeedCadenceRawData.h:20
Represents a connection to an ANT+ combined Bike Speed and Cadence sensor.
Definition: WFBikeSpeedCadenceConnection.h:23
unsigned short USHORT
Definition: types.h:121
signed char BOOL
Definition: types.h:110
Represents the most commonly used data available from the ANT+ combined Bike Speed and Cadence sensor...
Definition: WFBikeSpeedCadenceData.h:20
Provides the interface for callback methods used by the WFBikeSpeedCadenceConnection.
Definition: WFBikeSpeedCadenceDelegate.h:19
unsigned char UCHAR
Definition: types.h:118
WFBTLERecordOperator_t
Describes the operator for a BTLE Glucose Monitor record command.
Definition: wf_btle_types.h:387
Represents the connection for an ANT sensor.
Definition: WFSensorConnection.h:43
id< WFBikeSpeedCadenceDelegate > cscDelegate
Specifies the WFBikeSpeedCadenceDelegate instance which will handle callback methods for this WFBikeS...
Definition: WFBikeSpeedCadenceConnection.h:38
WFBTLEWahooCSCOpCode_t
Describes an odometer command code for the Wahoo Fitness BlueSC.
Definition: wf_btle_types.h:506
Represents the data available from the BTLE Bike Speed and Cadence sensor.
Definition: WFBTLEBikeSpeedCadenceData.h:33