You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WriteToBLEManager.h 847B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // InetBleSDK
  3. //
  4. // Created by iot_wz on 2018/9/1.
  5. // Copyright © 2018年 iot_wz. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @class BLEUser;
  9. @interface WriteToBLEManager : NSObject
  10. + (instancetype)shareManager;
  11. /**
  12. send user info to connectable scale
  13. @param sex 1:Male 2:Female
  14. @param height @"177"
  15. @param age @"18"
  16. */
  17. - (void)synchronousUserWithSex:(NSInteger)sex withHeight:(NSString *)height withAge:(NSString *)age NS_DEPRECATED_IOS(2_0,8_0);
  18. - (void)syncWeighingUser:(BLEUser *)user;
  19. /**
  20. set Unit for connectable scale
  21. @param unitNumber kg:0 lb:1 st:2 斤:3
  22. */
  23. - (void)write_To_Unit:(NSInteger)unitNumber;
  24. /**
  25. send offline user list to Ble
  26. */
  27. - (void)sendOfflineUserListToBle:(NSArray <BLEUser *> *)usrsArr;
  28. /**
  29. request historys
  30. */
  31. - (void)requestOfflineHistory;
  32. @end