summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOPeripheralModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOPeripheralModel.h')
-rwxr-xr-xlibs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOPeripheralModel.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOPeripheralModel.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOPeripheralModel.h
new file mode 100755
index 0000000..717874a
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOPeripheralModel.h
@@ -0,0 +1,59 @@
1//
2// IDOPeripheralModel.h
3// VeryfitSDK
4//
5// Created by hedongyang on 2018/6/4.
6// Copyright © 2018年 hedongyang. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <CoreBluetooth/CoreBluetooth.h>
11
12@interface IDOPeripheralModel : NSObject
13
14/**
15 外围设备 | peripheral
16 */
17@property (nullable,nonatomic,strong) CBPeripheral * peripheral;
18
19/**
20 手环名字 | Bracelet name
21 */
22@property (nullable,nonatomic,copy) NSString * name;
23
24/**
25 手环uuid | Bracelet uuid
26 */
27@property (nullable,nonatomic,copy) NSString * uuidStr;
28
29/**
30 手环rssi | bracelet rssi
31 */
32@property (nonatomic,assign) NSInteger rssi;
33
34/**
35 手环距离 单位 米 | Bracelet Distance Units
36 */
37@property (nonatomic,assign) float distance;
38
39/**
40 是否是OTA | Is it OTA?
41 */
42@property (nonatomic,assign) BOOL isOta;
43
44/**
45 mac 地址 | mac address
46 */
47@property (nullable,nonatomic,copy) NSString * macAddr;
48
49/**
50 设备ID | Device ID
51 */
52@property (nonatomic,assign) int deviceId;
53
54/**
55 固件版本 | Firmware version
56 */
57@property (nonatomic,assign) int bltVersion;
58
59@end