@ovok/native 1.2.0 → 1.4.0
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 +9 -3
- 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 +8 -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 +22 -22
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-list-items.js +36 -0
- package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +36 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +45 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +198 -42
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +88 -0
- package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +77 -10
- 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/index.js +77 -0
- package/lib/commonjs/modules/bt-management/index.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/background-sync/background-ble-manager.js +27 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-ble-manager.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +31 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +104 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/bt-manager.js +59 -6
- package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +6 -2
- 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 +19 -8
- 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/bc01/bc01-command-builders.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +78 -127
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +60 -0
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +74 -0
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +3 -0
- package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +37 -4
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- 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.transports.js +4 -1
- package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
- 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/visomat.comfort-soft-bt.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +35 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
- 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.lepod.js +2 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/types/background-sync.js +6 -0
- package/lib/commonjs/modules/bt-management/types/background-sync.js.map +1 -0
- package/lib/commonjs/modules/bt-management/types/device-measurement-map.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +11 -2
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +3 -1
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +3 -1
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-units.js +22 -0
- package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
- 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 +8 -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 +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-list-items.js +36 -0
- package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +33 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +41 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-devices.js +188 -32
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +83 -0
- package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +77 -10
- 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/index.js +7 -0
- package/lib/module/modules/bt-management/index.js.map +1 -1
- package/lib/module/modules/bt-management/services/background-sync/background-ble-manager.js +22 -0
- package/lib/module/modules/bt-management/services/background-sync/background-ble-manager.js.map +1 -0
- package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +26 -0
- package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -0
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +100 -0
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -0
- package/lib/module/modules/bt-management/services/bt-manager.js +61 -7
- package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
- package/lib/module/modules/bt-management/services/custom/define-custom-device.js +6 -2
- 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 +19 -8
- 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/bc01/bc01-command-builders.js +40 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +59 -109
- package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +56 -0
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +69 -0
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
- package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +3 -0
- package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +36 -4
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
- 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.transports.js +4 -1
- package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
- 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/visomat.comfort-soft-bt.js +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +31 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
- 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.lepod.js +2 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/module/modules/bt-management/types/background-sync.js +4 -0
- package/lib/module/modules/bt-management/types/background-sync.js.map +1 -0
- package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/data-processor.js +11 -2
- package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js +3 -1
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js +3 -1
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-units.js +17 -0
- package/lib/module/modules/data-sync/utils/health-units.js.map +1 -0
- 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 +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/device-list-items.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
- 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/bluetooth-device-picker.d.ts +11 -0
- package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
- 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/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +29 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +26 -3
- 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/define-custom-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts +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/aoj/aoj.thermometers.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -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/lepu/lepu.file-transfer.d.ts +3 -2
- 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.transports.d.ts +3 -2
- 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/standard-gatt/standard-gatt.profile.d.ts +2 -2
- 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/visomat.comfort-soft-bt.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -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.lepod.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
- 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/background-sync.d.ts +32 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -0
- 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/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 +6 -4
- 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-lepu-spec.d.ts +2 -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-command.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
- 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 +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/device-list-items.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
- 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/bluetooth-device-picker.d.ts +11 -0
- package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
- 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/index.d.ts +7 -0
- package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts +13 -0
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +29 -0
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +26 -3
- 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/define-custom-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts +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/aoj/aoj.thermometers.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -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/lepu/lepu.file-transfer.d.ts +3 -2
- 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.transports.d.ts +3 -2
- 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/standard-gatt/standard-gatt.profile.d.ts +2 -2
- 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/visomat.comfort-soft-bt.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -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.lepod.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
- 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/background-sync.d.ts +32 -0
- package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -0
- 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/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 +6 -4
- 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-lepu-spec.d.ts +2 -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-command.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +3 -0
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
- package/package.json +5 -3
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
/* eslint-disable max-lines */
|
|
4
|
+
import { MeasurementTypeKey } from "@ovok/core";
|
|
5
|
+
import { aoj20aThermometer } from "../../bt-management/services/devices/aoj/aoj.thermometers.js";
|
|
6
|
+
import { bosoMedicusMonitor } from "../../bt-management/services/devices/boso/boso.medicus.js";
|
|
7
|
+
import { standardBloodPressureDevice, standardHeartRateDevice, standardPulseOximeterDevice, standardThermometerDevice, standardWeightScaleDevice } from "../../bt-management/services/devices/standard-gatt/standard-gatt.devices.js";
|
|
8
|
+
import { visomatComfortSoftBtMonitor } from "../../bt-management/services/devices/uebe/visomat.comfort-soft-bt.js";
|
|
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";
|
|
14
|
+
import { IntegratedDevices } from "../../bt-management/types/integrated-devices.js";
|
|
3
15
|
import { deviceImages } from "./device-images.js";
|
|
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";
|
|
18
|
+
import { additionalSupportedDevices } from "./supported-device-catalog-entries.js";
|
|
4
19
|
const verovalDuoControlImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/44853_4K.jpg";
|
|
5
20
|
const verovalEcgImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/46955_4K.jpg";
|
|
6
|
-
const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
|
|
7
|
-
const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
|
|
8
|
-
const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
|
|
9
|
-
const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
|
|
10
21
|
|
|
11
22
|
// Official Bluetooth SIG combination mark downloaded from the Bluetooth media kit.
|
|
12
23
|
const bluetoothSigLogo = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0ibG9nbyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMzYwIDE0NCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBmaWxsOiAjMDA4MmZjOwogICAgICB9CgogICAgICAuY2xzLTIsIC5jbHMtMyB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iQmx1ZXRvb3RoIj4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTk0LjE3LDc1LjE5aDMuMjZjNi4wMiwwLDguMywzLjAxLDguMyw5LjAzcy0xLjk1LDkuMDMtNy4zMiw5LjAzaC00LjIzdi0xOC4wN2gwWk05NC4xNyw1MS4xaDMuODNjNC40OCwwLDYuNTksMi44NSw2LjU5LDguMywwLDQuODgtMi45Myw3LjQ5LTYuNzUsNy40OWgtMy42NnYtMTUuNzloMFpNODQuMDgsMTAxLjU2aDE1Ljk1YzExLjQ3LDAsMTUuNzktNy4zMiwxNS43OS0xNy4wMSwwLTcuNTctMy4wMS0xMS42NC04LjE0LTEzLjkyLDQuODgtMS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2gwWk00MS44Miw5My43MWw3LjA0LTcuMDQtNy4wMy03LjAzdjE0LjA3aDBaTTM0LjMxLDcyLjE2bC0xNS4yMi0xNS4yNiw0LjQxLTQuNDEsMTIuMTMsMTIuMTN2LTI5LjA2bDIyLjA1LDIyLjA1LTE0LjU2LDE0LjU2LDE0LjU2LDE0LjU2LTIyLjA1LDIyLjA1di0yOS4wNmwtMTIuMTMsMTIuMTMtNC40MS00LjQxLDE1LjIyLTE1LjI2aDBaTTM4LjM5LDExNC43M2MxOC41OSwwLDMxLjQtOC44MywzMS40LTQyLjU3cy0xMi44MS00Mi41Ny0zMS40LTM0LjU3UzYuOTgsMzguNDIsNi45OCw3Mi4xNnMxMi44Miw0Mi41NywzMS40MSw0Mi41N2gwWiIvPgogIDwvZz4KPC9zdmc+";
|
|
13
|
-
const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
|
|
14
24
|
const bluetoothSigAssetCredit = "Bluetooth SIG official brand assets: https://www.bluetooth.com/media/";
|
|
15
|
-
const hartmannDuoControlCredit = "HARTMANN official product image: https://www.hartmann.info/en-za/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-duo-control";
|
|
16
|
-
const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
|
|
17
|
-
const hartmannBpu26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-compact-%2C-pl-%2C-upper-arm-blood-pressure-monitor";
|
|
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";
|
|
19
|
-
const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
|
|
20
|
-
const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
|
|
21
25
|
|
|
22
26
|
/**
|
|
23
27
|
* Concrete devices and device families supported by the Bluetooth module.
|
|
@@ -27,34 +31,34 @@ const visomatComfortSoftBtCredit = "visomat official product image: https://www.
|
|
|
27
31
|
* Every entry has an image value. Existing product assets are reused where available, while
|
|
28
32
|
* official manufacturer and standards-organization images cover the remaining entries.
|
|
29
33
|
*/
|
|
30
|
-
|
|
34
|
+
const Devices = [{
|
|
31
35
|
name: "Viatom BP2",
|
|
32
36
|
nameKey: "devices.catalog.viatom-bp2.name",
|
|
33
37
|
manufacturer: "Viatom (Lepu Medical)",
|
|
34
38
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
35
|
-
logo:
|
|
36
|
-
creditsForImage:
|
|
39
|
+
logo: viatomBp2Image,
|
|
40
|
+
creditsForImage: viatomBloodPressureCredit
|
|
37
41
|
}, {
|
|
38
42
|
name: "Viatom F4 / Lescale",
|
|
39
43
|
nameKey: "devices.catalog.viatom-f4-lescale.name",
|
|
40
44
|
manufacturer: "Viatom (Lepu Medical)",
|
|
41
45
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
42
|
-
logo:
|
|
43
|
-
creditsForImage:
|
|
46
|
+
logo: viatomF4Image,
|
|
47
|
+
creditsForImage: viatomBodyScaleCredit
|
|
44
48
|
}, {
|
|
45
49
|
name: "Viatom OxySmart / PC60WF",
|
|
46
50
|
nameKey: "devices.catalog.viatom-oxysmart-pc60wf.name",
|
|
47
51
|
manufacturer: "Viatom (Lepu Medical)",
|
|
48
52
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
49
|
-
logo:
|
|
50
|
-
creditsForImage:
|
|
53
|
+
logo: viatomO2RingImage,
|
|
54
|
+
creditsForImage: viatomOximeterCredit
|
|
51
55
|
}, {
|
|
52
56
|
name: "Contec BC401 / BC01",
|
|
53
57
|
nameKey: "devices.catalog.contec-bc401-bc01.name",
|
|
54
58
|
manufacturer: "Contec Medical Systems",
|
|
55
59
|
manufacturerKey: "devices.catalog.manufacturers.contec",
|
|
56
60
|
logo: deviceImages.bc401DeviceImage,
|
|
57
|
-
creditsForImage:
|
|
61
|
+
creditsForImage: contecCredit
|
|
58
62
|
}, {
|
|
59
63
|
name: "Veroval duo control",
|
|
60
64
|
nameKey: "devices.catalog.veroval-duo-control.name",
|
|
@@ -102,43 +106,43 @@ export const Devices = [{
|
|
|
102
106
|
nameKey: "devices.catalog.aoj-20a.name",
|
|
103
107
|
manufacturer: "AOJ Medical",
|
|
104
108
|
manufacturerKey: "devices.catalog.manufacturers.aoj",
|
|
105
|
-
logo:
|
|
106
|
-
creditsForImage:
|
|
109
|
+
logo: viatomAojImage,
|
|
110
|
+
creditsForImage: aojCredit
|
|
107
111
|
}, {
|
|
108
112
|
name: "Viatom BP2A / BP2T / BP2W",
|
|
109
113
|
nameKey: "devices.catalog.viatom-bp2-family.name",
|
|
110
114
|
manufacturer: "Viatom (Lepu Medical)",
|
|
111
115
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
112
|
-
logo:
|
|
113
|
-
creditsForImage:
|
|
116
|
+
logo: viatomBp2Image,
|
|
117
|
+
creditsForImage: viatomBloodPressureCredit
|
|
114
118
|
}, {
|
|
115
119
|
name: "Viatom BP3 series",
|
|
116
120
|
nameKey: "devices.catalog.viatom-bp3-series.name",
|
|
117
121
|
manufacturer: "Viatom (Lepu Medical)",
|
|
118
122
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
119
|
-
logo:
|
|
120
|
-
creditsForImage:
|
|
123
|
+
logo: viatomBp3Image,
|
|
124
|
+
creditsForImage: viatomBp3Credit
|
|
121
125
|
}, {
|
|
122
126
|
name: "Viatom O2Ring / Oxyfit / KidsO2 / BabyO2",
|
|
123
127
|
nameKey: "devices.catalog.viatom-oximeters.name",
|
|
124
128
|
manufacturer: "Viatom (Lepu Medical)",
|
|
125
129
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
126
|
-
logo:
|
|
127
|
-
creditsForImage:
|
|
130
|
+
logo: viatomO2RingImage,
|
|
131
|
+
creditsForImage: viatomOximeterCredit
|
|
128
132
|
}, {
|
|
129
133
|
name: "Viatom ER1 / ER2 / ER3",
|
|
130
134
|
nameKey: "devices.catalog.viatom-er-family.name",
|
|
131
135
|
manufacturer: "Viatom (Lepu Medical)",
|
|
132
136
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
133
|
-
logo:
|
|
134
|
-
creditsForImage:
|
|
137
|
+
logo: viatomEr1Image,
|
|
138
|
+
creditsForImage: viatomEcgCredit
|
|
135
139
|
}, {
|
|
136
140
|
name: "Viatom Lepod / LepodPro",
|
|
137
141
|
nameKey: "devices.catalog.viatom-lepod-family.name",
|
|
138
142
|
manufacturer: "Viatom (Lepu Medical)",
|
|
139
143
|
manufacturerKey: "devices.catalog.manufacturers.viatom",
|
|
140
|
-
logo:
|
|
141
|
-
creditsForImage:
|
|
144
|
+
logo: viatomEr1Image,
|
|
145
|
+
creditsForImage: viatomEcgCredit
|
|
142
146
|
}, {
|
|
143
147
|
name: "Bluetooth SIG blood-pressure devices",
|
|
144
148
|
nameKey: "devices.catalog.bluetooth-sig.blood-pressure.name",
|
|
@@ -174,5 +178,157 @@ export const Devices = [{
|
|
|
174
178
|
manufacturerKey: "devices.catalog.manufacturers.any-compliant",
|
|
175
179
|
logo: bluetoothSigLogo,
|
|
176
180
|
creditsForImage: bluetoothSigAssetCredit
|
|
177
|
-
}];
|
|
181
|
+
}, ...additionalSupportedDevices];
|
|
182
|
+
const customId = name => `catalog-${name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")}`;
|
|
183
|
+
const definitionsFor = name => {
|
|
184
|
+
if (name === "Viatom BP2") {
|
|
185
|
+
return {
|
|
186
|
+
acceptedDevices: [IntegratedDevices.BP2],
|
|
187
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
if (name.includes("BP2A") || name.includes("BP2T") || name.includes("BP2W")) {
|
|
191
|
+
return {
|
|
192
|
+
acceptedDevices: ["BP2A", "BP2T", "BP2W"].map(model => viatomBpMonitor(model, {})),
|
|
193
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
if (name === "Viatom BP3 series" || /^BP3/i.test(name)) {
|
|
197
|
+
return {
|
|
198
|
+
acceptedDevices: [viatomBpMonitor(name.replace(" series", ""), {})],
|
|
199
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
if (name.includes("ER1")) {
|
|
203
|
+
return {
|
|
204
|
+
acceptedDevices: [er1Recorder(name.split(" /")[0], {})],
|
|
205
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
if (name.includes("ER2")) {
|
|
209
|
+
return {
|
|
210
|
+
acceptedDevices: [er2Recorder(name.split(" /")[0], {})],
|
|
211
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
if (name.includes("ER3")) {
|
|
215
|
+
return {
|
|
216
|
+
acceptedDevices: [er3Recorder(name.split(" /")[0], {})],
|
|
217
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg]
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
if (name === "Viatom Lepod / LepodPro") {
|
|
221
|
+
return {
|
|
222
|
+
acceptedDevices: [lepodMonitor("Lepod", {})],
|
|
223
|
+
measurementTypes: [MeasurementTypeKey.heartRate, MeasurementTypeKey.ecg, MeasurementTypeKey.bloodOxygenPulseRate, MeasurementTypeKey.respiratoryRate, MeasurementTypeKey.temperature]
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
if (name === "Veroval compact+ BPU26") {
|
|
227
|
+
return {
|
|
228
|
+
acceptedDevices: [bpu26Monitor({})],
|
|
229
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
if (name === "Veroval compact+ BPW26") {
|
|
233
|
+
return {
|
|
234
|
+
acceptedDevices: [bpw26Monitor({})],
|
|
235
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
if (name === "boso medicus system") {
|
|
239
|
+
return {
|
|
240
|
+
acceptedDevices: [bosoMedicusMonitor({})],
|
|
241
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
if (name === "visomat comfort soft BT") {
|
|
245
|
+
return {
|
|
246
|
+
acceptedDevices: [visomatComfortSoftBtMonitor({})],
|
|
247
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
if (name === "AOJ-20A") {
|
|
251
|
+
return {
|
|
252
|
+
acceptedDevices: [aoj20aThermometer({})],
|
|
253
|
+
measurementTypes: [MeasurementTypeKey.temperature]
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
if (name.includes("O2Ring") || name.includes("Oxyfit") || name.includes("KidsO2") || name.includes("BabyO2")) {
|
|
257
|
+
return {
|
|
258
|
+
acceptedDevices: [viatomOximeter(name.split(" /")[0], {})],
|
|
259
|
+
measurementTypes: [MeasurementTypeKey.bloodOxygenPulseRate]
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
if (name.includes("blood-pressure")) {
|
|
263
|
+
return {
|
|
264
|
+
acceptedDevices: [standardBloodPressureDevice({})],
|
|
265
|
+
measurementTypes: [MeasurementTypeKey.bloodPressure]
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
if (name.includes("thermometers")) {
|
|
269
|
+
return {
|
|
270
|
+
acceptedDevices: [standardThermometerDevice({})],
|
|
271
|
+
measurementTypes: [MeasurementTypeKey.temperature]
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
if (name.includes("weight scales")) {
|
|
275
|
+
return {
|
|
276
|
+
acceptedDevices: [standardWeightScaleDevice({})],
|
|
277
|
+
measurementTypes: [MeasurementTypeKey.bodyWeight]
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
if (name.includes("pulse oximeters")) {
|
|
281
|
+
return {
|
|
282
|
+
acceptedDevices: [standardPulseOximeterDevice({})],
|
|
283
|
+
measurementTypes: [MeasurementTypeKey.bloodOxygenPulseRate]
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
if (name.includes("heart-rate")) {
|
|
287
|
+
return {
|
|
288
|
+
acceptedDevices: [standardHeartRateDevice({})],
|
|
289
|
+
measurementTypes: [MeasurementTypeKey.heartRate]
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
const builtIn = {
|
|
293
|
+
"Viatom F4 / Lescale": IntegratedDevices.F4,
|
|
294
|
+
"Viatom OxySmart / PC60WF": IntegratedDevices.PC60WF,
|
|
295
|
+
"Contec BC401 / BC01": IntegratedDevices.BC01,
|
|
296
|
+
"TaiDoc TD4216": IntegratedDevices.TAIDOC_GLUCOSE,
|
|
297
|
+
"GlucoCheck Gold": IntegratedDevices.GLUCOCHECK,
|
|
298
|
+
"TeleBGM Gen1 BLE": IntegratedDevices.BGM,
|
|
299
|
+
"Veroval duo control": IntegratedDevices.VEROVAL_DUO_CONTROL,
|
|
300
|
+
"Veroval ECG": IntegratedDevices.VEROVAL_ECG
|
|
301
|
+
};
|
|
302
|
+
const integrated = builtIn[name];
|
|
303
|
+
const measurementTypes = {
|
|
304
|
+
[IntegratedDevices.F4]: [MeasurementTypeKey.bodyWeight],
|
|
305
|
+
[IntegratedDevices.PC60WF]: [MeasurementTypeKey.bloodOxygenPulseRate],
|
|
306
|
+
[IntegratedDevices.BC01]: [MeasurementTypeKey.uricAcid],
|
|
307
|
+
[IntegratedDevices.TAIDOC_GLUCOSE]: [MeasurementTypeKey.bloodGlucose],
|
|
308
|
+
[IntegratedDevices.GLUCOCHECK]: [MeasurementTypeKey.bloodGlucose],
|
|
309
|
+
[IntegratedDevices.BGM]: [MeasurementTypeKey.bloodGlucose],
|
|
310
|
+
[IntegratedDevices.VEROVAL_DUO_CONTROL]: [MeasurementTypeKey.bloodPressure],
|
|
311
|
+
[IntegratedDevices.VEROVAL_ECG]: [MeasurementTypeKey.ecg]
|
|
312
|
+
};
|
|
313
|
+
return integrated ? {
|
|
314
|
+
acceptedDevices: [integrated],
|
|
315
|
+
measurementTypes: measurementTypes[integrated] ?? [],
|
|
316
|
+
manualUrl: DEVICE_INSTRUCTION_PDFS[integrated] || undefined
|
|
317
|
+
} : {
|
|
318
|
+
acceptedDevices: [],
|
|
319
|
+
measurementTypes: []
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/** One joined catalog for apps that need names, artwork and ready-made accept-list entries. */
|
|
324
|
+
const supportedDevices = Devices.map(device => {
|
|
325
|
+
const definitions = definitionsFor(device.name);
|
|
326
|
+
return {
|
|
327
|
+
...device,
|
|
328
|
+
id: customId(device.name),
|
|
329
|
+
...definitions
|
|
330
|
+
};
|
|
331
|
+
});
|
|
332
|
+
const SUPPORTED_DEVICES = supportedDevices;
|
|
333
|
+
export { Devices, SUPPORTED_DEVICES, supportedDevices };
|
|
178
334
|
//# sourceMappingURL=supported-devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["deviceImages","verovalDuoControlImage","verovalEcgImage","verovalBpu26Image","verovalBpw26Image","bosoMedicusSystemImage","visomatComfortSoftBtImage","bluetoothSigLogo","bundledAssetCredit","bluetoothSigAssetCredit","hartmannDuoControlCredit","hartmannEcgCredit","hartmannBpu26Credit","hartmannBpw26Credit","bosoMedicusSystemCredit","visomatComfortSoftBtCredit","Devices","name","nameKey","manufacturer","manufacturerKey","logo","viatomWellueArmfitDeviceImage","creditsForImage","viatomScaleDeviceImage","viatomWellueOxySmartDeviceImage","bc401DeviceImage","aoj20aDeviceImage","viatomDeviceSmallImage","viatomWellueOxyfitDeviceImage","viatomEcgButtonDeviceImage"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,oBAAiB;AAW9C,MAAMC,sBAAsB,GAC1B,sIAAsI;AAExI,MAAMC,eAAe,GACnB,sIAAsI;AAExI,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,iBAAiB,GAAG,gDAAgD;AAE1E,MAAMC,sBAAsB,GAC1B,sFAAsF;AAExF,MAAMC,yBAAyB,GAC7B,kFAAkF;;AAEpF;AACA,MAAMC,gBAAgB,GACpB,o3IAAo3I;AAEt3I,MAAMC,kBAAkB,GACtB,uFAAuF;AAEzF,MAAMC,uBAAuB,GAC3B,uEAAuE;AAEzE,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,OAAO,GAAG,CACrB;EACEC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE,iCAAiC;EAC1CC,YAAY,EAAE,uBAAuB;EACrCC,eAAe,EAAE,sCAAsC;EACvDC,IAAI,EAAErB,YAAY,CAACsB,6BAA6B;EAChDC,eAAe,EAAEf;AACnB,CAAC,EACD;EACES,IAAI,EAAE,qBAAqB;EAC3BC,OAAO,EAAE,wCAAwC;EACjDC,YAAY,EAAE,uBAAuB;EACrCC,eAAe,EAAE,sCAAsC;EACvDC,IAAI,EAAErB,YAAY,CAACwB,sBAAsB;EAC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0CAA0C;EACnDC,YAAY,EAAE,uBAAuB;EACrCC,eAAe,EAAE,sCAAsC;EACvDC,IAAI,EAAErB,YAAY,CAAC4B,sBAAsB;EACzCL,eAAe,EAAEf;AACnB,CAAC,EACD;EACES,IAAI,EAAE,sCAAsC;EAC5CC,OAAO,EAAE,mDAAmD;EAC5DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEd,gBAAgB;EACtBgB,eAAe,EAAEd;AACnB,CAAC,EACD;EACEQ,IAAI,EAAE,4BAA4B;EAClCC,OAAO,EAAE,iDAAiD;EAC1DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEd,gBAAgB;EACtBgB,eAAe,EAAEd;AACnB,CAAC,EACD;EACEQ,IAAI,EAAE,6BAA6B;EACnCC,OAAO,EAAE,kDAAkD;EAC3DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEd,gBAAgB;EACtBgB,eAAe,EAAEd;AACnB,CAAC,EACD;EACEQ,IAAI,EAAE,+BAA+B;EACrCC,OAAO,EAAE,oDAAoD;EAC7DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEd,gBAAgB;EACtBgB,eAAe,EAAEd;AACnB,CAAC,EACD;EACEQ,IAAI,EAAE,mCAAmC;EACzCC,OAAO,EAAE,+CAA+C;EACxDC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEd,gBAAgB;EACtBgB,eAAe,EAAEd;AACnB,CAAC,CAC4C","ignoreList":[]}
|
|
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,WA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AACtD,iBAAiB,CAAC6D,IAAI,GAAG,CAAC9E,kBAAkB,CAACqF,QAAQ,CAAC;IACvD,CAACpE,iBAAiB,CAAC8D,cAAc,GAAG,CAAC/E,kBAAkB,CAACsF,YAAY,CAAC;IACrE,CAACrE,iBAAiB,CAAC+D,UAAU,GAAG,CAAChF,kBAAkB,CAACsF,YAAY,CAAC;IACjE,CAACrE,iBAAiB,CAACgE,GAAG,GAAG,CAACjF,kBAAkB,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":[]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { FlatList, Modal, Pressable, SafeAreaView, StyleSheet, Text, View } from "react-native";
|
|
4
|
+
import { useAppTheme } from "../../theme/index.js";
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
/** A small theme-aware picker for BTManager's multi-device auto-connect callback. */
|
|
7
|
+
export const BluetoothDevicePicker = ({
|
|
8
|
+
devices,
|
|
9
|
+
visible,
|
|
10
|
+
title = "Choose a device",
|
|
11
|
+
onSelect,
|
|
12
|
+
onDismiss
|
|
13
|
+
}) => {
|
|
14
|
+
const theme = useAppTheme();
|
|
15
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
16
|
+
visible: visible,
|
|
17
|
+
transparent: true,
|
|
18
|
+
animationType: "slide",
|
|
19
|
+
onRequestClose: onDismiss,
|
|
20
|
+
children: /*#__PURE__*/_jsx(SafeAreaView, {
|
|
21
|
+
style: styles.overlay,
|
|
22
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
23
|
+
style: [styles.card, {
|
|
24
|
+
backgroundColor: theme.colors.background
|
|
25
|
+
}],
|
|
26
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
27
|
+
style: [styles.title, {
|
|
28
|
+
color: theme.colors.onBackground
|
|
29
|
+
}],
|
|
30
|
+
children: title
|
|
31
|
+
}), /*#__PURE__*/_jsx(FlatList, {
|
|
32
|
+
data: devices,
|
|
33
|
+
keyExtractor: device => device.id,
|
|
34
|
+
renderItem: ({
|
|
35
|
+
item
|
|
36
|
+
}) => {
|
|
37
|
+
const name = item.device.localName || item.device.name || String(item.deviceData.name);
|
|
38
|
+
return /*#__PURE__*/_jsx(Pressable, {
|
|
39
|
+
accessibilityRole: "button",
|
|
40
|
+
onPress: () => onSelect(item),
|
|
41
|
+
style: ({
|
|
42
|
+
pressed
|
|
43
|
+
}) => [styles.row, pressed && styles.pressed],
|
|
44
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
45
|
+
style: {
|
|
46
|
+
color: theme.colors.onBackground
|
|
47
|
+
},
|
|
48
|
+
children: name
|
|
49
|
+
})
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
})]
|
|
53
|
+
})
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
const styles = StyleSheet.create({
|
|
58
|
+
overlay: {
|
|
59
|
+
flex: 1,
|
|
60
|
+
justifyContent: "flex-end",
|
|
61
|
+
backgroundColor: "#0008"
|
|
62
|
+
},
|
|
63
|
+
card: {
|
|
64
|
+
maxHeight: "70%",
|
|
65
|
+
padding: 20,
|
|
66
|
+
borderTopLeftRadius: 18,
|
|
67
|
+
borderTopRightRadius: 18
|
|
68
|
+
},
|
|
69
|
+
title: {
|
|
70
|
+
fontSize: 18,
|
|
71
|
+
fontWeight: "700",
|
|
72
|
+
marginBottom: 12
|
|
73
|
+
},
|
|
74
|
+
row: {
|
|
75
|
+
paddingVertical: 16,
|
|
76
|
+
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
77
|
+
borderBottomColor: "#8888"
|
|
78
|
+
},
|
|
79
|
+
pressed: {
|
|
80
|
+
opacity: 0.6
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
//# sourceMappingURL=bluetooth-device-picker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FlatList","Modal","Pressable","SafeAreaView","StyleSheet","Text","View","useAppTheme","jsx","_jsx","jsxs","_jsxs","BluetoothDevicePicker","devices","visible","title","onSelect","onDismiss","theme","transparent","animationType","onRequestClose","children","style","styles","overlay","card","backgroundColor","colors","background","color","onBackground","data","keyExtractor","device","id","renderItem","item","name","localName","String","deviceData","accessibilityRole","onPress","pressed","row","create","flex","justifyContent","maxHeight","padding","borderTopLeftRadius","borderTopRightRadius","fontSize","fontWeight","marginBottom","paddingVertical","borderBottomWidth","hairlineWidth","borderBottomColor","opacity"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/components/bluetooth-device-picker.tsx"],"mappings":";;AAAA,SACEA,QAAQ,EACRC,KAAK,EACLC,SAAS,EACTC,Y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AAQ;cAC1BC,OAAO,EAAEA,CAAA,KAAM3B,QAAQ,CAACqB,IAAI,CAAE;cAC9Bd,KAAK,EAAEA,CAAC;gBAAEqB;cAAQ,CAAC,KAAK,CAACpB,MAAM,CAACqB,GAAG,EAAED,OAAO,IAAIpB,MAAM,CAACoB,OAAO,CAAE;cAAAtB,QAAA,eAEhEb,IAAA,CAACJ,IAAI;gBAACkB,KAAK,EAAE;kBAAEO,KAAK,EAAEZ,KAAK,CAACU,MAAM,CAACG;gBAAa,CAAE;gBAAAT,QAAA,EAAEgB;cAAI,CAAO;YAAC,CACvD,CAAC;UAEhB;QAAE,CACH,CAAC;MAAA,CACE;IAAC,CACK;EAAC,CACV,CAAC;AAEZ,CAAC;AAED,MAAMd,MAAM,GAAGpB,UAAU,CAAC0C,MAAM,CAAC;EAC/BrB,OAAO,EAAE;IAAEsB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE,UAAU;IAAErB,eAAe,EAAE;EAAQ,CAAC;EAC1ED,IAAI,EAAE;IAAEuB,SAAS,EAAE,KAAK;IAAEC,OAAO,EAAE,EAAE;IAAEC,mBAAmB,EAAE,EAAE;IAAEC,oBAAoB,EAAE;EAAG,CAAC;EAC1FrC,KAAK,EAAE;IAAEsC,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEC,YAAY,EAAE;EAAG,CAAC;EAC5DV,GAAG,EAAE;IAAEW,eAAe,EAAE,EAAE;IAAEC,iBAAiB,EAAErD,UAAU,CAACsD,aAAa;IAAEC,iBAAiB,EAAE;EAAQ,CAAC;EACrGf,OAAO,EAAE;IAAEgB,OAAO,EAAE;EAAI;AAC1B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -4,6 +4,9 @@ import * as React from "react";
|
|
|
4
4
|
import { AppState } from "react-native";
|
|
5
5
|
import { useDeviceList } from "../../bt-device/components/hooks/use-device-list.js";
|
|
6
6
|
import { sentryLogger } from "../../helpers/utils/sentry-logger.js";
|
|
7
|
+
import { getRestoredBleState } from "../services/background-sync/background-ble-manager.js";
|
|
8
|
+
import { getBackgroundServiceUUIDs } from "../services/background-sync/background-service-uuids.js";
|
|
9
|
+
import { BackgroundSyncCoordinator } from "../services/background-sync/background-sync-coordinator.js";
|
|
7
10
|
import { BTManager } from "../services/bt-manager.js";
|
|
8
11
|
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
9
12
|
export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
@@ -13,25 +16,50 @@ export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
|
13
16
|
onDeviceFound,
|
|
14
17
|
onError,
|
|
15
18
|
onDeviceStatusChanged,
|
|
16
|
-
onResult
|
|
19
|
+
onResult,
|
|
20
|
+
backgroundSync
|
|
17
21
|
}) => {
|
|
18
22
|
const btManagerRef = React.useRef(null);
|
|
23
|
+
const backgroundSyncRef = React.useRef(backgroundSync);
|
|
24
|
+
const backgroundSyncCoordinatorRef = React.useRef(null);
|
|
19
25
|
const {
|
|
20
26
|
setDeviceListItems
|
|
21
27
|
} = useDeviceList();
|
|
28
|
+
backgroundSyncRef.current = backgroundSync;
|
|
22
29
|
React.useEffect(() => {
|
|
23
30
|
if (!acceptedDevices.length) {
|
|
24
31
|
return;
|
|
25
32
|
}
|
|
26
33
|
sentryLogger("info", "Creating BTManager");
|
|
27
|
-
const
|
|
34
|
+
const currentBackgroundSync = backgroundSyncRef.current;
|
|
35
|
+
const isBackgroundEnabled = currentBackgroundSync?.enabled === true;
|
|
36
|
+
const backgroundOptions = isBackgroundEnabled ? {
|
|
37
|
+
backgroundEnabled: true,
|
|
38
|
+
serviceUUIDs: getBackgroundServiceUUIDs(acceptedDevices, currentBackgroundSync.serviceUUIDs)
|
|
39
|
+
} : undefined;
|
|
40
|
+
const btManager = backgroundOptions ? new BTManager(bleManager, acceptedDevices, backgroundOptions) : new BTManager(bleManager, acceptedDevices);
|
|
41
|
+
const coordinator = isBackgroundEnabled && currentBackgroundSync ? new BackgroundSyncCoordinator({
|
|
42
|
+
...currentBackgroundSync,
|
|
43
|
+
enabled: true,
|
|
44
|
+
onResult: async result => {
|
|
45
|
+
const latest = backgroundSyncRef.current;
|
|
46
|
+
if (!latest?.enabled) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
await latest.onResult(result);
|
|
50
|
+
}
|
|
51
|
+
}) : null;
|
|
28
52
|
btManagerRef.current = btManager;
|
|
53
|
+
backgroundSyncCoordinatorRef.current = coordinator;
|
|
54
|
+
btManager.setBackgroundScanEnabled(isBackgroundEnabled && AppState.currentState !== "active");
|
|
29
55
|
btManager.startScan();
|
|
30
56
|
return () => {
|
|
31
57
|
sentryLogger("info", "Destroying scan service");
|
|
58
|
+
backgroundSyncCoordinatorRef.current = null;
|
|
59
|
+
btManagerRef.current = null;
|
|
32
60
|
btManager.destroy();
|
|
33
61
|
};
|
|
34
|
-
}, [acceptedDevices, bleManager]);
|
|
62
|
+
}, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.maxRetries, backgroundSync?.retryBackoffMs, backgroundSync?.serviceUUIDs, backgroundSync?.storage, backgroundSync?.storageKey, bleManager]);
|
|
35
63
|
React.useEffect(() => {
|
|
36
64
|
if (!onDeviceFound || !acceptedDevices.length) {
|
|
37
65
|
return;
|
|
@@ -51,14 +79,28 @@ export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
|
51
79
|
};
|
|
52
80
|
}, [onError, acceptedDevices]);
|
|
53
81
|
React.useEffect(() => {
|
|
54
|
-
if (!
|
|
82
|
+
if (!acceptedDevices.length) {
|
|
55
83
|
return;
|
|
56
84
|
}
|
|
57
|
-
|
|
85
|
+
const callback = backgroundSync?.enabled === true ? data => {
|
|
86
|
+
onResult?.(data);
|
|
87
|
+
const coordinator = backgroundSyncCoordinatorRef.current;
|
|
88
|
+
if (coordinator) {
|
|
89
|
+
void coordinator.enqueue(data).catch(error => {
|
|
90
|
+
onError?.({
|
|
91
|
+
error: error instanceof Error ? error : String(error)
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
} : onResult;
|
|
96
|
+
if (!callback) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
btManagerRef.current?.onResult(callback);
|
|
58
100
|
return () => {
|
|
59
101
|
btManagerRef.current?.onResult(undefined);
|
|
60
102
|
};
|
|
61
|
-
}, [onResult, acceptedDevices]);
|
|
103
|
+
}, [backgroundSync?.enabled, onError, onResult, acceptedDevices]);
|
|
62
104
|
React.useEffect(() => {
|
|
63
105
|
if (!onDeviceStatusChanged || !acceptedDevices.length) {
|
|
64
106
|
return;
|
|
@@ -90,17 +132,42 @@ export const BTProviderChildWrapper = /*#__PURE__*/React.memo(({
|
|
|
90
132
|
btManagerRef.current?.onDeviceStatusChanged(undefined);
|
|
91
133
|
};
|
|
92
134
|
}, [onDeviceStatusChanged, acceptedDevices, setDeviceListItems]);
|
|
135
|
+
React.useEffect(() => {
|
|
136
|
+
if (!acceptedDevices.length || backgroundSync?.enabled !== true) {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const restoredState = getRestoredBleState(backgroundSync.restoreStateIdentifier);
|
|
140
|
+
if (restoredState?.connectedPeripherals.length) {
|
|
141
|
+
btManagerRef.current?.restoreDevices(restoredState.connectedPeripherals);
|
|
142
|
+
}
|
|
143
|
+
void backgroundSyncCoordinatorRef.current?.flush({
|
|
144
|
+
includeExhausted: true,
|
|
145
|
+
resetExhausted: true
|
|
146
|
+
}).catch(error => {
|
|
147
|
+
onError?.({
|
|
148
|
+
error: error instanceof Error ? error : String(error)
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
}, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.restoreStateIdentifier, onError]);
|
|
93
152
|
React.useEffect(() => {
|
|
94
153
|
const listener = AppState.addEventListener("change", state => {
|
|
95
|
-
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
154
|
+
btManagerRef.current?.setBackgroundScanEnabled(backgroundSyncRef.current?.enabled === true && state !== "active");
|
|
98
155
|
btManagerRef.current?.startScan();
|
|
156
|
+
if (state === "active") {
|
|
157
|
+
void backgroundSyncCoordinatorRef.current?.flush({
|
|
158
|
+
includeExhausted: true,
|
|
159
|
+
resetExhausted: true
|
|
160
|
+
}).catch(error => {
|
|
161
|
+
onError?.({
|
|
162
|
+
error: error instanceof Error ? error : String(error)
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
}
|
|
99
166
|
});
|
|
100
167
|
return () => {
|
|
101
168
|
listener.remove();
|
|
102
169
|
};
|
|
103
|
-
}, []);
|
|
170
|
+
}, [onError]);
|
|
104
171
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
105
172
|
children: children
|
|
106
173
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","AppState","useDeviceList","sentryLogger","BTManager","Fragment","_Fragment","jsx","_jsx","BTProviderChildWrapper","memo","bleManager","acceptedDevices","children","onDeviceFound","onError","onDeviceStatusChanged","onResult","btManagerRef","useRef","setDeviceListItems","useEffect","length","btManager","
|
|
1
|
+
{"version":3,"names":["React","AppState","useDeviceList","sentryLogger","getRestoredBleState","getBackgroundServiceUUIDs","BackgroundSyncCoordinator","BTManager","Fragment","_Fragment","jsx","_jsx","BTProviderChildWrapper","memo","bleManager","acceptedDevices","children","onDeviceFound","onError","onDeviceStatusChanged","onResult","backgroundSync","btManagerRef","useRef","backgroundSyncRef","backgroundSyncCoordinatorRef","setDeviceListItems","current","useEffect","length","currentBackgroundSync","isBackgroundEnabled","enabled","backgroundOptions","backgroundEnabled","serviceUUIDs","undefined","btManager","coordinator","result","latest","setBackgroundScanEnabled","currentState","startScan","destroy","maxRetries","retryBackoffMs","storage","storageKey","callback","data","enqueue","catch","error","Error","String","status","deviceData","measurementTypeKey","prev","newList","index","findIndex","item","deviceType","name","restoredState","restoreStateIdentifier","connectedPeripherals","restoreDevices","flush","includeExhausted","resetExhausted","listener","addEventListener","state","remove"],"sourceRo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GD,KAAK,GAAGE,MAAM,CAACF,KAAK;UACtD,CAAC,CAAC;QACJ,CAAC,CAAC;MACJ;IACF,CAAC,CAAC;IAEF,OAAO,MAAM;MACXoB,QAAQ,CAACG,MAAM,CAAC,CAAC;IACnB,CAAC;EACH,CAAC,EAAE,CAAC1D,OAAO,CAAC,CAAC;EAEb,oBAAOP,IAAA,CAAAF,SAAA;IAAAO,QAAA,EAAGA;EAAQ,CAAG,CAAC;AACxB,CACF,CAEsB","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { IntegratedDevices } from "../types/integrated-devices.js";
|
|
4
|
-
export const integratedDevicesMap = new Map([[/^BP2 \d{4}$/, IntegratedDevices.BP2], [/^F4$/, IntegratedDevices.F4], [/^Oxyfit \d{4}$/, IntegratedDevices.SPO2], [/^OxySmart \d{4}$/, IntegratedDevices.PC60WF], [/^AOJ-20A$/, IntegratedDevices.AOJ20A], [/^TAIDOC TD4216(?: \w+)?$/, IntegratedDevices.TAIDOC_GLUCOSE], [/^GlucoCheck Gold$/, IntegratedDevices.GLUCOCHECK], [/^FORA IR20$/, IntegratedDevices.FORATEMP], [/^TEMP$/, IntegratedDevices.ANDESFITTEMP], [/^two$/, IntegratedDevices.COSINUSS], [/^cmed$/, IntegratedDevices.CMED], [/^BC01\d{4}
|
|
4
|
+
export const integratedDevicesMap = new Map([[/^BP2 \d{4}$/, IntegratedDevices.BP2], [/^F4$/, IntegratedDevices.F4], [/^Oxyfit \d{4}$/, IntegratedDevices.SPO2], [/^OxySmart \d{4}$/, IntegratedDevices.PC60WF], [/^AOJ-20A$/, IntegratedDevices.AOJ20A], [/^TAIDOC TD4216(?: \w+)?$/, IntegratedDevices.TAIDOC_GLUCOSE], [/^GlucoCheck Gold$/, IntegratedDevices.GLUCOCHECK], [/^FORA IR20$/, IntegratedDevices.FORATEMP], [/^TEMP$/, IntegratedDevices.ANDESFITTEMP], [/^two$/, IntegratedDevices.COSINUSS], [/^cmed$/, IntegratedDevices.CMED], [/^(?:BC01\d{4}|BC401BT)$/i, IntegratedDevices.BC01], [/^FORA W550$/, IntegratedDevices.FORA_SCALE], [/^GBS-2012-B$/, IntegratedDevices.RPM_SCALE], [/^TAIDOC TD1107$/, IntegratedDevices.CLEVERTEMP], [/^PULMO80BEXPGC\d{6}$/, IntegratedDevices.SP80B], [/^Le S5$/, IntegratedDevices.S5], [/^TeleBGM Gen1 BLE$/, IntegratedDevices.BGM], [/^Veroval duo control$/i, IntegratedDevices.VEROVAL_DUO_CONTROL], [/^Veroval ECG$/i, IntegratedDevices.VEROVAL_ECG]]);
|
|
5
5
|
//# sourceMappingURL=integrated-devices-map.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","integratedDevicesMap","Map","BP2","F4","SPO2","PC60WF","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","FORATEMP","ANDESFITTEMP","COSINUSS","CMED","BC01","FORA_SCALE","RPM_SCALE","CLEVERTEMP","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/constants/integrated-devices-map.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,gCAA6B;AAE/D,OAAO,MAAMC,oBAAoB,GAAG,IAAIC,GAAG,CAA4B,CACrE,CAAC,aAAa,EAAEF,iBAAiB,CAACG,GAAG,CAAC,EACtC,CAAC,MAAM,EAAEH,iBAAiB,CAACI,EAAE,CAAC,EAC9B,CAAC,gBAAgB,EAAEJ,iBAAiB,CAACK,IAAI,CAAC,EAC1C,CAAC,kBAAkB,EAAEL,iBAAiB,CAACM,MAAM,CAAC,EAC9C,CAAC,WAAW,EAAEN,iBAAiB,CAACO,MAAM,CAAC,EACvC,CAAC,0BAA0B,EAAEP,iBAAiB,CAACQ,cAAc,CAAC,EAC9D,CAAC,mBAAmB,EAAER,iBAAiB,CAACS,UAAU,CAAC,EACnD,CAAC,aAAa,EAAET,iBAAiB,CAACU,QAAQ,CAAC,EAC3C,CAAC,QAAQ,EAAEV,iBAAiB,CAACW,YAAY,CAAC,EAC1C,CAAC,OAAO,EAAEX,iBAAiB,CAACY,QAAQ,CAAC,EACrC,CAAC,QAAQ,EAAEZ,iBAAiB,CAACa,IAAI,CAAC,EAClC,CAAC,
|
|
1
|
+
{"version":3,"names":["IntegratedDevices","integratedDevicesMap","Map","BP2","F4","SPO2","PC60WF","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","FORATEMP","ANDESFITTEMP","COSINUSS","CMED","BC01","FORA_SCALE","RPM_SCALE","CLEVERTEMP","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/constants/integrated-devices-map.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,gCAA6B;AAE/D,OAAO,MAAMC,oBAAoB,GAAG,IAAIC,GAAG,CAA4B,CACrE,CAAC,aAAa,EAAEF,iBAAiB,CAACG,GAAG,CAAC,EACtC,CAAC,MAAM,EAAEH,iBAAiB,CAACI,EAAE,CAAC,EAC9B,CAAC,gBAAgB,EAAEJ,iBAAiB,CAACK,IAAI,CAAC,EAC1C,CAAC,kBAAkB,EAAEL,iBAAiB,CAACM,MAAM,CAAC,EAC9C,CAAC,WAAW,EAAEN,iBAAiB,CAACO,MAAM,CAAC,EACvC,CAAC,0BAA0B,EAAEP,iBAAiB,CAACQ,cAAc,CAAC,EAC9D,CAAC,mBAAmB,EAAER,iBAAiB,CAACS,UAAU,CAAC,EACnD,CAAC,aAAa,EAAET,iBAAiB,CAACU,QAAQ,CAAC,EAC3C,CAAC,QAAQ,EAAEV,iBAAiB,CAACW,YAAY,CAAC,EAC1C,CAAC,OAAO,EAAEX,iBAAiB,CAACY,QAAQ,CAAC,EACrC,CAAC,QAAQ,EAAEZ,iBAAiB,CAACa,IAAI,CAAC,EAClC,CAAC,0BAA0B,EAAEb,iBA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