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
WFConnectionParams.h
Go to the documentation of this file.
1 //
2 // WFConnectionParams.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/hardware_connector_types.h>
11 
12 @class WFDeviceParams;
13 
14 
23 @interface WFConnectionParams : NSObject
24 {
27  int deviceIndex;
30  WFNetworkType_t specifiedNetwork;
36 
37  NSData* conditionalData;
39 
41 }
42 
43 
47 @property (nonatomic, retain) WFDeviceParams* device1;
48 
52 @property (nonatomic, retain) WFDeviceParams* device2;
53 
57 @property (nonatomic, retain) WFDeviceParams* device3;
58 
62 @property (nonatomic, retain) WFDeviceParams* device4;
63 
69 @property (nonatomic, assign) WFComparisonType_t conditionalComparisonType;
76 @property (nonatomic, retain) NSData* conditionalData;
77 
83 @property (nonatomic, readonly) BOOL isConnectionConditional;
84 
91 @property (nonatomic, readonly) BOOL isWildcard;
92 
101 @property (nonatomic, assign) WFNetworkType_t networkType;
102 
115 @property (nonatomic, assign) USHORT searchTimeout;
116 
120 @property (nonatomic, assign) WFSensorType_t sensorType;
121 
132 @property (nonatomic, assign) WFSensorSubType_t sensorSubType;
133 
143 - (BOOL)hasDeviceNumber:(USHORT)devNumber;
144 
154 - (BOOL)hasDeviceUUID:(NSString*)uuidString;
155 
156 @end
USHORT searchTimeout
Specifies the search timeout, in seconds.
Definition: WFConnectionParams.h:115
WFDeviceParams * device2
The second of four possible devices to connect.
Definition: WFConnectionParams.h:52
WFComparisonType_t
Describes a method of comparing data.
Definition: hardware_connector_types.h:748
WFSensorSubType_t
Describes a specific hardware implementation of a generic device profile.
Definition: hardware_connector_types.h:105
WFSensorType_t sensorType
Specifies the type of sensor to be connected.
Definition: WFConnectionParams.h:120
WFComparisonType_t conditionalComparisonType
Specifies the type of comparison to use for conditional connection.
Definition: WFConnectionParams.h:69
Represents the connection parameters used to establish a connection to an ANT device.
Definition: WFConnectionParams.h:23
Represents the connection parameters for a specific ANT device.
Definition: WFDeviceParams.h:17
unsigned short USHORT
Definition: types.h:121
WFSensorSubType_t sensorSubType
Specifies the specific implementation of the device to be connected.
Definition: WFConnectionParams.h:132
WFDeviceParams * device3
The third or four possible devices to connect.
Definition: WFConnectionParams.h:57
WFDeviceParams * device4
The fourth of four possible devices to connect.
Definition: WFConnectionParams.h:62
signed char BOOL
Definition: types.h:110
NSData * conditionalData
Gets or sets the data used to determine whether a conditional connection will be established or not...
Definition: WFConnectionParams.h:76
WFDeviceParams * device1
The first of four possible devices to connect.
Definition: WFConnectionParams.h:47
WFSensorType_t
Describes a type of hardware sensor device.
Definition: hardware_connector_types.h:52
WFNetworkType_t
Describes a type of hardware sensor device.
Definition: hardware_connector_types.h:146