summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/module/BTMProfileModule.js
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ihealth-sdk/module/BTMProfileModule.js')
-rwxr-xr-xlibs/ihealth-sdk/module/BTMProfileModule.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/module/BTMProfileModule.js b/libs/ihealth-sdk/module/BTMProfileModule.js
new file mode 100755
index 0000000..5d88dc6
--- /dev/null
+++ b/libs/ihealth-sdk/module/BTMProfileModule.js
@@ -0,0 +1,33 @@
1/**
2 * Created by lixuesong on 15/11/2016.
3 */
4'use strict';
5
6
7var {NativeModules} = require('react-native');
8
9var RCTModule = NativeModules.BTMProfileModule
10
11/**
12 * @module BTMProfileModule
13 */
14module.exports = {
15
16 ACTION_BTM_BATTERY: RCTModule.ACTION_BTM_BATTERY,
17 ACTION_BTM_MEMORY: RCTModule.ACTION_BTM_MEMORY,
18 ACTION_BTM_MEASURE: RCTModule.ACTION_BTM_MEASURE,
19 ACTION_BTM_CALLBACK: RCTModule.ACTION_BTM_CALLBACK,
20 ACTION_ERROR_BTM: RCTModule.ACTION_ERROR_BTM,
21
22 //Keys
23 BTM_BATTERY: RCTModule.BTM_BATTERY,
24 MEMORY_COUNT: RCTModule.MEMORY_COUNT,
25 BTM_TEMPERATURE_ARRAY: RCTModule.BTM_TEMPERATURE_ARRAY,
26 BTM_TEMPERATURE_TARGET: RCTModule.BTM_TEMPERATURE_TARGET,
27 BTM_TEMPERATURE: RCTModule.BTM_TEMPERATURE,
28 BTM_MEASURE_TIME: RCTModule.BTM_MEASURE_TIME,
29 ERROR_NUM_BTM: RCTModule.ERROR_NUM_BTM,
30 ERROR_DESCRIPTION_BTM: RCTModule.ERROR_DESCRIPTION_BTM,
31
32 ACTION_GET_ALL_CONNECTED_DEVICES: RCTModule.ACTION_GET_ALL_CONNECTED_DEVICES
33}