summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BP3L.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/BP3L.h
parente4fb9966e762852bf17f21c8406501d42fae0b61 (diff)
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BP3L.h')
-rw-r--r--libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BP3L.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BP3L.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BP3L.h
new file mode 100644
index 0000000..0478149
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BP3L.h
@@ -0,0 +1,58 @@
1//
2// BP3L.h
3// testShareCommunication
4//
5// Created by my on 14/10/13.
6// Copyright (c) 2013年 my. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11#import "BPV24Device.h"
12
13
14/**
15 BP3L device class
16 */
17@interface BP3L : BPV24Device <BPBasicBTLEProtocol,BPRealtimeMeasureProtocol>
18
19
20
21/**
22 * Establish measurement connection and start BP measurement.
23 * @param blockZeroState Zeroing state
24 * @param pressure Pressure value in the process of measurement, the unit is ‘mmHg’.
25 * @param blockWaveletWithHeartbeat Wavelet data set with heart beat.
26 * @param blockWaveletWithoutHeartbeat Wavelet data set without heart beat.
27 * @param result result of the measurement, including systolic pressure, diastolic pressure, pulse rate and irregular judgment. Relevant key: time, sys, dia, heartRate, irregular. irregular will be 0 or 1.
28 * @param error Return error codes.
29 */
30-(void)commandStartMeasureWithZeroingState:(BlockZero)blockZeroState pressure:(BlockPressure)pressure waveletWithHeartbeat:(BlockWavelet)blockWaveletWithHeartbeat waveletWithoutHeartbeat:(BlockWavelet)blockWaveletWithoutHeartbeat result:(BlockMeasureResult)result errorBlock:(BlockError)error;
31
32/**
33 * Measurement termination and stop BP3L measurement
34 * @param success The block return means measurement has been terminated.
35 * @param error A block to return the error in ‘Establish measurement connection’ in BP3L.
36 */
37-(void)stopBPMeassureSuccessBlock:(BlockSuccess)success errorBlock:(BlockError)error;
38
39/**
40 * Synchronize time and judge if the device supports BT auto-connection, offline detection, and if the function on or off, corresponding KEYs are haveBlue, haveOffline, blueOpen, offlineOpen. ‘True’ means yes or on, ‘False’ means no or off
41 * @param function A block to return the function and states that the device supports.
42 * @param error A block to refer ‘error’ in ‘Establish measurement connection’ in BP3L.
43 */
44-(void)commandFunction:(BlockDeviceFunction)function errorBlock:(BlockError)error;
45
46/**
47 * Query battery remaining energy
48 * @param energyValue A block to return the device battery remaining energy percentage, ‘80’ stands for 80%.
49 * @param error A block to return the error in ‘Establish measurement connection’.
50 */
51-(void)commandEnergy:(BlockEnergyValue)energyValue errorBlock:(BlockError)error;
52
53/**
54 * Disconnect current device
55 */
56-(void)commandDisconnectDevice;
57
58@end