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
wf_glucose_types.h
Go to the documentation of this file.
1 //
2 // wf_glucose_types.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 2/23/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #ifndef _wf_glucose_types_h_
10 #define _wf_glucose_types_h_
11 
12 
13 #define WF_GLUCOSE_VALUES_UNINITIALIZED ((USHORT)0x000)
14 #define WF_GLUCOSE_VALUES_UNAVAILABLE ((USHORT)0x001)
15 #define WF_GLUCOSE_VALUES_FILE_DATA_ONLY ((USHORT)0x002)
16 #define WF_GLUCOSE_VALUES_EQUILIBRIUM_25 ((USHORT)0x003)
17 #define WF_GLUCOSE_VALUES_EQUILIBRIUM_50 ((USHORT)0x004)
18 #define WF_GLUCOSE_VALUES_EQUILIBRIUM_75 ((USHORT)0x005)
19 #define WF_GLUCOSE_VALUES_EQUILIBRIUM_100 ((USHORT)0x006)
20 
21 
25 typedef union
26 {
30  struct
31  {
33  BOOL bHighAlert : 1;
35  BOOL bLowAlert : 1;
37  BOOL bBelow55 : 1;
39  BOOL bRisingAlert : 1;
41  BOOL bFallingAlert : 1;
43  BOOL bRequestFurtherError : 1;
45  BOOL bRequestFurtherStatus : 1;
46  BOOL : 1;
47 
48  };
49 
51 
53 typedef enum
54 {
71 
73 
75 typedef enum
76 {
83 
85 
86 #endif // _wf_glucose_types_h_
WFGlucoseRateAlertLevel_t
Describes the glucose level change alert level.
Definition: wf_glucose_types.h:75
Change rate alert is disabled.
Definition: wf_glucose_types.h:78
The glucose level is slowly decreasing.
Definition: wf_glucose_types.h:66
WFGlucoseChangeRate_t
Describes the rate of change in the glucose level.
Definition: wf_glucose_types.h:53
The glucose level is rapidly decreasing.
Definition: wf_glucose_types.h:70
The glucose level is rapidly increasing.
Definition: wf_glucose_types.h:58
The glucose level is slowly increasing.
Definition: wf_glucose_types.h:62
signed char BOOL
Definition: types.h:110
The glucose level is decreasing.
Definition: wf_glucose_types.h:68
unsigned char UCHAR
Definition: types.h:118
Change rate alert when glucose level changes by 3 mg/dL or more.
Definition: wf_glucose_types.h:82
Change rate alert when glucose level changes by 2 mg/dL or more.
Definition: wf_glucose_types.h:80
The glucose level is increasing.
Definition: wf_glucose_types.h:60
Change rate not available.
Definition: wf_glucose_types.h:56
UCHAR ucStatus
The raw status byte.
Definition: wf_glucose_types.h:28
Represents the status flags for the Glucose Monitor sensor.
Definition: wf_glucose_types.h:25
The glucose level is holding steady.
Definition: wf_glucose_types.h:64