blob: d706d39bc04d666bdaed53e620a69e364d5184ab (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
|
//
// BPController.h
// iHealthDemoCode
//
// Created by Realank on 2017/1/4.
// Copyright © 2017年 ihealthSDK. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
BP Base Controller
*/
@interface BPController : NSObject{
//区分设备
NSString* deviceName;
NSString* deviceProtocol;
//发送通知
NSString* deviceConnectNotiName;
NSString* deviceDisconnectNotiName;
//创建实例
Class DeviceClass;
}
/**
Get BPController singleton instance
@return unique BPController instance
*/
-(instancetype) initUniqueInstance;
/**
Get all BP instances,you can choose one instance to call BP related communication methods.
@return all connected BP instance
*/
-(NSArray *)allConnectedInstance;
@end
|