summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h
diff options
context:
space:
mode:
authorhc <haocheng.xie@respiree.com>2026-04-13 15:17:52 +0800
committerhc <haocheng.xie@respiree.com>2026-04-13 15:17:52 +0800
commitd6d9a09d505d11148599a95a5be3e1351edbe0ac (patch)
treea5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h
parente4fb9966e762852bf17f21c8406501d42fae0b61 (diff)
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h')
-rw-r--r--libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h96
1 files changed, 96 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h
new file mode 100644
index 0000000..5f4c70a
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/PO3.h
@@ -0,0 +1,96 @@
1//
2// PO3.h
3// testShareCommunication
4//
5// Created by daiqingquan on 13-11-29.
6// Copyright (c) 2013年 my. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "POMacroFile.h"
11
12
13/**
14 PO3
15 */
16@interface PO3 : NSObject
17
18@property (strong, nonatomic) NSString *currentUUID;
19@property (strong, nonatomic) NSString *serialNumber;
20@property (strong, nonatomic) NSString *firmwareVersion;
21
22
23
24/**
25 * Restore Sync time
26 * @param syncTimeBlock Sync completed. Yes = Success, No = Fail.
27 * @param errorBlock Communication error codes
28 */
29-(void)commandPO3SyncTime:(DisposePO3SyncTimeBlock)syncTimeBlock withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
30
31
32
33
34/**
35 * Restore Real-time measurements
36 * @param startMeasure Start measurement, Return no for fail, return yes for success.
37 * @param measureData SpO2 values, including SpO2, pulse rate, pulse intensity. Corresponding keys are spo2, bpm, wave, and pi.
38 * @param finishMeasure Finish measurement. No for fail, yes for success.
39 * @param errorBlock Communication error codes
40 */
41
42-(void)commandPO3StartMeasure:(DisposePO3StartMeasure)startMeasure withMeasureData:(DisposePO3MeasureData)measureData withFinishMeasure:(DisposePO3FinishMeasure)finishMeasure withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
43
44
45
46
47/**
48 * Restore Historical data
49 * @param offlineDataCount Number of historical offline data measurements.
50 * @param offlineData date, spo2, bpm, and wave.
51 * @param offlineWaveData Pulse intensity, corresponding key: wave
52 * @param finishUpload End transmission of data, yes for success, no for fail.
53 * @param errorBlock Communication error codes
54 */
55-(void)commandPO3OfflineDataCount:(DisposePO3OfflineDataCount)offlineDataCount withOfflineData:(DisposePO3OfflineData)offlineData withOfflineWaveData:(DisposePO3OfflineWaveData)offlineWaveData withFinishMeasure:(DisposePO3FinishUpload)finishUpload withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
56
57
58
59
60/**
61 * Query power status
62 * @param batteryBlock Battery,from 0~100
63 * @param errorBlock Communication error codes
64 */
65-(void)commandPO3GetDeviceBattery:(DisposePO3BatteryBlock)batteryBlock withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
66
67
68
69/**
70 * Disconnect connection
71 * @param disconnectBlock yes = success, no = fail.
72 * @param errorBlock Communication error codes
73 */
74-(void)commandPO3Disconnect:(DisposePO3DisconnectBlock)disconnectBlock withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
75
76/**
77 * Only a specific version supports this feature, if the version does not support this feature, an error that does not support the feature will be returned
78 * @param spo2 spo2
79 * @param bpm bpm
80 * @param height height
81 * @param disposePO3EndMeasureResult yes = success, no = fail.
82 * @param errorBlock Communication error codes
83 */
84-(void)commandPO3EndMeasureWithSpo2:(NSNumber*)spo2 bpm:(NSNumber*)bpm height:(NSNumber*)height disposePO3EndMeasureResult:(DisposePO3EndMeasure)disposePO3EndMeasureResult withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
85
86
87/**
88 * Turn Off Bluetooth(Only a specific version supports this feature, if the version does not support this feature, an error that does not support the feature will be returned)
89 * @param disconnectBlock yes = success, no = fail.
90 * @param errorBlock Communication error codes
91 */
92-(void)commandPO3TurnOffBT:(DisposePO3TurnOffBT)disposePO3TurnOffBTBlock withErrorBlock:(DisposePO3ErrorBlock)errorBlock;
93
94@end
95
96