選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

ELAILinkBleManager+SmartRing.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // ELAILinkBleManager+SmartRing.h
  3. // Elink
  4. //
  5. // Created by 周鹏 on 2023/7/31.
  6. // Copyright © 2023 iot_iMac. All rights reserved.
  7. //
  8. #import "ELAILinkBleManager.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface ELAILinkBleManager (SmartRing)
  11. //APP 获取设备基础信息(Type:01)
  12. - (NSData *)smartRingGetStatus;
  13. /* 设置体检模式,打开 */
  14. -(NSData *)smartRingSetCheck;
  15. /* 设置体检模式,关闭 */
  16. -(NSData *)smartRingCloseCheck;
  17. /* 设置/获取日常检测周期 */
  18. -(NSData *)smartRingSetDetectionPeriodWithInterval:(NSInteger)interval;
  19. /* 获取历史记录 */
  20. -(NSData *)smartRingReocrdWithType:(NSInteger)type;
  21. //APP获取设备状态(Type:06)
  22. - (NSData *)smartRingGetDeviceStatus;
  23. //设置Unix时间(Type:07)
  24. - (NSData *)smartRingSetUnix;
  25. /* 获取日常检测周期开关 */
  26. - (NSData *)smartRingGetAutoCheckOpen;
  27. /* 设置日常检测周期开关 */
  28. - (NSData *)smartRingSetAutoCheckOpen:(BOOL)open;
  29. /* 获取JF传感器信息 */
  30. - (NSData *)smartRingGetJFInfo;
  31. /* 设置RRI */
  32. - (NSData *)smartRingSetRRIWithType:(NSInteger)type;
  33. /* 获取RRI */
  34. - (NSData *)smartRingGetRRI;
  35. /* 设置/获取睡眠步数周期 */
  36. -(NSData *)smartRingSetSleepDetectionPeriodWithInterval:(NSInteger)interval;
  37. /* 获取睡眠步数历史记录 */
  38. -(NSData *)smartRingSleepReocrdWithType:(NSInteger)type;
  39. /* 1. APP 收到任何 A7 指令,都需要返回一组确认指令
  40. 2. 返回确认指令后,再返回其他通信指令 */
  41. - (NSData *)receiveA7Reply;
  42. @end
  43. NS_ASSUME_NONNULL_END