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/module/PT3SBTProfileModule.js | |
| parent | e4fb9966e762852bf17f21c8406501d42fae0b61 (diff) | |
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/module/PT3SBTProfileModule.js')
| -rw-r--r-- | libs/ihealth-sdk/module/PT3SBTProfileModule.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/module/PT3SBTProfileModule.js b/libs/ihealth-sdk/module/PT3SBTProfileModule.js new file mode 100644 index 0000000..ee1cdfe --- /dev/null +++ b/libs/ihealth-sdk/module/PT3SBTProfileModule.js | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | 'use strict'; | ||
| 2 | |||
| 3 | var { NativeModules } = require('react-native'); | ||
| 4 | |||
| 5 | var RCTModule = NativeModules.PT3SBTProfileModule | ||
| 6 | |||
| 7 | /** | ||
| 8 | * @module PT3SBTProfileModule | ||
| 9 | */ | ||
| 10 | module.exports = { | ||
| 11 | // actions | ||
| 12 | ACTION_SET_TIME: RCTModule.ACTION_SET_TIME, | ||
| 13 | ACTION_GET_BATTERY: RCTModule.ACTION_GET_BATTERY, | ||
| 14 | ACTION_SET_UNIT: RCTModule.ACTION_SET_UNIT, | ||
| 15 | ACTION_GET_UNIT: RCTModule.ACTION_GET_UNIT, | ||
| 16 | ACTION_GET_HISTORY_COUNT: RCTModule.ACTION_GET_HISTORY_COUNT, | ||
| 17 | ACTION_GET_HISTORY_DATA: RCTModule.ACTION_GET_HISTORY_DATA, | ||
| 18 | ACTION_DELETE_HISTORY_DATA: RCTModule.ACTION_DELETE_HISTORY_DATA, | ||
| 19 | ACTION_TEMPERATURE_MEASUREMENT: RCTModule.ACTION_TEMPERATURE_MEASUREMENT, | ||
| 20 | ACTION_PUB_UNIT: RCTModule.ACTION_PUB_UNIT, | ||
| 21 | ACTION_GET_ALL_CONNECTED_DEVICES: RCTModule.ACTION_GET_ALL_CONNECTED_DEVICES, | ||
| 22 | |||
| 23 | // keys | ||
| 24 | STATUS: RCTModule.STATUS, | ||
| 25 | BATTERY: RCTModule.BATTERY, | ||
| 26 | UNIT: RCTModule.UNIT, | ||
| 27 | TS: RCTModule.TS, | ||
| 28 | COUNT: RCTModule.COUNT, | ||
| 29 | TEMPERATURE: RCTModule.TEMPERATURE, | ||
| 30 | HISTORY: RCTModule.HISTORY | ||
| 31 | } | ||
