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
WFCommonData.h
Go to the documentation of this file.
1 //
2 // WFCommonData.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/WFSensorData.h>
11 
12 #define WF_COMMON_BATTERY_INVALID -1.0
13 
17 typedef enum
18 {
31 
33 
34 
35 
40 {
46 
50 
52  float batteryVoltage;
54 
56 }
57 
64 @property (nonatomic, assign) ULONG operatingTime;
68 @property (nonatomic, assign) USHORT manufacturerId;
72 @property (nonatomic, assign) USHORT modelNumber;
76 @property (nonatomic, assign) UCHAR hardwareVersion;
80 @property (nonatomic, assign) UCHAR softwareVersion;
89 @property (nonatomic, assign) USHORT serialNumberLower;
98 @property (nonatomic, assign) USHORT serialNumberUpper;
102 @property (nonatomic, readonly) ULONG serialNumber;
109 @property (nonatomic, assign) float batteryVoltage;
113 @property (nonatomic, assign) WFBatteryStatus_t batteryStatus;
114 
115 @end
The battery is in new condition.
Definition: WFCommonData.h:22
This is the abstract base class for all types of ANT sensor data.
Definition: WFSensorData.h:18
UCHAR softwareVersion
The manufacturer specified device software version.
Definition: WFCommonData.h:80
ULONG operatingTime
Th cummulative operating time of the sensor since the last battery replacement.
Definition: WFCommonData.h:64
WFBatteryStatus_t
Describes the status of the battery in the ANT sensor.
Definition: WFCommonData.h:17
USHORT modelNumber
The device model number.
Definition: WFCommonData.h:72
WFBatteryStatus_t batteryStatus
The current battery status.
Definition: WFCommonData.h:113
No battery status information is available.
Definition: WFCommonData.h:20
The battery is in low condition.
Definition: WFCommonData.h:28
unsigned short USHORT
Definition: types.h:121
The battery is in critical condition.
Definition: WFCommonData.h:30
The battery in in acceptable condition.
Definition: WFCommonData.h:26
Represents the metadata for the sensor, available from most ANT+ sensors.
Definition: WFCommonData.h:39
USHORT serialNumberUpper
The the upper 16 bits of a 32 bit device serial number.
Definition: WFCommonData.h:98
unsigned char UCHAR
Definition: types.h:118
The battery is in good condition.
Definition: WFCommonData.h:24
UCHAR hardwareVersion
The manufacturer specified device hardware version.
Definition: WFCommonData.h:76
float batteryVoltage
The current battery voltage.
Definition: WFCommonData.h:109
USHORT manufacturerId
The ID number of the device manufacturer.
Definition: WFCommonData.h:68
unsigned long ULONG
Definition: types.h:133
USHORT serialNumberLower
The the lower 16 bits of a 32 bit device serial number.
Definition: WFCommonData.h:89