summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/module/BG1SProfileModule.js
blob: c950330a5c3cda39ba859b656ec588a24f940060 (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
'use strict';

var { NativeModules } = require('react-native');

var RCTModule = NativeModules.BG1SProfileModule

/**
 * @module BG1SProfileModule
 */
module.exports = {
  ACTION_GET_DEVICE_INFO: RCTModule.ACTION_GET_DEVICE_INFO,
  INFO_BATTERY_BG1S: RCTModule.INFO_BATTERY_BG1S,
  INFO_VERSION_CODE_BLOOD_BG1S: RCTModule.INFO_VERSION_CODE_BLOOD_BG1S,
  INFO_VERSION_CODE_CTL_BG1S: RCTModule.INFO_VERSION_CODE_CTL_BG1S,

  ACTION_STRIP_INSERTION_STATUS: RCTModule.ACTION_STRIP_INSERTION_STATUS,
  ACTION_GET_BLOOD: RCTModule.ACTION_GET_BLOOD,

  ACTION_SET_MEASURE_MODE: RCTModule.ACTION_SET_MEASURE_MODE,
  
  ACTION_MEASURE_RESULT: RCTModule.ACTION_SET_MEASURE_MODE,
  MEASURE_MODE: RCTModule.MEASURE_MODE,
  MEASURE_RESULT: RCTModule.MEASURE_RESULT,

  ACTION_ERROR_BG1S: RCTModule.ACTION_ERROR_BG1S,
  ERROR_NUM_BG1S: RCTModule.ERROR_NUM_BG1S,
  ERROR_DESCRIPTION_BG1S: RCTModule.ERROR_DESCRIPTION_BG1S,

  ACTION_GET_ALL_CONNECTED_DEVICES: RCTModule.ACTION_GET_ALL_CONNECTED_DEVICES
}