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
WFBTLECommonData.h
Go to the documentation of this file.
1 //
2 // WFBTLECommonData.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 12/22/11.
6 // Copyright (c) 2011 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFSensorData.h>
11 #import <WFConnector/wf_btle_types.h>
12 
13 
17 @interface WFBTLECommonData : NSObject
18 {
21  // Generic Access Service values.
22  NSString* deviceName;
24 
25  // Device Information Service values.
26  NSString* manufacturerName;
27  NSString* modelNumber;
28  NSString* serialNumber;
29  NSString* hardwareRevision;
30  NSString* firmwareRevision;
31  NSString* softwareRevision;
32  uint64_t systemId;
33 
34  // Battery Service values.
37 
39 }
40 
41 
43 @property (nonatomic, copy) NSString* deviceName;
45 @property (nonatomic, assign) USHORT appearance;
46 
48 @property (nonatomic, copy) NSString* manufacturerName;
50 @property (nonatomic, copy) NSString* modelNumber;
52 @property (nonatomic, copy) NSString* serialNumber;
54 @property (nonatomic, copy) NSString* hardwareRevision;
56 @property (nonatomic, copy) NSString* firmwareRevision;
58 @property (nonatomic, copy) NSString* softwareRevision;
60 @property (nonatomic, assign) uint64_t systemId;
61 
63 @property (nonatomic, assign) UCHAR batteryLevel;
65 @property (nonatomic, assign) WFBTLEBattPowerState_t batteryPowerState;
66 
67 @end
uint64_t systemId
Gets the device system ID.
Definition: WFBTLECommonData.h:60
NSString * softwareRevision
Gets the device software revision.
Definition: WFBTLECommonData.h:58
UCHAR batteryLevel
Gets the battery level (WF_BTLE_BATT_LEVEL_INVALID if not supported).
Definition: WFBTLECommonData.h:63
USHORT appearance
Gets a value indicating the device apperance.
Definition: WFBTLECommonData.h:45
NSString * modelNumber
Gets the device model number.
Definition: WFBTLECommonData.h:50
Represents the metadata for the sensor, available from most BTLE sensors.
Definition: WFBTLECommonData.h:17
NSString * deviceName
Gets the device name.
Definition: WFBTLECommonData.h:43
Represents the battery power state.
Definition: wf_btle_types.h:77
NSString * firmwareRevision
Gets the device firmware revision.
Definition: WFBTLECommonData.h:56
unsigned short USHORT
Definition: types.h:121
unsigned char UCHAR
Definition: types.h:118
NSString * serialNumber
Gets the device serial number.
Definition: WFBTLECommonData.h:52
NSString * hardwareRevision
Gets the device hardware revision.
Definition: WFBTLECommonData.h:54
NSString * manufacturerName
Gets the device manufacturer name.
Definition: WFBTLECommonData.h:48
WFBTLEBattPowerState_t batteryPowerState
Gets the battery power state.
Definition: WFBTLECommonData.h:65