summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/ConnectDeviceController.h
blob: d29e9cc3c093d08a4cb4e4ec36d09057bd2fd1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  ConnectDeviceController.h
//  iHealthDemoCode
//
//  Created by zhiwei jing on 1/24/16.
//  Copyright © 2016 zhiwei jing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HealthHeader.h"

/**
 ConnectDeviceController
 */
@interface ConnectDeviceController : NSObject

+(ConnectDeviceController *)commandGetInstance;


/**
 * Connect iHealth device with bluretooth low energy
 * @param tempDeviceType  iHealth DeviceType
 * @param tempSerialNub   iHealth device serialNub or deviceID, you can get it from [ScanDeviceController commandScanDeviceType]. 
 */
-(int)commandContectDeviceWithDeviceType:(HealthDeviceType)tempDeviceType  andSerialNub:(NSString *)tempSerialNub;

@end