12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // InetBleSDK
- //
- // Created by iot_wz on 2018/9/1.
- // Copyright © 2018年 iot_wz. All rights reserved.
- //
-
- #import <Foundation/Foundation.h>
- @class BLEUser;
-
-
- @interface WriteToBLEManager : NSObject
-
-
- + (instancetype)shareManager;
-
-
- /**
- send user info to connectable scale
-
- @param sex 1:Male 2:Female
- @param height @"177"
- @param age @"18"
- */
- - (void)synchronousUserWithSex:(NSInteger)sex withHeight:(NSString *)height withAge:(NSString *)age NS_DEPRECATED_IOS(2_0,8_0);
- - (void)syncWeighingUser:(BLEUser *)user;
-
- /**
- set Unit for connectable scale
-
- @param unitNumber kg:0 lb:1 st:2 斤:3
- */
- - (void)write_To_Unit:(NSInteger)unitNumber;
-
-
-
- /**
- send offline user list to Ble
- */
- - (void)sendOfflineUserListToBle:(NSArray <BLEUser *> *)usrsArr;
-
-
- /**
- request historys
- */
- - (void)requestOfflineHistory;
-
- @end
|