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
WFANTWeightScaleData.h
Go to the documentation of this file.
1 //
2 // WFANTWeightScaleData.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 6/26/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <WFConnector/WFWeightScaleData.h>
10 
11 @class WFCommonData;
12 
13 
14 #define WF_WEIGHT_SCALE_INVALID -1.0
15 #define WF_WEIGHT_SCALE_COMPUTING -2.0
16 
17 
26 {
33  BOOL hasAntFS;
35 
36  float hydrationPercent;
37  float bodyFatPercent;
38 
39  float activeMetabolicRate;
40  float basalMetabolicRate;
41 
42  float muscleMass;
43  float boneMass;
44 
46 }
47 
48 
52 @property (nonatomic, readonly) WFCommonData* commonData;
54 @property (nonatomic, assign) WFWeightScaleUserProfile_t userProfile;
56 @property (nonatomic, assign) BOOL hasDisplayExchangeProfile;
58 @property (nonatomic, assign) BOOL hasScaleExchangeProfile;
60 @property (nonatomic, assign) BOOL hasAntFS;
62 @property (nonatomic, assign) BOOL isUserProfileSelected;
72 @property (nonatomic, assign) float hydrationPercent;
81 @property (nonatomic, assign) float bodyFatPercent;
91 @property (nonatomic, assign) float activeMetabolicRate;
101 @property (nonatomic, assign) float basalMetabolicRate;
110 @property (nonatomic, assign) float muscleMass;
119 @property (nonatomic, assign) float boneMass;
120 
121 
130 - (WFWeightScaleUserProfile_t*)userProfilePtr;
133 @end
BOOL hasScaleExchangeProfile
Is the scale capable of exchanging user profile data.
Definition: WFANTWeightScaleData.h:58
Represents the data available from the ANT+ Weight Scale sensor.
Definition: WFANTWeightScaleData.h:25
float bodyFatPercent
Advanced data - body fat percentage.
Definition: WFANTWeightScaleData.h:81
float hydrationPercent
Advanced data - body hydration percentage.
Definition: WFANTWeightScaleData.h:72
BOOL hasAntFS
Is the scale capable of ANT FS data exchange.
Definition: WFANTWeightScaleData.h:60
float muscleMass
Advanced data - muscle mass (in kg).
Definition: WFANTWeightScaleData.h:110
Represents the data available from the ANT+ Weight Scale sensor.
Definition: WFWeightScaleData.h:24
signed char BOOL
Definition: types.h:110
Represents the metadata for the sensor, available from most ANT+ sensors.
Definition: WFCommonData.h:39
WFWeightScaleUserProfile_t userProfile
User profile data.
Definition: WFANTWeightScaleData.h:54
float basalMetabolicRate
Advanced data - Basal Metabolic Rate.
Definition: WFANTWeightScaleData.h:101
float activeMetabolicRate
Advanced data - Active metabolic Rate.
Definition: WFANTWeightScaleData.h:91
float boneMass
Advanced data - bone mass (in kg).
Definition: WFANTWeightScaleData.h:119
WFCommonData * commonData
Common sensor data, provides information about the sensor.
Definition: WFANTWeightScaleData.h:52
BOOL isUserProfileSelected
Has the user profile been selected.
Definition: WFANTWeightScaleData.h:62
Describes user profile data for the weight scale.
Definition: hardware_connector_types.h:457
BOOL hasDisplayExchangeProfile
Is the display capable of exchanging user profile data.
Definition: WFANTWeightScaleData.h:56