From d6d9a09d505d11148599a95a5be3e1351edbe0ac Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 13 Apr 2026 15:17:52 +0800 Subject: Local iHealth SDK, device detail screen, iOS event fixes --- libs/ihealth-sdk/module/BG1SProfileModule.js | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libs/ihealth-sdk/module/BG1SProfileModule.js (limited to 'libs/ihealth-sdk/module/BG1SProfileModule.js') diff --git a/libs/ihealth-sdk/module/BG1SProfileModule.js b/libs/ihealth-sdk/module/BG1SProfileModule.js new file mode 100644 index 0000000..c950330 --- /dev/null +++ b/libs/ihealth-sdk/module/BG1SProfileModule.js @@ -0,0 +1,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 +} -- cgit