summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ScanDeviceController.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/ScanDeviceController.h
parente4fb9966e762852bf17f21c8406501d42fae0b61 (diff)
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ScanDeviceController.h')
-rw-r--r--libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ScanDeviceController.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ScanDeviceController.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ScanDeviceController.h
new file mode 100644
index 0000000..a8700f9
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ScanDeviceController.h
@@ -0,0 +1,47 @@
1//
2// ScanDeviceController.h
3// iHealthDemoCode
4//
5// Created by zhiwei jing on 1/24/16.
6// Copyright © 2016 zhiwei jing. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "HealthHeader.h"
11
12/**
13 ScanDeviceController
14 */
15@interface ScanDeviceController : NSObject
16
17+(ScanDeviceController *)commandGetInstance;
18
19/**
20 Start scan iHealth device with bluetooth low energy (scan maintains 12s, then auto stop scan)
21
22 @param tempDeviceType HealthDeviceType enum
23 @note Before call the Api, should register discover Notification. such as :[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(devicePO3Discover:) name:PO3Discover object:nil];
24 You will get two type result:
25 {
26 DeviceName = PO3;
27 ID = 60EC1538-46B7-3830-DDE2-0642AC9649F3;
28 }
29 or
30 {
31 DeviceName = PO3;
32 SerialNumber = 883314776729;
33 }
34 Then call [ConnectDeviceController :commandContectDeviceWithDeviceType:andSerialNub] to connect.
35 Attentation: Stop scan befroe connect device, otherwise connect may fail.
36 @return 0
37 */
38-(int)commandScanDeviceType:(HealthDeviceType)tempDeviceType;
39
40
41/**
42 * Stop scan iHealth device with bluretooth low energy
43 * @param tempDeviceType iHealth DeviceType
44 */
45-(int)commandStopScanDeviceType:(HealthDeviceType)tempDeviceType;
46
47@end