diff options
| author | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
|---|---|---|
| committer | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
| commit | d6d9a09d505d11148599a95a5be3e1351edbe0ac (patch) | |
| tree | a5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOCommonMacro.h | |
| parent | e4fb9966e762852bf17f21c8406501d42fae0b61 (diff) | |
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOCommonMacro.h')
| -rwxr-xr-x | libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOCommonMacro.h | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOCommonMacro.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOCommonMacro.h new file mode 100755 index 0000000..f7ca286 --- /dev/null +++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOCommonMacro.h | |||
| @@ -0,0 +1,89 @@ | |||
| 1 | // | ||
| 2 | // IDOCommonMacro.h | ||
| 3 | // IDOBluetoothInternal | ||
| 4 | // | ||
| 5 | // Created by 何东阳 on 2019/7/8. | ||
| 6 | // Copyright © 2019 何东阳. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #ifndef IDOCommonMacro_h | ||
| 10 | #define IDOCommonMacro_h | ||
| 11 | |||
| 12 | #if __has_include(<IDOBluetoothInternal/IDOBluetoothInternal.h>) | ||
| 13 | #elif __has_include(<IDOBlueProtocol/IDOBlueProtocol.h>) | ||
| 14 | #else | ||
| 15 | #import "IDOBluetoothEngine.h" | ||
| 16 | #endif | ||
| 17 | |||
| 18 | /** | ||
| 19 | IDO 当前手环蓝牙引擎 | IDO current bracelet Bluetooth engine | ||
| 20 | */ | ||
| 21 | #define IDO_BLUE_ENGINE [IDOBluetoothEngine shareInstance] | ||
| 22 | |||
| 23 | /** | ||
| 24 | IDO 当前手环蓝牙功能列表 | IDO Current Bracelet Bluetooth Feature List | ||
| 25 | */ | ||
| 26 | #define __IDO_FUNCTABLE__ IDO_BLUE_ENGINE.managerEngine.funcTableModel | ||
| 27 | |||
| 28 | /** | ||
| 29 | IDO 当前蓝牙系统管理对象 | IDO Current Bluetooth System Management Object | ||
| 30 | */ | ||
| 31 | #define __IDO_MANAGER__ IDO_BLUE_ENGINE.managerEngine.centralManager | ||
| 32 | |||
| 33 | /** | ||
| 34 | IDO 当前外围设备对象 | IDO Current Peripheral Object | ||
| 35 | */ | ||
| 36 | #define __IDO_PERIPHERAL__ IDO_BLUE_ENGINE.managerEngine.peripheral | ||
| 37 | |||
| 38 | /** | ||
| 39 | IDO 当前外围设备是否连接 | IDO Current Peripheral is connected | ||
| 40 | */ | ||
| 41 | #define __IDO_CONNECTED__ IDO_BLUE_ENGINE.managerEngine.connected | ||
| 42 | |||
| 43 | /** | ||
| 44 | IDO 当前外围设备是否连接中 | IDO Current Peripheral is connecting | ||
| 45 | */ | ||
| 46 | #define __IDO_CONNECTING__ IDO_BLUE_ENGINE.managerEngine.connecting | ||
| 47 | |||
| 48 | /** | ||
| 49 | IDO 当前蓝牙管理中心是否开启 | IDO Current blue manager is powered on | ||
| 50 | */ | ||
| 51 | #define __IDO_POWERED_ON__ IDO_BLUE_ENGINE.managerEngine.poweredOn | ||
| 52 | |||
| 53 | /** | ||
| 54 | IDO 当前手环UUID | IDO Current Bracelet UUID | ||
| 55 | */ | ||
| 56 | #define __IDO_UUID__ IDO_BLUE_ENGINE.peripheralEngine.uuidStr | ||
| 57 | |||
| 58 | /** | ||
| 59 | IDO 当前手环MAC | IDO Current Bracelet MAC | ||
| 60 | */ | ||
| 61 | #define __IDO_MAC_ADDR__ IDO_BLUE_ENGINE.peripheralEngine.macAddr | ||
| 62 | |||
| 63 | /** | ||
| 64 | IDO 当前手环绑定状态 | IDO Current Bracelet Binding Status | ||
| 65 | */ | ||
| 66 | #define __IDO_BIND__ IDO_BLUE_ENGINE.peripheralEngine.isBind | ||
| 67 | |||
| 68 | /** | ||
| 69 | IDO 当前手环配对中状态 | IDO Current Bracelet pairing Status | ||
| 70 | */ | ||
| 71 | #define __IDO_PAIRING__ IDO_BLUE_ENGINE.peripheralEngine.isPairing | ||
| 72 | |||
| 73 | /** | ||
| 74 | IDO 用户ID | IDO User ID | ||
| 75 | */ | ||
| 76 | #define __IDO_USER_ID__ IDO_BLUE_ENGINE.userEngine.userId | ||
| 77 | |||
| 78 | /** | ||
| 79 | IDO 当前手环ota状态 | IDO current bracelet ota status | ||
| 80 | */ | ||
| 81 | #define __IDO_OTA__ IDO_BLUE_ENGINE.peripheralEngine.isOta | ||
| 82 | |||
| 83 | /** | ||
| 84 | IDO 当前手环名字 | IDO Current Bracelet Name | ||
| 85 | */ | ||
| 86 | #define __IDO_NAME__ IDO_BLUE_ENGINE.peripheralEngine.deviceName | ||
| 87 | |||
| 88 | |||
| 89 | #endif /* IDOCommonMacro_h */ | ||
