9 #import <WFConnector/_WFWeightScaleConnection.h>
10 #import <WFConnector/WFSensorConnection.h>
11 #import <WFConnector/WFWeightScaleDelegate.h>
13 #define WF_LAST_SYNC_KEY @"WFBTLEScaleLastSyncTime"
14 #define WFCP_USER_RECORD_QUEUE_SIZE 16
47 @property (nonatomic, retain ) id<WFWeightScaleDelegate> wsDelegate;
97 - (
BOOL)requestAllHistory;
104 - (
BOOL)requestHistorySinceLastSync;
114 - (
BOOL)requestHistorySinceTimestamp:(NSTimeInterval)timestamp;
121 - (
BOOL)clearAllHistory;
134 - (
BOOL)clearHistoryRecordWithTimestamp:(NSTimeInterval)timestamp;
154 - (
BOOL)requestAllUserRecords;
161 - (
BOOL)clearAllUserRecords;
170 - (
BOOL)clearUserRecordWithId:(
int)userId;
183 - (
BOOL)assignUserId:(
int)userId toHistoryRecordWithTimestamp:(NSTimeInterval)timestamp;
190 - (NSTimeInterval)getLastSyncTime;
Internal-use base class for the WFWeightScaleConnection.
Definition: _WFWeightScaleConnection.h:15
WFBTLEWeightScaleUnitType_t
Represents the units displayed on the scale LCD.
Definition: WFWeightScaleConnection.h:22
BOOL _waitingForUserId
Definition: WFWeightScaleConnection.h:39
Represents the connection parameters used to establish a connection to an ANT device.
Definition: WFConnectionParams.h:23
id< WFWeightScaleDelegate > wsDelegate
Specifies the WFWeightScaleDelegate instance which will handle callback methods for this WFWeightScal...
Definition: WFWeightScaleConnection.h:38
Represents a connection to an ANT+ or BTLE Weight Scale sensor.
Definition: WFWeightScaleConnection.h:35
WFBTLEWeightScaleUser * _userRecordWaitingForId
Definition: WFWeightScaleConnection.h:40
Represents the data available from the ANT+ Weight Scale sensor.
Definition: WFWeightScaleData.h:24
signed char BOOL
Definition: types.h:110
Definition: WFWeightScaleConnection.h:24
Definition: WFWeightScaleConnection.h:25
Represents a User Profile for the Wahoo Fitness BTLE Weight Scale.
Definition: WFBTLEWeightScaleUser.h:20
Provides the interface for callback methods used by the WFWeightScaleConnection.
Definition: WFWeightScaleDelegate.h:21
Describes user profile data for the weight scale.
Definition: hardware_connector_types.h:457