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 --- .../ios/ReactNativeIOSLibrary/BG1SProfileModule.h | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h') diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h new file mode 100644 index 0000000..ab9abc4 --- /dev/null +++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h @@ -0,0 +1,61 @@ +// +// BG1SProfileModule.h +// ReactNativeIOSLibrary +// +// Created by user on 2019/11/14. +// Copyright © 2019 daiqingquan. All rights reserved. +// + +#import +#if __has_include() +#import +#else +#import "RCTBridgeModule.h" +#endif + + +@interface BG1SProfileModule : NSObject + +#define BG1S_EVENT_NOTIFY @"event_notify_bg1s" + +#define BG1S_ACTION @"action" + +#define BG1S_TYPE @"type" + +#define BG1S_DEVICE @"devices" + +#define BG1S_KEY_MAC @"mac" + +#define OPERATION_DESCRIBE @"describe" + +#define STRIP_INSERTION_STATUS @"insertion_status" + +#define kACTION_GET_ALL_CONNECTED_DEVICES @"ACTION_GET_ALL_CONNECTED_DEVICES" + +#define MEASURE_RESULT @"measure_result" + +#define MEASURE_MODE @"measure_mode" + +#define ACTION_CODE_ANALYSIS @"action_get_device_info" + +#define INFO_BATTERY_BG1S @"battery" + +#define INFO_VERSION_CODE_BLOOD_BG1S @"info_version_code_blood_bg1s" + +#define INFO_VERSION_CODE_CTL_BG1S @"info_version_code_ctl_bg1s" + +#define ACTION_ERROR_BG1S @"action_error" + +#define ERROR_NUM_BG1S @"error_num" + +#define ERROR_DESCRIPTION_BG1S @"error_description" + +#define ACTION_STRIP_INSERTION_STATUS @"action_strip_insertion_status" + +#define ACTION_GET_BLOOD @"action_get_blood" + +#define ACTION_MEASURE_RESULT @"action_measure_result" + + +@end + -- cgit