@ovok/native 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +2 -2
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +2 -2
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +2 -1
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +55 -13
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +13 -2
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +1 -1
- package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +88 -0
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/bt-manager.js +2 -0
- package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-case-fields.js +3 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-case-fields.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-case.js +2 -0
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-case.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-field.js +2 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-field.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js +24 -0
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-monitor.js +8 -1
- package/lib/commonjs/modules/bt-management/services/custom/compile-custom-monitor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +4 -0
- package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/device-creator.js +10 -2
- package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +9 -3
- package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js +5 -0
- package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-device-information.js +41 -0
- package/lib/commonjs/modules/bt-management/services/devices/bt-device-information.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +30 -2
- package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +6 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +20 -4
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/frame-parser.js +13 -1
- package/lib/commonjs/modules/bt-management/services/devices/frame-parser.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js +6 -3
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +12 -3
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.identity-gate.js +84 -38
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.identity-gate.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +11 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/oxyfit.device.js +18 -0
- package/lib/commonjs/modules/bt-management/services/devices/spo/oxyfit.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +67 -11
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +4 -2
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +78 -0
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +83 -0
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js +60 -0
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +18 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +4 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +54 -39
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js +1 -0
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/utils/create-custom-field-parser.js +3 -0
- package/lib/commonjs/modules/bt-management/utils/create-custom-field-parser.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +2 -2
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +2 -2
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +2 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js +60 -18
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +13 -2
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
- package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +88 -0
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/module/modules/bt-management/services/bt-manager.js +2 -0
- package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/compile-case-fields.js +3 -1
- package/lib/module/modules/bt-management/services/custom/compile-case-fields.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/compile-custom-case.js +2 -0
- package/lib/module/modules/bt-management/services/custom/compile-custom-case.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/compile-custom-field.js +2 -1
- package/lib/module/modules/bt-management/services/custom/compile-custom-field.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js +24 -0
- package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/compile-custom-monitor.js +8 -1
- package/lib/module/modules/bt-management/services/custom/compile-custom-monitor.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/define-custom-device.js +4 -0
- package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/device-creator.js +10 -2
- package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +9 -3
- package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-data-processor.js +5 -0
- package/lib/module/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-device-information.js +37 -0
- package/lib/module/modules/bt-management/services/devices/bt-device-information.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +30 -2
- package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +6 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +22 -6
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/frame-parser.js +13 -1
- package/lib/module/modules/bt-management/services/devices/frame-parser.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js +6 -3
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +12 -3
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.identity-gate.js +84 -38
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.identity-gate.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +11 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/oxyfit.device.js +14 -0
- package/lib/module/modules/bt-management/services/devices/spo/oxyfit.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +67 -11
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +4 -2
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +73 -0
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +78 -0
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js +55 -0
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +17 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +4 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +54 -39
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
- package/lib/module/modules/bt-management/types/integrated-devices.js +1 -0
- package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/module/modules/bt-management/utils/create-custom-field-parser.js +3 -0
- package/lib/module/modules/bt-management/utils/create-custom-field-parser.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +10 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-case.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-monitor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-device-information.d.ts +11 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-device-information.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts +6 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts +10 -51
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts +2 -3
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts +17 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +4 -7
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-field-encoding.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-field-encoding.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/create-custom-field-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +10 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +4 -0
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-case.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-monitor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +6 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-device-information.d.ts +11 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-device-information.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +3 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts +6 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +4 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts +10 -51
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +6 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts +9 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts +2 -3
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +4 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts +15 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts +8 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts +17 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +3 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +3 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +4 -7
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-field-encoding.d.ts +2 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-field-encoding.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +8 -0
- package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/create-custom-field-parser.d.ts.map +1 -1
- package/package.json +2 -2
package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_lepuNameMatch","_lepuTransports","RT_DATA","ER3_RT_DATA","HEART_RATE_UNIT","ER_HEART_RATE_BYTES","declareRecorder","advertisedName","profile","params","lepuDevice","id","toLowerCase","replace","nameMatch","lepuNameMatch","transport","pollCommand","minLengthBytes","heartRateBytes","caseSelectorBytes","cases","selector","toString","padStart","kind","measurementTypeKey","MeasurementTypeKey","heartRate","description","fields","name","byteIndexes","byteOrder","encoding","unit","expectedDeviceTypes","fileTransfer","er1Recorder","exports","er2Recorder","er3Recorder","ER1_MODEL_NAMES","ER2_MODEL_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.ecg-recorders.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAMG,OAAO,GAAG,IAAI;;AAEpB;AACA,MAAMC,WAAW,GAAG,IAAI;AAExB,MAAMC,eAAe,GAAG,KAAK;AAY7B;AACA,MAAMC,mBAAqC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAoBpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAGA,CACtBC,cAAsB,EACtBC,OAAmB,EACnBC,MAAuB,KAEvB,IAAAC,0BAAU,EAAC;EACTC,EAAE,EAAEF,MAAM,CAACE,EAAE,IAAI,UAAUJ,cAAc,CAACK,WAAW,CAAC,CAAC,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B,KAEvBH,eAAe,CACbC,cAAc,EACd;EACEU,WAAW,EAAEf,OAAO;EACpBiB,cAAc,EAAEd,mBAAmB;EACnCW,SAAS,EAAE;AACb,CAAC,EACDP,MACF,CAAC;;AAEH;AAAA8B,OAAA,CAAAC,WAAA,GAAAA,WAAA;AACA,MAAMC,WAAW,GAAGA,CAClBlC,cAAsB,EACtBE,MAAuB,KAEvBH,eAAe,CACbC,cAAc,EACd;EACEU,WAAW,EAAEd,WAAW;EACxBgB,cAAc,EAAEd,mBAAmB;EACnCW,SAAS,EAAE;AACb,CAAC,EACDP,MACF,CAAC;;AAEH;AAAA8B,OAAA,CAAAE,WAAA,GAAAA,WAAA;AACA,MAAMC,eAAkC,GAAAH,OAAA,CAAAG,eAAA,GAAG,CACzC,KAAK,EACL,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,EACN,MAAM,CACP;;AAED;AACA,MAAMC,eAAkC,GAAAJ,OAAA,CAAAI,eAAA,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_core","require","_lepuNameMatch","_lepuTransports","RT_DATA","ER3_RT_DATA","HEART_RATE_UNIT","ER_HEART_RATE_BYTES","declareRecorder","advertisedName","profile","params","lepuDevice","id","toLowerCase","replace","nameMatch","lepuNameMatch","transport","pollCommand","minLengthBytes","heartRateBytes","caseSelectorBytes","cases","selector","toString","padStart","kind","measurementTypeKey","MeasurementTypeKey","heartRate","description","fields","name","byteIndexes","byteOrder","encoding","unit","expectedDeviceTypes","fileTransfer","er1Recorder","exports","er2Recorder","er3Recorder","ER1_MODEL_NAMES","ER2_MODEL_NAMES","ER3_MODEL_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.ecg-recorders.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,cAAA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AE,MAAM,EAAE,QAAQ,CAAC;;AAErF;AACA,MAAMC,eAAkC,GAAAL,OAAA,CAAAK,eAAA,GAAG,CAAC,KAAK,CAAC","ignoreList":[]}
|
|
@@ -20,53 +20,68 @@ var _lepuTransports = require("../lepu/lepu.transports.js");
|
|
|
20
20
|
/** Realtime parameters. A read: it reports what the sensor sees and starts nothing. */
|
|
21
21
|
const RT_PARAM = 0x17;
|
|
22
22
|
|
|
23
|
-
/**
|
|
24
|
-
const CASE_SELECTOR_BYTES = [1];
|
|
23
|
+
/** Status, payload length, oxygen, pulse and sensor-state bytes distinguish these frames. */
|
|
24
|
+
const CASE_SELECTOR_BYTES = [1, 5, 6, 7, 8, 9, 18];
|
|
25
25
|
|
|
26
|
-
/** Header plus the realtime
|
|
27
|
-
const MIN_LENGTH_BYTES =
|
|
26
|
+
/** Header plus the complete realtime response, including sensor state and checksum. */
|
|
27
|
+
const MIN_LENGTH_BYTES = 21;
|
|
28
28
|
const PAYLOAD = 7;
|
|
29
29
|
const SPOT_CHECK_TIMEOUT_MS = 60_000;
|
|
30
30
|
/**
|
|
31
31
|
* Declares one oximeter of the range.
|
|
32
32
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* finger falls outside the physiological range, so it is discarded rather than reported.
|
|
38
|
-
* The reading is therefore never wrong, but a device left connected with nobody wearing it
|
|
39
|
-
* reports a decoding failure on each poll. Reading those bits quietly needs a device class.
|
|
33
|
+
* The ViHealth wire protocol uses a distinct `AA` request / `55` response envelope. Replies
|
|
34
|
+
* carry a status byte rather than echoing the opcode, and the sensor state at byte 18 tells
|
|
35
|
+
* us whether the reading is usable. No-finger and acquiring frames are deliberately idle:
|
|
36
|
+
* they are normal states while the user puts the ring on, not decoding failures.
|
|
40
37
|
*/
|
|
41
|
-
const viatomOximeter = (advertisedName, params) =>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
unit: "%"
|
|
38
|
+
const viatomOximeter = (advertisedName, params) => {
|
|
39
|
+
const expectedDeviceTypes = params.expectedDeviceTypes ?? (advertisedName === "O2Ring" ? [1652] : advertisedName === "Oxyfit" ? [1654] : undefined);
|
|
40
|
+
return (0, _lepuTransports.lepuDevice)({
|
|
41
|
+
id: params.id ?? `viatom-${advertisedName.toLowerCase().replace(/[^a-z0-9]+/g, "-")}`,
|
|
42
|
+
nameMatch: params.nameMatch ?? (0, _lepuNameMatch.lepuNameMatch)(advertisedName),
|
|
43
|
+
stuckDataTimeoutMs: SPOT_CHECK_TIMEOUT_MS,
|
|
44
|
+
protocol: "viatom-oxygen",
|
|
45
|
+
setClockBeforeInfo: advertisedName === "O2Ring",
|
|
46
|
+
writeWithoutResponse: true,
|
|
47
|
+
pollCommand: RT_PARAM,
|
|
48
|
+
minLengthBytes: MIN_LENGTH_BYTES,
|
|
49
|
+
caseSelectorBytes: CASE_SELECTOR_BYTES,
|
|
50
|
+
cases: [{
|
|
51
|
+
selector: "000002????????",
|
|
52
|
+
kind: "idle",
|
|
53
|
+
description: "Device information response"
|
|
58
54
|
}, {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
55
|
+
selector: "000d00ffffff00",
|
|
56
|
+
kind: "idle",
|
|
57
|
+
description: "No finger detected"
|
|
58
|
+
}, {
|
|
59
|
+
selector: "000d0000000001",
|
|
60
|
+
kind: "idle",
|
|
61
|
+
description: "Sensor acquiring"
|
|
62
|
+
}, {
|
|
63
|
+
selector: "000d00??????01",
|
|
64
|
+
kind: "result",
|
|
65
|
+
measurementTypeKey: _core.MeasurementTypeKey.bloodOxygenPulseRate,
|
|
66
|
+
description: "Realtime parameters",
|
|
67
|
+
fields: [{
|
|
68
|
+
name: "bloodOxygen",
|
|
69
|
+
byteIndexes: [PAYLOAD],
|
|
70
|
+
encoding: "uint",
|
|
71
|
+
unit: "%"
|
|
72
|
+
}, {
|
|
73
|
+
name: "pulseRate",
|
|
74
|
+
byteIndexes: [PAYLOAD + 1, PAYLOAD + 2],
|
|
75
|
+
byteOrder: "little",
|
|
76
|
+
encoding: "uint",
|
|
77
|
+
unit: "bpm"
|
|
78
|
+
}]
|
|
79
|
+
}],
|
|
80
|
+
...(expectedDeviceTypes === undefined ? {} : {
|
|
81
|
+
expectedDeviceTypes
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
};
|
|
70
85
|
|
|
71
86
|
/**
|
|
72
87
|
* The names the oximeter range advertises.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_lepuNameMatch","_lepuTransports","RT_PARAM","CASE_SELECTOR_BYTES","MIN_LENGTH_BYTES","PAYLOAD","SPOT_CHECK_TIMEOUT_MS","viatomOximeter","advertisedName","params","lepuDevice","id","toLowerCase","replace","nameMatch","lepuNameMatch","stuckDataTimeoutMs","pollCommand","minLengthBytes","caseSelectorBytes","cases","selector","kind","measurementTypeKey","MeasurementTypeKey","bloodOxygenPulseRate","
|
|
1
|
+
{"version":3,"names":["_core","require","_lepuNameMatch","_lepuTransports","RT_PARAM","CASE_SELECTOR_BYTES","MIN_LENGTH_BYTES","PAYLOAD","SPOT_CHECK_TIMEOUT_MS","viatomOximeter","advertisedName","params","expectedDeviceTypes","undefined","lepuDevice","id","toLowerCase","replace","nameMatch","lepuNameMatch","stuckDataTimeoutMs","protocol","setClockBeforeInfo","writeWithoutResponse","pollCommand","minLengthBytes","caseSelectorBytes","cases","selector","kind","description","measurementTypeKey","MeasurementTypeKey","bloodOxygenPulseRate","fields","name","byteIndexes","encoding","unit","byteOrder","exports","VIATOM_OXIMETER_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.oximeters.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAMG,QAAQ,GAAG,IAAI;;AAErB;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;;AAElD;AACA,MAAMC,gBAAgB,GAAG,EAAE;AAE3B,MAAMC,OAAO,GAAG,CAAC;AAEjB,MAAMC,qBAAqB,GAAG,MAAM;AAoBpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,cAAc,GAAGA,CACrBC,cAAsB,EACtBC,MAA4B,KACD;EAC3B,MAAMC,mBAAmB,GACvBD,MAAM,CAACC,mBAAmB,KACzBF,cAAc,KAAK,QAAQ,GACxB,CAAC,IAAI,CAAC,GACNA,cAAc,KAAK,QAAQ,GACzB,CAAC,IAAI,CAAC,GACNG,SAAS,CAAC;EAElB,OAAO,IAAAC,0BAAU,EAAC;IAChBC,EAAE,EAAEJ,MAAM,CAACI,EAAE,IAAI,UAAUL,cAAc,CAACM,WAAW,CAAC,CAAC,CAACC,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC,EAAE;IACrFC,SAAS,EAAEP,MAAM,CAACO,SAAS,IAAI,IAAAC,4BAAa,EAACT,cAAc,CAAC;IAC5DU,kBAAkB,EAAEZ,qBAAqB;IACzCa,QAAQ,EAAE,eAAe;IACzBC,kBAAkB,EAAEZ,cAAc,KAAK,QAAQ;IAC/Ca,oBAAoB,EAAE,IAAI;IAC1BC,WAAW,EAAEpB,QAAQ;IACrBqB,cAAc,EAAEnB,gBAAgB;IAChCoB,iBAAiB,EAAErB,mBAAmB;IACtCsB,KAAK,EAAE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ignoreList":[]}
|
|
@@ -8,6 +8,7 @@ let IntegratedDevices = exports.IntegratedDevices = /*#__PURE__*/function (Integ
|
|
|
8
8
|
IntegratedDevices["F4"] = "F4";
|
|
9
9
|
IntegratedDevices["BP2"] = "BP2";
|
|
10
10
|
IntegratedDevices["SPO2"] = "Oxyfit";
|
|
11
|
+
IntegratedDevices["MYSENSE"] = "mySense";
|
|
11
12
|
IntegratedDevices["AOJ20A"] = "AOJ-20A";
|
|
12
13
|
IntegratedDevices["PC60WF"] = "OxySmart";
|
|
13
14
|
IntegratedDevices["TAIDOC_GLUCOSE"] = "TAIDOC TD4216";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["IntegratedDevices","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -40,6 +40,9 @@ const toRaw = (hex, field) => {
|
|
|
40
40
|
if (field.encoding === "float") {
|
|
41
41
|
return (0, _decodeMedicalFloat.decodeMedicalFloat)(raw, 8, 24);
|
|
42
42
|
}
|
|
43
|
+
if (field.encoding === "decimal-pair") {
|
|
44
|
+
return parseInt(hex.slice(0, 2), 16) + parseInt(hex.slice(2, 4), 16) / 100;
|
|
45
|
+
}
|
|
43
46
|
return raw;
|
|
44
47
|
};
|
|
45
48
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_decodeMedicalFloat","require","HEX_ONLY","ASCII_ZERO","ASCII_NINE","HEX_BYTE","fromAsciiDigits","hex","codes","match","map","byte","parseInt","length","some","code","undefined","Number","join","toRaw","field","encoding","raw","bits","sign","decodeMedicalFloat","createCustomFieldParser","assembledHex","toLowerCase","byteIndexes","test","isFinite","value","scale","offset","decimals","factor","Math","round","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/utils/create-custom-field-parser.ts"],"mappings":";;;;;;AAEA,IAAAA,mBAAA,GAAAC,OAAA;AAEA,MAAMC,QAAQ,GAAG,aAAa;AAE9B,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,QAAQ,GAAG,KAAK;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAIC,GAAW,IAAyB;EAC3D,MAAMC,KAAK,GAAG,CAACD,GAAG,CAACE,K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ZERO","ASCII_NINE","HEX_BYTE","fromAsciiDigits","hex","codes","match","map","byte","parseInt","length","some","code","undefined","Number","join","toRaw","field","encoding","raw","bits","sign","decodeMedicalFloat","slice","createCustomFieldParser","assembledHex","toLowerCase","byteIndexes","test","isFinite","value","scale","offset","decimals","factor","Math","round","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/utils/create-custom-field-parser.ts"],"mappings":";;;;;;AAEA,IAAAA,mBAAA,GAAAC,OAAA;AAEA,MAAMC,QAAQ,GAAG,aAAa;AAE9B,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,QAAQ,GAAG,KAAK;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAIC,GAAW,IAAyB;EAC3D,MAAMC,KAAK,GAAG,CAACD,GAAG,CAACE,KAAK,CAACJ,QAAQ,CAAC,IAAI,EAAE,EAAEK,GAAG,CAAEC,IAAI,IAAKC,QAAQ,CAACD,IAAI,EAAE,EAAE,CAAC,CAAC;EAE3E,IACEH,KAAK,CAACK,MAAM,KAAK,CAAC,IAClBL,KAAK,CAACM,IAAI,CAAEC,IAAI,IAAKA,IAAI,GAAGZ,UAAU,IAAIY,IAAI,GAAGX,UAAU,CAAC,EAC5D;IACA,OAAOY,SAAS;EAClB;EAEA,OAAOC,MAAM,CAACT,KAAK,CAACE,GAAG,CAAEK,IAAI,IAAKA,IAAI,GAAGZ,UAAU,CAAC,CAACe,IAAI,CAAC,EAAE,CAAC,CAAC;AAChE,CAAC;AAED,MAAMC,KAAK,GAAGA,CACZZ,GAAW,EACXa,KAA0B,KACH;EACvB,IAAIA,KAAK,CAACC,QAAQ,KAAK,OAAO,EAAE;IAC9B,OAAOf,eAAe,CAACC,GAAG,CAAC;EAC7B;EAEA,MAAMe,GAAG,GAAGV,QAAQ,CAACL,GAAG,EAAE,EAAE,CAAC;EAC7B,MAAMgB,IAAI,GAAGhB,GAAG,CAACM,MA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ACe,QAAQ,CAACV,GAAG,CAAC,EAAE;IAC9C,OAAON,SAAS;EAClB;EAEA,MAAMiB,KAAK,GAAGX,GAAG,GAAGF,KAAK,CAACc,KAAK,GAAGd,KAAK,CAACe,MAAM;EAE9C,IAAI,CAAClB,MAAM,CAACe,QAAQ,CAACC,KAAK,CAAC,EAAE;IAC3B,OAAOjB,SAAS;EAClB;EAEA,IAAII,KAAK,CAACgB,QAAQ,KAAKpB,SAAS,EAAE;IAChC,OAAOiB,KAAK;EACd;EAEA,MAAMI,MAAM,GAAG,EAAE,IAAIjB,KAAK,CAACgB,QAAQ;EAEnC,OAAOE,IAAI,CAACC,KAAK,CAACN,KAAK,GAAGI,MAAM,CAAC,GAAGA,MAAM;AAC5C,CAAC;AAACG,OAAA,CAAAb,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
|
@@ -38,11 +38,11 @@ export const AppleLoginButton = ({
|
|
|
38
38
|
accessToken: loginResponse.accessToken,
|
|
39
39
|
refreshToken: loginResponse.refreshToken,
|
|
40
40
|
profile: {
|
|
41
|
-
|
|
41
|
+
reference: typeof loginResponse.profile.reference === "string" ? loginResponse.profile.reference : loginResponse.profile.reference.reference,
|
|
42
42
|
display: loginResponse.profile.display
|
|
43
43
|
},
|
|
44
44
|
project: {
|
|
45
|
-
|
|
45
|
+
reference: typeof loginResponse.project.reference === "string" ? loginResponse.project.reference : loginResponse.project.reference.reference,
|
|
46
46
|
display: loginResponse.project.display
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useClient","AppleAuthentication","React","StyleSheet","TouchableOpacity","useAppTheme","jsx","_jsx","AppleLoginButton","testID","internalId","onSuccess","onError","style","disabled","children","props","client","theme","isAppleLoginAvailable","setIsAppleLoginAvailable","useState","handleAppleLogin","useCallback","credentials","signInAsync","requestedScopes","AppleAuthenticationScope","FULL_NAME","EMAIL","identityToken","authorizationCode","Error","loginResponse","appleLogin","email","data","accessToken","refreshToken","profile","reference","display","project","setActiveLogin","e","error","code","useEffect","isAvailableAsync","then","catch","styles","container","gap","spacing","paddingVertical","backgroundColor","borderColor","dark","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,OAAO,KAAKC,mBAAmB,MAAM,2BAA2B;AAChE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,WAAW,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhD,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,MAAM;EACNC,UAAU;EACVC,SAAS;EACTC,OAAO;EACPC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACR,GAAGC;AACqC,CAAC,KAAK;EAC9C,MAAMC,MAAM,GAAGjB,SAAS,CAAC,CAAC;EAC1B,MAAMkB,KAAK,GAAGb,WAAW,CAAC,CAAC;EAE3B,MAAM,CAACc,qBAAqB,EAAEC,wBAAwB,CAAC,GACrDlB,KAAK,CAACmB,QAAQ,CAAC,KAAK,CAAC;EAEvB,MAAMC,gBAAgB,GAAGpB,KAAK,CAACqB,WAAW,CAAC,YAAY;IACrD,IAAI;MACF,MAAMC,WAAW,GAAG,MAAMvB,mBAAmB,CAACwB,WAAW,CAAC;QACxDC,eAAe,EAAE,CACfzB,mBAAmB,CAAC0B,wBAAwB,CAACC,SAAS,EACtD3B,mBAAmB,CAAC0B,wBAAwB,CAACE,KAAK;MAEtD,CAAC,CAAC;MAEF,IACEL,WAAW,CAACM,aAAa,IAAI,IAAI,IACjCN,WAAW,CAACO,iBAAiB,IAAI,IAAI,EACrC;QACA,MAAM,IAAIC,KAAK,CAAC,8BAA8B,CAAC;MACjD;MAEA,MAAMC,aAAa,GAAG,MAAMhB,MAAM,CAACiB,UAAU,CAAC;QAC5C,GAAGV,WAAW;QACdM,aAAa,EAAEN,WAAW,CAACM,aAAa,IAAI,EAAE;QAC9CC,iBAAiB,EAAEP,WAAW,CAACO,iBAAiB,IAAI,EAAE;QACtDI,KAAK,EAAEX,WAAW,CAACW,KAAK,IAAI,EAAE;QAC9BzB;MACF,CAAC,CAAC;MAEF,MAAM0B,IAAI,GAAG;QACXC,WAAW,EAAEJ,aAAa,CAACI,WAAW;QACtCC,YAAY,EAAEL,aAAa,CAACK,YAAY;QACxCC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"names":["useClient","AppleAuthentication","React","StyleSheet","TouchableOpacity","useAppTheme","jsx","_jsx","AppleLoginButton","testID","internalId","onSuccess","onError","style","disabled","children","props","client","theme","isAppleLoginAvailable","setIsAppleLoginAvailable","useState","handleAppleLogin","useCallback","credentials","signInAsync","requestedScopes","AppleAuthenticationScope","FULL_NAME","EMAIL","identityToken","authorizationCode","Error","loginResponse","appleLogin","email","data","accessToken","refreshToken","profile","reference","display","project","setActiveLogin","e","error","code","useEffect","isAvailableAsync","then","catch","styles","container","gap","spacing","paddingVertical","backgroundColor","borderColor","dark","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,OAAO,KAAKC,mBAAmB,MAAM,2BAA2B;AAChE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,WAAW,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhD,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,MAAM;EACNC,UAAU;EACVC,SAAS;EACTC,OAAO;EACPC,KAAK;EACLC,QAAQ;EACRC,QAAQ;E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ACtB1C,KAAK,CAACyC,MAAM,CAACC,IAAI,CAAC,GAAG;IAC3B,CAAC,EACD9C,QAAQ,IAAIqC,MAAM,CAACrC,QAAQ,EAC3BD,KAAK,CACL;IACFC,QAAQ,EAAEA,QAAS;IACnB+C,OAAO,EAAEvC,gBAAiB;IAC1Bb,MAAM,EAAEA,MAAO;IAAAM,QAAA,EAEdA;EAAQ,CACO,CAAC;AAEvB,CAAC;AAED,MAAMoC,MAAM,GAAGhD,UAAU,CAAC2D,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE,CAAC;IACXC,WAAW,EAAEhE,UAAU,CAACiE,aAAa;IACrCC,YAAY,EAAE;EAChB,CAAC;EACDvD,QAAQ,EAAE;IACRwD,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -51,11 +51,11 @@ export const GoogleLoginButton = ({
|
|
|
51
51
|
accessToken: loginResponse.accessToken,
|
|
52
52
|
refreshToken: loginResponse.refreshToken,
|
|
53
53
|
profile: {
|
|
54
|
-
|
|
54
|
+
reference: typeof loginResponse.profile.reference === "string" ? loginResponse.profile.reference : loginResponse.profile.reference.reference,
|
|
55
55
|
display: loginResponse.profile.display
|
|
56
56
|
},
|
|
57
57
|
project: {
|
|
58
|
-
|
|
58
|
+
reference: typeof loginResponse.project.reference === "string" ? loginResponse.project.reference : loginResponse.project.reference.reference,
|
|
59
59
|
display: loginResponse.project.display
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useClient","GoogleSignin","isCancelledResponse","isSuccessResponse","React","StyleSheet","TouchableOpacity","slog","useAppTheme","jsx","_jsx","GoogleLoginButton","googleIosClientId","googleWebClientId","internalId","onSuccess","onError","testID","style","disabled","children","props","theme","client","isConfigured","setIsConfigured","useState","isLoading","setIsLoading","isDisabled","handleGetIdToken","useCallback","hasPlayServices","Error","response","signIn","tokens","getTokens","idToken","handleGoogleSignIn","loginResponse","googleLogin","data","accessToken","refreshToken","profile","reference","display","project","setActiveLogin","error","useEffect","configure","iosClientId","webClientId","styles","container","gap","spacing","paddingVertical","backgroundColor","dark","borderColor","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,SACEC,YAAY,EAEZC,mBAAmB,EACnBC,iBAAiB,QACZ,2CAA2C;AAClD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,IAAI,QAAQ,8BAAqB;AAC1C,SAASC,WAAW,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhD,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,iBAAiB;EACjBC,iBAAiB;EACjBC,UAAU;EACVC,SAAS;EACTC,OAAO;EACPC,MAAM;EACNC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACR,GAAGC;AACsC,CAAC,KAAK;EAC/C,MAAMC,KAAK,GAAGd,WAAW,CAAC,CAAC;EAC3B,MAAMe,MAAM,GAAGvB,SAAS,CAAC,CAAC;EAE1B,MAAM,CAACwB,YAAY,EAAEC,eAAe,CAAC,GAAGrB,KAAK,CAACsB,QAAQ,CAAC,KAAK,CAAC;EAC7D,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGxB,KAAK,CAACsB,QAAQ,CAAC,KAAK,CAAC;EAEvD,MAAMG,UAAU,GAAGF,SAAS,IAAI,CAACH,YAAY,IAAIL,QAAQ;EAEzD,MAAMW,gBAAgB,GAAG1B,KAAK,CAAC2B,WAAW,CAAC,YAAY;IACrD,MAAMC,eAAe,GAAG,MAAM/B,YAAY,CAAC+B,eAAe,CAAC,CAAC;IAE5D,IAAI,CAACA,eAAe,EAAE;MACpB,MAAM,IAAIC,KAAK,CAAC,wCAAwC,CAAC;IAC3D;IAEA,MAAMC,QAAQ,GAAG,MAAMjC,YAAY,CAACkC,MAAM,CAAC,CAAC;IAE5C,IAAI,CAAChC,iBAAiB,CAAC+B,QAAQ,CAAC,EAAE;MAChC,MAAMA,QAAQ;IAChB;IAEA,MAAME,MAAM,GAAG,MAAMnC,YAAY,CAACoC,SAAS,CAAC,CAAC;IAE7C,IAAI,CAACD,MAAM,CAACE,OAAO,EAAE;MACnB,MAAM,IAAIL,KAAK,CAAC,8CAA8C,CAAC;IACjE;IAEA,OAAOG,MAAM,CAACE,OAAO;EACvB,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,kBAAkB,GAAGnC,KAAK,CAAC2B,WAAW,CAAC,YAAY;IACvD,IAAI;MACFH,YAAY,CAAC,IAAI,CAAC;MAElB,MAAMU,OAAO,GAAG,MAAMR,gBAAgB,CAAC,CAAC;MAExC,MAAMU,aAAa,GAAG,MAAMjB,MAAM,CAACkB,WAAW,CAAC;QAC7CH,OAAO;QACPxB;MACF,CAAC,CAAC;MAEF,MAAM4B,IAAI,GAAG;QACXC,WAAW,EAAEH,aAAa,CAACG,WAAW;QACtCC,YAAY,EAAEJ,aAAa,CAACI,YAAY;QACxCC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"names":["useClient","GoogleSignin","isCancelledResponse","isSuccessResponse","React","StyleSheet","TouchableOpacity","slog","useAppTheme","jsx","_jsx","GoogleLoginButton","googleIosClientId","googleWebClientId","internalId","onSuccess","onError","testID","style","disabled","children","props","theme","client","isConfigured","setIsConfigured","useState","isLoading","setIsLoading","isDisabled","handleGetIdToken","useCallback","hasPlayServices","Error","response","signIn","tokens","getTokens","idToken","handleGoogleSignIn","loginResponse","googleLogin","data","accessToken","refreshToken","profile","reference","display","project","setActiveLogin","error","useEffect","configure","iosClientId","webClientId","styles","container","gap","spacing","paddingVertical","backgroundColor","dark","borderColor","colors","gray","onPress","create","flexDirection","alignItems","justifyContent","flexGrow","borderWidth","hairlineWidth","borderRadius","opacity"],"sourceRoot":"../../../../../../../src","sources":["modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,YAAY;AACtC,SACEC,YAAY,EAEZC,mBAAmB,EACnBC,iBAAiB,QACZ,2CAA2C;AAClD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAE3D,SAASC,IAAI,QAAQ,8BAAqB;AAC1C,SAASC,WAAW,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhD,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,iBAAiB;EACjBC,iBAAiB;EACjBC,UAAU;EACVC,SAAS;EACTC,OAAO;EACPC,MAAM;EACNC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACR,GAAGC;AACsC,CAAC,KAAK;EAC/C,MAAMC,KAAK,GAAGd,WAAW,CAAC,CAAC;EAC3B,MAAMe,MAAM,GAAGvB,SAAS,CAAC,CAAC;EAE1B,MAAM,CAACwB,YAAY,EAAEC,eAAe,CAAC,GAAGrB,KAAK,CAACsB,QAAQ,CAAC,KAAK,CAAC;EAC7D,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGxB,KAAK,CAACsB,QAAQ,CAAC,KAAK,CAAC;EAEvD,MAAMG,UAAU,GAAGF,SAAS,IAAI,CAACH,YAAY,IAAIL,QAAQ;EAEzD,MAAMW,gBAAgB,GAAG1B,KAAK,CAAC2B,WAAW,CAAC,YAAY;IACrD,MAAMC,eAAe,GAAG,MAAM/B,YAAY,CAAC+B,eAAe,CAAC,CAAC;IAE5D,IAAI,CAACA,eAAe,EAAE;MACpB,MAAM,IAAIC,KAAK,CAAC,wCAAwC,CAAC;IAC3D;IAEA,MAAMC,Q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kBAAmB;IAC5BtB,MAAM,EAAEA,MAAO;IAAAG,QAAA,EAEdA;EAAQ,CACO,CAAC;AAEvB,CAAC;AAED,MAAMmC,MAAM,GAAGlD,UAAU,CAAC6D,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE,CAAC;IACXC,WAAW,EAAElE,UAAU,CAACmE,aAAa;IACrCC,YAAY,EAAE;EAChB,CAAC;EACDtD,QAAQ,EAAE;IACRuD,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -26,6 +26,7 @@ export const DEVICE_INSTRUCTION_PDFS = {
|
|
|
26
26
|
[IntegratedDevices.S5]: "",
|
|
27
27
|
[IntegratedDevices.BGM]: "",
|
|
28
28
|
[IntegratedDevices.VEROVAL_DUO_CONTROL]: "",
|
|
29
|
-
[IntegratedDevices.VEROVAL_ECG]: ""
|
|
29
|
+
[IntegratedDevices.VEROVAL_ECG]: "",
|
|
30
|
+
[IntegratedDevices.MYSENSE]: ""
|
|
30
31
|
};
|
|
31
32
|
//# sourceMappingURL=device-instruction-pdfs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","pdfBaseUrl","DEVICE_INSTRUCTION_PDFS","BP2","F4","SPO2","PC60WF","ALIVE_COR","COSINUSS","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","CLEVERTEMP","FORATEMP","ANDESFITTEMP","FORA_SCALE","BC01","RPM_SCALE","CMED","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-instruction-pdfs.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,iDAA8C;;AAEhF;AACA;AACA,MAAMC,UAAU,GACd,2EAA2E;AAE7E,OAAO,MAAMC,uBAA0D,GAAG;EACxE,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fBaseUrl","DEVICE_INSTRUCTION_PDFS","BP2","F4","SPO2","PC60WF","ALIVE_COR","COSINUSS","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","CLEVERTEMP","FORATEMP","ANDESFITTEMP","FORA_SCALE","BC01","RPM_SCALE","CMED","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","MYSENSE"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-instruction-pdfs.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,iDAA8C;;AAEhF;AACA;AACA,MAAMC,UAAU,GACd,2EAA2E;AAE7E,OAAO,MAAMC,uBAA0D,GAAG;EACxE,CAACF,iBAAiB,CAACG,GAAG,GAAG,GAAGF,UAAU,yBAAyB;EAC/D,CAACD,iBAAiB,CAACI,EAAE,GAAG,GAAGH,UAAU,yBAAyB;EAC9D,CAACD,iBAAiB,CAACK,IAAI,GAAG,GAAGJ,UAAU,yBAAyB;EAChE,CAACD,iBAAiB,CAACM,MAAM,GAAG,GAAGL,UAAU,2BAA2B;EACpE,CAACD,iBAAiB,CAACO,SAAS,GAAG,GAAGN,UAAU,sBAAsB;EAClE,CAACD,iBAAiB,CAACQ,QAAQ,GAAG,GAAGP,UAAU,sBAAsB;EACjE,CAACD,iBAAiB,CAACS,MAAM,GAAG,GAAGR,UAAU,oBAAoB;EAC7D,CAACD,iBAAiB,CAACU,cAAc,GAAG,GAAGT,UAAU,oBAAoB;EACrE,CAACD,iBAAiB,CAACW,UAAU,GAAG,GAAGV,UAAU,iBAAiB;EAC9D,CAACD,iBAAiB,CAACY,UAAU,GAAG,GAAGX,UAAU,oBAAoB;EACjE,CAACD,iBAAiB,CAACa,QAAQ,GAAG,GAAGZ,UAAU,gBAAgB;EAC3D,CAACD,iBAAiB,CAACc,YAAY,GAAG,GAAGb,UAAU,oBAAoB;EACnE,CAACD,iBAAiB,CAACe,UAAU,GAAG,GAAGd,UAAU,gBAAgB;EAC7D,CAACD,iBAAiB,CAACgB,IAAI,GAAG,GAAGf,UAAU,YAAY;EACnD,CAACD,iBAAiB,CAACiB,SAAS,GAAG,GAAGhB,UAAU,wBAAwB;EACpE,CAACD,iBAAiB,CAACkB,IAAI,GAAG,EAAE;EAC5B,CAAClB,iBAAiB,CAACmB,KAAK,GAAG,EAAE;EAC7B,CAACnB,iBAAiB,CAACoB,EAAE,GAAG,EAAE;EAC1B,CAACpB,iBAAiB,CAACqB,GAAG,GAAG,EAAE;EAC3B,CAACrB,iBAAiB,CAACsB,mBAAmB,GAAG,EAAE;EAC3C,CAACtB,iBAAiB,CAACuB,WAAW,GAAG,EAAE;EACnC,CAACvB,iBAAiB,CAACwB,OAAO,GAAG;AAC/B,CAAC","ignoreList":[]}
|
|
@@ -4,6 +4,7 @@ const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
|
|
|
4
4
|
const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
|
|
5
5
|
const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
|
|
6
6
|
const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
|
|
7
|
+
const cyclotestMySenseImage = "https://www.cyclotest.de/wp-content/uploads/cyclotest-mysense-basalthermometer-app-unfruchtbar-flex.png";
|
|
7
8
|
const viatomBp2Image = "https://static.wixstatic.com/media/34caa4_9f911afc220e4832a17af0b44e515915~mv2.jpg/v1/crop/x_0,y_2,w_380,h_380/fill/w_532,h_532,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/BP2.jpg";
|
|
8
9
|
const viatomBp3Image = "https://static.wixstatic.com/media/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg/v1/fill/w_2500,h_1666,al_c/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg";
|
|
9
10
|
const viatomF4Image = "https://static.wixstatic.com/media/5118d8_190c0d815e2445b28baa9ca15cbb71fc~mv2.png/v1/fill/w_608,h_608,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/F4%20body%20scale.png";
|
|
@@ -17,6 +18,7 @@ const hartmannBpu26Credit = "HARTMANN official product image: https://www.hartma
|
|
|
17
18
|
const hartmannBpw26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/wrist-products/veroval%C2%AE-compact-%2C-pl-%2C-wrist-blood-pressure-monitor";
|
|
18
19
|
const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
|
|
19
20
|
const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
|
|
21
|
+
const cyclotestMySenseCredit = "cyclotest official product image: https://www.cyclotest.de/produkt/cyclotest-mysense-basalthermometer/";
|
|
20
22
|
const viatomBloodPressureCredit = "Viatom official product image: https://www.viatomtech.com/blood-pressure-monitor";
|
|
21
23
|
const viatomBp3Credit = "Viatom official product image: https://www.viatomtech.com/upper-arm-desk-blood-pressure-monitor";
|
|
22
24
|
const viatomBodyScaleCredit = "Viatom official product image: https://www.viatomtech.com/bodyscale";
|
|
@@ -29,5 +31,5 @@ const cosinussCredit = "cosinuss° official product page: https://www.cosinuss.c
|
|
|
29
31
|
const alivecorCredit = "AliveCor official KardiaMobile product page: https://www.alivecor.com/kardiamobile";
|
|
30
32
|
const contecCredit = "Contec official BC401 product page: https://contechealth.com/collections/hot-sales/products/contec-bc401-handheld-urine-analyzer-11-parameter-600pcs-test-strip-bluetooth";
|
|
31
33
|
const transtekCredit = "Transtek official product page: https://www.transtekmed.com/product/transtek-body-scale-gbs-2012-b1";
|
|
32
|
-
export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage };
|
|
34
|
+
export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, cyclotestMySenseCredit, cyclotestMySenseImage, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage };
|
|
33
35
|
//# sourceMappingURL=supported-device-catalog-assets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["verovalBpu26Image","verovalBpw26Image","bosoMedicusSystemImage","visomatComfortSoftBtImage","viatomBp2Image","viatomBp3Image","viatomF4Image","viatomO2RingImage","viatomEr1Image","viatomAojImage","bundledAssetCredit","hartmannDuoControlCredit","hartmannEcgCredit","hartmannBpu26Credit","hartmannBpw26Credit","bosoMedicusSystemCredit","visomatComfortSoftBtCredit","viatomBloodPressureCredit","viatomBp3Credit","viatomBodyScaleCredit","viatomOximeterCredit","viatomEcgCredit","aojCredit","taidocCredit","foraCredit","cosinussCredit","alivecorCredit","contecCredit","transtekCredit"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-device-catalog-assets.ts"],"mappings":";;AAAA,MAAMA,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,sBAAsB,GAC1B,sFAAsF;AAExF,MAAMC,yBAAyB,GAC7B,kFAAkF;AAEpF,MAAMC,cAAc,GAClB,iMAAiM;AAEnM,MAAMC,cAAc,GAClB,+JAA+J;AAEjK,MAAMC,aAAa,GACjB,iLAAiL;AAEnL,MAAMC,iBAAiB,GACrB,2LAA2L;AAE7L,MAAMC,cAAc,GAClB,sKAAsK;AAExK,MAAMC,cAAc,GAClB,wKAAwK;AAE1K,MAAMC,kBAAkB,GACtB,uFAAuF;AAEzF,MAAMC,wBAAwB,GAC5B,4JAA4J;AAE9J,MAAMC,iBAAiB,GACrB,qIAAqI;AAEvI,MAAMC,mBAAmB,GACvB,iMAAiM;AAEnM,MAAMC,mBAAmB,GACvB,yLAAyL;AAE3L,MAAMC,uBAAuB,GAC3B,4HAA4H;AAE9H,MAAMC,0BAA0B,GAC9B,kFAAkF;AAEpF,MAAMC,yBAAyB,GAC7B,kFAAkF;AAEpF,MAAMC,eAAe,GACnB,iGAAiG;AAEnG,MAAMC,qBAAqB,GACzB,qEAAqE;AAEvE,MAAMC,oBAAoB,GACxB,0EAA0E;AAE5E,MAAMC,eAAe,GACnB,2EAA2E;AAE7E,MAAMC,SAAS,GACb,uEAAuE;AAEzE,MAAMC,YAAY,GAChB,kEAAkE;AAEpE,MAAMC,UAAU,GAAG,gEAAgE;AAEnF,MAAMC,cAAc,GAClB,2FAA2F;AAE7F,MAAMC,cAAc,GAClB,oFAAoF;AAEtF,MAAMC,YAAY,GAChB,2KAA2K;AAE7K,MAAMC,cAAc,GAClB,qGAAqG;AAEvG,SACEF,cAAc,EACdJ,SAAS,
|
|
1
|
+
{"version":3,"names":["verovalBpu26Image","verovalBpw26Image","bosoMedicusSystemImage","visomatComfortSoftBtImage","cyclotestMySenseImage","viatomBp2Image","viatomBp3Image","viatomF4Image","viatomO2RingImage","viatomEr1Image","viatomAojImage","bundledAssetCredit","hartmannDuoControlCredit","hartmannEcgCredit","hartmannBpu26Credit","hartmannBpw26Credit","bosoMedicusSystemCredit","visomatComfortSoftBtCredit","cyclotestMySenseCredit","viatomBloodPressureCredit","viatomBp3Credit","viatomBodyScaleCredit","viatomOximeterCredit","viatomEcgCredit","aojCredit","taidocCredit","foraCredit","cosinussCredit","alivecorCredit","contecCredit","transtekCredit"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-device-catalog-assets.ts"],"mappings":";;AAAA,MAAMA,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,sBAAsB,GAC1B,sFAAsF;AAExF,MAAMC,yBAAyB,GAC7B,kFAAkF;AAEpF,MAAMC,qBAAqB,GACzB,yGAAyG;AAE3G,MAAMC,cAAc,GAClB,iMAAiM;AAEnM,MAAMC,cAAc,GAClB,+JAA+J;AAEjK,MAAMC,aAAa,GACjB,iLAAiL;AAEnL,MAAMC,iBAAiB,GACrB,2LAA2L;AAE7L,MAAMC,cAAc,GAClB,sKAAsK;AAExK,MAAMC,cAAc,GAClB,wKAAwK;AAE1K,MAAMC,kBAAkB,GACtB,uFAAuF;AAEzF,MAAMC,wBAAwB,GAC5B,4JAA4J;AAE9J,MAAMC,iBAAiB,GACrB,qIAAqI;AAEvI,MAAMC,mBAAmB,GACvB,iMAAiM;AAEnM,MAAMC,mBAAmB,GACvB,yLAAyL;AAE3L,MAAMC,uBAAuB,GAC3B,4HAA4H;AAE9H,MAAMC,0BAA0B,GAC9B,kFAAkF;AAEpF,MAAMC,sBAAsB,GAC1B,wGAAwG;AAE1G,MAAMC,yBAAyB,GAC7B,kFAAkF;AAEpF,MAAMC,eAAe,GACnB,iGAAiG;AAEnG,MAAMC,qBAAqB,GACzB,qEAAqE;AAEvE,MAAMC,oBAAoB,GACxB,0EAA0E;AAE5E,MAAMC,eAAe,GACnB,2EAA2E;AAE7E,MAAMC,SAAS,GACb,uEAAuE;AAEzE,MAAMC,YAAY,GAChB,kEAAkE;AAEpE,MAAMC,UAAU,GAAG,gEAAgE;AAEnF,MAAMC,cAAc,GAClB,2FAA2F;AAE7F,MAAMC,cAAc,GAClB,oFAAoF;AAEtF,MAAMC,YAAY,GAChB,2KAA2K;AAE7K,MAAMC,cAAc,GAClB,qGAAqG;AAEvG,SACEF,cAAc,EACdJ,SAAS,EACTR,uBAAuB,EACvBd,sBAAsB,EACtBS,kBAAkB,EAClBkB,YAAY,EACZF,cAAc,EACdT,sBAAsB,EACtBd,qBAAqB,EACrBsB,UAAU,EACVZ,mBAAmB,EACnBC,mBAAmB,EACnBH,wBAAwB,EACxBC,iBAAiB,EACjBY,YAAY,EACZK,cAAc,EACdpB,cAAc,EACdW,qBAAqB,EACrBhB,cAAc,EACde,eAAe,EACfd,cAAc,EACda,yBAAyB,EACzBI,eAAe,EACfd,cAAc,EACdF,aAAa,EACbC,iBAAiB,EACjBc,oBAAoB,EACpBtB,iBAAiB,EACjBC,iBAAiB,EACjBgB,0BAA0B,EAC1Bd,yBAAyB","ignoreList":[]}
|
|
@@ -7,14 +7,14 @@ import { bosoMedicusMonitor } from "../../bt-management/services/devices/boso/bo
|
|
|
7
7
|
import { standardBloodPressureDevice, standardHeartRateDevice, standardPulseOximeterDevice, standardThermometerDevice, standardWeightScaleDevice } from "../../bt-management/services/devices/standard-gatt/standard-gatt.devices.js";
|
|
8
8
|
import { visomatComfortSoftBtMonitor } from "../../bt-management/services/devices/uebe/visomat.comfort-soft-bt.js";
|
|
9
9
|
import { bpu26Monitor, bpw26Monitor } from "../../bt-management/services/devices/veroval/veroval.bp-monitors.js";
|
|
10
|
-
import { viatomBpMonitor } from "../../bt-management/services/devices/viatom/viatom.bp-monitors.js";
|
|
11
|
-
import { er1Recorder, er2Recorder, er3Recorder } from "../../bt-management/services/devices/viatom/viatom.ecg-recorders.js";
|
|
12
|
-
import { lepodMonitor } from "../../bt-management/services/devices/viatom/viatom.lepod.js";
|
|
13
|
-
import { viatomOximeter } from "../../bt-management/services/devices/viatom/viatom.oximeters.js";
|
|
10
|
+
import { BP3_MODEL_NAMES, viatomBpMonitor } from "../../bt-management/services/devices/viatom/viatom.bp-monitors.js";
|
|
11
|
+
import { ER1_MODEL_NAMES, ER2_MODEL_NAMES, ER3_MODEL_NAMES, er1Recorder, er2Recorder, er3Recorder } from "../../bt-management/services/devices/viatom/viatom.ecg-recorders.js";
|
|
12
|
+
import { LEPOD_MODEL_NAMES, lepodMonitor } from "../../bt-management/services/devices/viatom/viatom.lepod.js";
|
|
13
|
+
import { VIATOM_OXIMETER_NAMES, viatomOximeter } from "../../bt-management/services/devices/viatom/viatom.oximeters.js";
|
|
14
14
|
import { IntegratedDevices } from "../../bt-management/types/integrated-devices.js";
|
|
15
15
|
import { deviceImages } from "./device-images.js";
|
|
16
16
|
import { DEVICE_INSTRUCTION_PDFS } from "./device-instruction-pdfs.js";
|
|
17
|
-
import { aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, contecCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage } from "./supported-device-catalog-assets.js";
|
|
17
|
+
import { aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, contecCredit, cyclotestMySenseCredit, cyclotestMySenseImage, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage } from "./supported-device-catalog-assets.js";
|
|
18
18
|
import { additionalSupportedDevices } from "./supported-device-catalog-entries.js";
|
|
19
19
|
const verovalDuoControlImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/44853_4K.jpg";
|
|
20
20
|
const verovalEcgImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/46955_4K.jpg";
|
|
@@ -101,6 +101,13 @@ const Devices = [{
|
|
|
101
101
|
manufacturerKey: "devices.catalog.manufacturers.uebe",
|
|
102
102
|
logo: visomatComfortSoftBtImage,
|
|
103
103
|
creditsForImage: visomatComfortSoftBtCredit
|
|
104
|
+
}, {
|
|
105
|
+
name: "cyclotest mySense",
|
|
106
|
+
nameKey: "devices.catalog.cyclotest-mysense.name",
|
|
107
|
+
manufacturer: "UEBE Medical GmbH",
|
|
108
|
+
manufacturerKey: "devices.catalog.manufacturers.uebe",
|
|
109
|
+
logo: cyclotestMySenseImage,
|
|
110
|
+
creditsForImage: cyclotestMySenseCredit
|
|
104
111
|
}, {
|
|
105
112
|
name: "AOJ-20A",
|
|
106
113
|
nameKey: "devices.catalog.aoj-20a.name",
|
|
@@ -193,33 +200,51 @@ const definitionsFor = name => {
|
|
|
193
200
|
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
194
201
|
};
|
|
195
202
|
}
|
|
196
|
-
if (name === "Viatom BP3 series"
|
|
203
|
+
if (name === "Viatom BP3 series") {
|
|
204
|
+
return {
|
|
205
|
+
acceptedDevices: BP3_MODEL_NAMES.map(model => viatomBpMonitor(model, {})),
|
|
206
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
if (BP3_MODEL_NAMES.includes(name)) {
|
|
197
210
|
return {
|
|
198
|
-
acceptedDevices: [viatomBpMonitor(name
|
|
211
|
+
acceptedDevices: [viatomBpMonitor(name, {})],
|
|
199
212
|
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
200
213
|
};
|
|
201
214
|
}
|
|
202
|
-
if (name
|
|
215
|
+
if (name === "Viatom ER1 / ER2 / ER3") {
|
|
216
|
+
return {
|
|
217
|
+
acceptedDevices: [...ER1_MODEL_NAMES.map(model => er1Recorder(model, {})), ...ER2_MODEL_NAMES.map(model => er2Recorder(model, {})), ...ER3_MODEL_NAMES.map(model => er3Recorder(model, {}))],
|
|
218
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
if (ER1_MODEL_NAMES.includes(name)) {
|
|
203
222
|
return {
|
|
204
|
-
acceptedDevices: [er1Recorder(name
|
|
223
|
+
acceptedDevices: [er1Recorder(name, {})],
|
|
205
224
|
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
206
225
|
};
|
|
207
226
|
}
|
|
208
|
-
if (
|
|
227
|
+
if (ER2_MODEL_NAMES.includes(name)) {
|
|
209
228
|
return {
|
|
210
|
-
acceptedDevices: [er2Recorder(name
|
|
229
|
+
acceptedDevices: [er2Recorder(name, {})],
|
|
211
230
|
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
212
231
|
};
|
|
213
232
|
}
|
|
214
|
-
if (
|
|
233
|
+
if (ER3_MODEL_NAMES.includes(name)) {
|
|
215
234
|
return {
|
|
216
|
-
acceptedDevices: [er3Recorder(name
|
|
235
|
+
acceptedDevices: [er3Recorder(name, {})],
|
|
217
236
|
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
218
237
|
};
|
|
219
238
|
}
|
|
220
239
|
if (name === "Viatom Lepod / LepodPro") {
|
|
221
240
|
return {
|
|
222
|
-
acceptedDevices:
|
|
241
|
+
acceptedDevices: LEPOD_MODEL_NAMES.map(model => lepodMonitor(model, {})),
|
|
242
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg, MeasurementTypeKey.bloodOxygenPulseRate, MeasurementTypeKey.respiratoryRate, MeasurementTypeKey.temperature]
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
if (LEPOD_MODEL_NAMES.includes(name)) {
|
|
246
|
+
return {
|
|
247
|
+
acceptedDevices: [lepodMonitor(name, {})],
|
|
223
248
|
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg, MeasurementTypeKey.bloodOxygenPulseRate, MeasurementTypeKey.respiratoryRate, MeasurementTypeKey.temperature]
|
|
224
249
|
};
|
|
225
250
|
}
|
|
@@ -253,12 +278,24 @@ const definitionsFor = name => {
|
|
|
253
278
|
measurementTypes: [MeasurementTypeKey.temperature]
|
|
254
279
|
};
|
|
255
280
|
}
|
|
256
|
-
if (name
|
|
281
|
+
if (name === "Viatom O2Ring / Oxyfit / KidsO2 / BabyO2") {
|
|
282
|
+
return {
|
|
283
|
+
acceptedDevices: VIATOM_OXIMETER_NAMES.map(model => viatomOximeter(model, {})),
|
|
284
|
+
measurementTypes: [MeasurementTypeKey.bloodOxygenPulseRate]
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
if (VIATOM_OXIMETER_NAMES.includes(name)) {
|
|
257
288
|
return {
|
|
258
|
-
acceptedDevices: [viatomOximeter(name
|
|
289
|
+
acceptedDevices: [viatomOximeter(name, {})],
|
|
259
290
|
measurementTypes: [MeasurementTypeKey.bloodOxygenPulseRate]
|
|
260
291
|
};
|
|
261
292
|
}
|
|
293
|
+
if (name === "cyclotest mySense") {
|
|
294
|
+
return {
|
|
295
|
+
acceptedDevices: [IntegratedDevices.MYSENSE],
|
|
296
|
+
measurementTypes: [MeasurementTypeKey.temperature]
|
|
297
|
+
};
|
|
298
|
+
}
|
|
262
299
|
if (name.includes("blood-pressure")) {
|
|
263
300
|
return {
|
|
264
301
|
acceptedDevices: [standardBloodPressureDevice({})],
|
|
@@ -297,7 +334,8 @@ const definitionsFor = name => {
|
|
|
297
334
|
"GlucoCheck Gold": IntegratedDevices.GLUCOCHECK,
|
|
298
335
|
"TeleBGM Gen1 BLE": IntegratedDevices.BGM,
|
|
299
336
|
"Veroval duo control": IntegratedDevices.VEROVAL_DUO_CONTROL,
|
|
300
|
-
"Veroval ECG": IntegratedDevices.VEROVAL_ECG
|
|
337
|
+
"Veroval ECG": IntegratedDevices.VEROVAL_ECG,
|
|
338
|
+
"cyclotest mySense": IntegratedDevices.MYSENSE
|
|
301
339
|
};
|
|
302
340
|
const integrated = builtIn[name];
|
|
303
341
|
const measurementTypes = {
|
|
@@ -330,5 +368,9 @@ const supportedDevices = Devices.map(device => {
|
|
|
330
368
|
};
|
|
331
369
|
});
|
|
332
370
|
const SUPPORTED_DEVICES = supportedDevices;
|
|
333
|
-
|
|
371
|
+
const acceptedDeviceKey = device => typeof device === "string" ? `built-in:${device}` : `custom:${device.id}`;
|
|
372
|
+
|
|
373
|
+
/** A de-duplicated list ready to pass directly to BTProvider.acceptedDevices. */
|
|
374
|
+
const SUPPORTED_ACCEPTED_DEVICES = [...new Map(supportedDevices.flatMap(device => device.acceptedDevices).map(device => [acceptedDeviceKey(device), device])).values()];
|
|
375
|
+
export { Devices, SUPPORTED_ACCEPTED_DEVICES, SUPPORTED_DEVICES, supportedDevices };
|
|
334
376
|
//# sourceMappingURL=supported-devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","aoj20aThermometer","bosoMedicusMonitor","standardBloodPressureDevice","standardHeartRateDevice","standardPulseOximeterDevice","standardThermometerDevice","standardWeightScaleDevice","visomatComfortSoftBtMonitor","bpu26Monitor","bpw26Monitor","viatomBpMonitor","er1Recorder","er2Recorder","er3Recorder","lepodMonitor","viatomOximeter","IntegratedDevices","deviceImages","DEVICE_INSTRUCTION_PDFS","aojCredit","bosoMedicusSystemCredit","bosoMedicusSystemImage","contecCredit","hartmannBpu26Credit","hartmannBpw26Credit","hartmannDuoControlCredit","hartmannEcgCredit","viatomAojImage","viatomBodyScaleCredit","viatomBp2Image","viatomBp3Credit","viatomBp3Image","viatomBloodPressureCredit","viatomEcgCredit","viatomEr1Image","viatomF4Image","viatomO2RingImage","viatomOximeterCredit","verovalBpu26Image","verovalBpw26Image","visomatComfortSoftBtCredit","visomatComfortSoftBtImage","additionalSupportedDevices","verovalDuoControlImage","verovalEcgImage","bluetoothSigLogo","bluetoothSigAssetCredit","Devices","name","nameKey","manufacturer","manufacturerKey","logo","creditsForImage","bc401DeviceImage","customId","toLowerCase","replace","definitionsFor","acceptedDevices","BP2","measurementTypes","bloodPressure","includes","map","model","test","split","heartRate","ecg","bloodOxygenPulseRate","respiratoryRate","temperature","bodyWeight","builtIn","F4","PC60WF","BC01","TAIDOC_GLUCOSE","GLUCOCHECK","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","integrated","uricAcid","bloodGlucose","manualUrl","undefined","supportedDevices","device","definitions","id","SUPPORTED_DEVICES"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;AAAA;AACA,SAASA,kBAAkB,QAAQ,YAAY;AAI/C,SAASC,iBAAiB,QAAQ,8DAA2D;AAC7F,SAASC,kBAAkB,QAAQ,2DAAwD;AAC3F,SAASC,2BAA2B,EAAEC,uBAAuB,EAAEC,2BAA2B,EAAEC,yBAAyB,EAAEC,yBAAyB,QAAQ,6EAA0E;AAClO,SAASC,2BAA2B,QAAQ,sEAAmE;AAC/G,SAASC,YAAY,EAAEC,YAAY,QAAQ,qEAAkE;AAC7G,SAASC,eAAe,QAAQ,mEAAgE;AAChG,SAASC,WAAW,EAAEC,WAAW,EAAEC,WAAW,QAAQ,qEAAkE;AACxH,SAASC,YAAY,QAAQ,6DAA0D;AACvF,SAASC,cAAc,QAAQ,iEAA8D;AAC7F,SAASC,iBAAiB,QAAQ,iDAA8C;AAEhF,SAASC,YAAY,QAAQ,oBAAiB;AAC9C,SAASC,uBAAuB,QAAQ,8BAA2B;AACnE,SACEC,SAAS,EACTC,uBAAuB,EACvBC,sBAAsB,EACtBC,YAAY,EACZC,mBAAmB,EACnBC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AAkB,CAACsF,YAAY,CAAC;IAC1D,CAACrE,iBAAiB,CAACiE,mBAAmB,GAAG,CACvClF,kBAAkB,CAAC+D,aAAa,CACjC;IACD,CAAC9C,iBAAiB,CAACkE,WAAW,GAAG,CAACnF,kBAAkB,CAACsE,GAAG;EAC1D,CAAC;EAED,OAAOc,UAAU,GACb;IACExB,eAAe,EAAE,CAACwB,UAAU,CAAC;IAC7BtB,gBAAgB,EAAEA,gBAAgB,CAACsB,UAAU,CAAC,IAAI,EAAE;IACpDG,SAAS,EAAEpE,uBAAuB,CAACiE,UAAU,CAAC,IAAII;EACpD,CAAC,GACD;IAAE5B,eAAe,EAAE,EAAE;IAAEE,gBAAgB,EAAE;EAAG,CAAC;AACnD,CAAC;;AAED;AACA,MAAM2B,gBAAsD,GAAGzC,OAAO,CAACiB,GAAG,CAAEyB,MAAM,IAAK;EACrF,MAAMC,WAAW,GAAGhC,cAAc,CAAC+B,MAAM,CAACzC,IAAI,CAAC;EAE/C,OAAO;IACL,GAAGyC,MAAM;IACTE,EAAE,EAAEpC,QAAQ,CAACkC,MAAM,CAACzC,IAAI,CAAC;IACzB,GAAG0C;EACL,CAAC;AACH,CAAC,CAAC;AAEF,MAAME,iBAAiB,GAAGJ,gBAAgB;AAE1C,SAASzC,OAAO,EAAE6C,iBAAiB,EAAEJ,gBAAgB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","aoj20aThermometer","bosoMedicusMonitor","standardBloodPressureDevice","standardHeartRateDevice","standardPulseOximeterDevice","standardThermometerDevice","standardWeightScaleDevice","visomatComfortSoftBtMonitor","bpu26Monitor","bpw26Monitor","BP3_MODEL_NAMES","viatomBpMonitor","ER1_MODEL_NAMES","ER2_MODEL_NAMES","ER3_MODEL_NAMES","er1Recorder","er2Recorder","er3Recorder","LEPOD_MODEL_NAMES","lepodMonitor","VIATOM_OXIMETER_NAMES","viatomOximeter","IntegratedDevices","deviceImages","DEVICE_INSTRUCTION_PDFS","aojCredit","bosoMedicusSystemCredit","bosoMedicusSystemImage","contecCredit","cyclotestMySenseCredit","cyclotestMySenseImage","hartmannBpu26Credit","hartmannBpw26Credit","hartmannDuoControlCredit","hartmannEcgCredit","viatomAojImage","viatomBodyScaleCredit","viatomBp2Image","viatomBp3Credit","viatomBp3Image","viatomBloodPressureCredit","viatomEcgCredit","viatomEr1Image","viatomF4Image","viatomO2RingImage","viatomOximeterCredit","verovalBpu26Image","verovalBpw26Image","visomatComfortSoftBtCredit","visomatComfortSoftBtImage","additionalSupportedDevices","verovalDuoControlImage","verovalEcgImage","bluetoothSigLogo","bluetoothSigAssetCredit","Devices","name","nameKey","manufacturer","manufacturerKey","logo","creditsForImage","bc401DeviceImage","customId","toLowerCase","replace","definitionsFor","acceptedDevices","BP2","measurementTypes","bloodPressure","includes","map","model","heartRate","ecg","bloodOxygenPulseRate","respiratoryRate","temperature","MYSENSE","bodyWeight","builtIn","F4","PC60WF","BC01","TAIDOC_GLUCOSE","GLUCOCHECK","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","integrated","uricAcid","bloodGlucose","manualUrl","undefined","supportedDevices","device","definitions","id","SUPPORTED_DEVICES","acceptedDeviceKey","SUPPORTED_ACCEPTED_DEVICES","Map","flatMap","values"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;AAAA;AACA,SAASA,kBAAkB,QAAQ,YAAY;AAI/C,SAASC,iBAAiB,QAAQ,8DAA2D;AAC7F,SAASC,kBAAkB,QAAQ,2DAAwD;AAC3F,SAASC,2BAA2B,EAAEC,uBAAuB,EAAEC,2BAA2B,EAAEC,yBAAyB,EAAEC,yBAAyB,QAAQ,6EAA0E;AAClO,SAASC,2BAA2B,QAAQ,sEAAmE;AAC/G,SAASC,YAAY,EAAEC,YAAY,QAAQ,qEAAkE;AAC7G,SAASC,eAAe,EAAEC,eAAe,QAAQ,mEAAgE;AACjH,SAASC,eAAe,EAAEC,eAAe,EAAEC,eAAe,EAAEC,WAAW,E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J,gBAAgB;AAE1C,MAAMK,iBAAiB,GAAIJ,MAAsB,IAC/C,OAAOA,MAAM,KAAK,QAAQ,GAAG,YAAYA,MAAM,EAAE,GAAG,UAAUA,MAAM,CAACE,EAAE,EAAE;;AAE3E;AACA,MAAMG,0BAAqD,GAAG,CAC5D,GAAG,IAAIC,GAAG,CACRP,gBAAgB,CACbQ,OAAO,CAAEP,MAAM,IAAKA,MAAM,CAAC7B,eAAe,CAAC,CAC3CK,GAAG,CAAEwB,MAAM,IAAK,CAACI,iBAAiB,CAACJ,MAAM,CAAC,EAAEA,MAAM,CAAU,CACjE,CAAC,CAACQ,MAAM,CAAC,CAAC,CACX;AAED,SACEjD,OAAO,EACP8C,0BAA0B,EAC1BF,iBAAiB,EACjBJ,gBAAgB","ignoreList":[]}
|
|
@@ -13,6 +13,8 @@ export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
|
13
13
|
bleManager,
|
|
14
14
|
acceptedDevices = [],
|
|
15
15
|
children,
|
|
16
|
+
oneReadingPerConnection,
|
|
17
|
+
deliveredEcgFileNames,
|
|
16
18
|
onDeviceFound,
|
|
17
19
|
onError,
|
|
18
20
|
onDeviceStatusChanged,
|
|
@@ -37,7 +39,16 @@ export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
|
37
39
|
backgroundEnabled: true,
|
|
38
40
|
serviceUUIDs: getBackgroundServiceUUIDs(acceptedDevices, currentBackgroundSync.serviceUUIDs)
|
|
39
41
|
} : undefined;
|
|
40
|
-
const
|
|
42
|
+
const managerOptions = {
|
|
43
|
+
...backgroundOptions,
|
|
44
|
+
...(oneReadingPerConnection === undefined ? {} : {
|
|
45
|
+
oneReadingPerConnection
|
|
46
|
+
}),
|
|
47
|
+
...(deliveredEcgFileNames === undefined ? {} : {
|
|
48
|
+
deliveredEcgFileNames
|
|
49
|
+
})
|
|
50
|
+
};
|
|
51
|
+
const btManager = Object.keys(managerOptions).length ? new BTManager(bleManager, acceptedDevices, managerOptions) : new BTManager(bleManager, acceptedDevices);
|
|
41
52
|
const coordinator = isBackgroundEnabled && currentBackgroundSync ? new BackgroundSyncCoordinator({
|
|
42
53
|
...currentBackgroundSync,
|
|
43
54
|
enabled: true,
|
|
@@ -59,7 +70,7 @@ export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
|
59
70
|
btManagerRef.current = null;
|
|
60
71
|
btManager.destroy();
|
|
61
72
|
};
|
|
62
|
-
}, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.maxRetries, backgroundSync?.retryBackoffMs, backgroundSync?.serviceUUIDs, backgroundSync?.storage, backgroundSync?.storageKey, bleManager]);
|
|
73
|
+
}, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.maxRetries, backgroundSync?.retryBackoffMs, backgroundSync?.serviceUUIDs, backgroundSync?.storage, backgroundSync?.storageKey, bleManager, deliveredEcgFileNames, oneReadingPerConnection]);
|
|
63
74
|
React.useEffect(() => {
|
|
64
75
|
if (!onDeviceFound || !acceptedDevices.length) {
|
|
65
76
|
return;
|