@ovok/native 1.10.10 → 1.10.12
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/bt-device/constants/device-instruction-pdfs.js +20 -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-and-medical-variants.js +47 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +119 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js +6 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +173 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js +107 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +10 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +113 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +5 -37
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/and-medical-device-variants.js +39 -0
- package/lib/commonjs/modules/bt-management/constants/and-medical-device-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +86 -0
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -0
- package/lib/commonjs/modules/bt-management/constants/cofoe-device-variants.js +101 -0
- package/lib/commonjs/modules/bt-management/constants/cofoe-device-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-management/constants/device-variants.js +6 -1
- package/lib/commonjs/modules/bt-management/constants/device-variants.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/standard-device-variants.js +5 -0
- package/lib/commonjs/modules/bt-management/constants/standard-device-variants.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/taidoc-device-variants.js +144 -0
- package/lib/commonjs/modules/bt-management/constants/taidoc-device-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-management/constants/transtek-a6-device-variants.js +89 -0
- package/lib/commonjs/modules/bt-management/constants/transtek-a6-device-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-management/constants/yonker-device-variants.js +93 -0
- package/lib/commonjs/modules/bt-management/constants/yonker-device-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-management/core/resolve-device-key.js +6 -0
- package/lib/commonjs/modules/bt-management/core/resolve-device-key.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +18 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/device-classes.js +27 -1
- package/lib/commonjs/modules/bt-management/services/device-classes.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/device-creator.js +5 -3
- package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +61 -0
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +113 -0
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +77 -0
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +7 -25
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js +3 -2
- package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +7 -2
- package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +86 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +155 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +33 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +87 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +185 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +86 -0
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +10 -6
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +127 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +181 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js +139 -0
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.measurements.js +78 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.measurements.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +134 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +102 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js +51 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.measurements.js +48 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.measurements.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js +181 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +73 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +90 -0
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +202 -0
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +137 -0
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/types/clock-sync.js +2 -0
- package/lib/commonjs/modules/bt-management/types/clock-sync.js.map +1 -1
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js +19 -0
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +20 -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-and-medical-variants.js +45 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +117 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js +6 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +171 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js +105 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +10 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +111 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-devices.js +5 -37
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/constants/and-medical-device-variants.js +37 -0
- package/lib/module/modules/bt-management/constants/and-medical-device-variants.js.map +1 -0
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +84 -0
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -0
- package/lib/module/modules/bt-management/constants/cofoe-device-variants.js +99 -0
- package/lib/module/modules/bt-management/constants/cofoe-device-variants.js.map +1 -0
- package/lib/module/modules/bt-management/constants/device-variants.js +6 -1
- package/lib/module/modules/bt-management/constants/device-variants.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/standard-device-variants.js +5 -0
- package/lib/module/modules/bt-management/constants/standard-device-variants.js.map +1 -1
- package/lib/module/modules/bt-management/constants/taidoc-device-variants.js +142 -0
- package/lib/module/modules/bt-management/constants/taidoc-device-variants.js.map +1 -0
- package/lib/module/modules/bt-management/constants/transtek-a6-device-variants.js +87 -0
- package/lib/module/modules/bt-management/constants/transtek-a6-device-variants.js.map +1 -0
- package/lib/module/modules/bt-management/constants/yonker-device-variants.js +91 -0
- package/lib/module/modules/bt-management/constants/yonker-device-variants.js.map +1 -0
- package/lib/module/modules/bt-management/core/resolve-device-key.js +6 -0
- package/lib/module/modules/bt-management/core/resolve-device-key.js.map +1 -1
- package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +18 -0
- package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
- package/lib/module/modules/bt-management/services/device-classes.js +27 -1
- package/lib/module/modules/bt-management/services/device-classes.js.map +1 -1
- package/lib/module/modules/bt-management/services/device-creator.js +5 -3
- package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +57 -0
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +106 -0
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +74 -0
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +2 -2
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +6 -24
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-data-processor.js +3 -2
- package/lib/module/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +7 -2
- package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +82 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +148 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +30 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +83 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +173 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +78 -0
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +2 -2
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +10 -6
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +46 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +114 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +168 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js +136 -0
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js +45 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.measurements.js +73 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.measurements.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +121 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +97 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js +46 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.measurements.js +43 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.measurements.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js +174 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +68 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +86 -0
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +186 -0
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +133 -0
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/types/clock-sync.js +2 -0
- package/lib/module/modules/bt-management/types/clock-sync.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 +19 -0
- package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.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/supported-device-catalog-and-medical-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/device-variants.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/standard-device-variants.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-a6-device-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-a6-device-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/core/resolve-device-key.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts +26 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.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/and-medical/and-medical.device.d.ts +18 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +30 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts +26 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
- 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-managed-device.d.ts +4 -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/cofoe/cofoe-bp.sequencer.d.ts +32 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts +46 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +18 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +75 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts +22 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts +6 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts +50 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts +40 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts +38 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.measurements.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.measurements.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts +22 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +28 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.measurements.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.measurements.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts +18 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +62 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts +46 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -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 +20 -1
- 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/frame-reader.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/frame-reader.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +20 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.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/supported-device-catalog-and-medical-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/and-medical-device-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/constants/and-medical-device-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +9 -0
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/constants/cofoe-device-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/constants/device-variants.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/standard-device-variants.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/taidoc-device-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/constants/transtek-a6-device-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/constants/transtek-a6-device-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/constants/yonker-device-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/constants/yonker-device-variants.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/core/resolve-device-key.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts +26 -0
- package/lib/typescript/module/src/modules/bt-management/services/device-classes.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/and-medical/and-medical.device.d.ts +18 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +30 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts +26 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
- 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-managed-device.d.ts +4 -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/cofoe/cofoe-bp.sequencer.d.ts +32 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts +46 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts +15 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +18 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +75 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts +22 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts +6 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts +50 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts +40 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts +38 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.measurements.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.measurements.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts +22 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +28 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.measurements.d.ts +6 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.measurements.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts +18 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.d.ts +21 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +21 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +62 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts +46 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -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 +20 -1
- 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/frame-reader.d.ts +2 -1
- package/lib/typescript/module/src/modules/bt-management/types/frame-reader.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +20 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and-medical.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAU9D,yGAAyG;AACzG,KAAK,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;AAKjD;;;GAGG;AACH,cAAM,mBAAoB,YAAW,gBAAgB;IAKjD,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAqB;gBAGvB,MAAM,EAAE;QACvB,IAAI,EAAE,cAAc,CAAC;QACrB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACpD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;KAClB;IAGI,eAAe,QAAO,SAAS,aAAa,EAAE,CAuBnD;IAEK,kBAAkB,QAAO,OAAO,CAAkB;IAElD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CAuBnF;IAEF,OAAO,CAAC,MAAM,CAGZ;IAEF,OAAO,CAAC,GAAG,CAAiD;CAC7D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blood-glucose.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"blood-glucose.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAavD,KAAK,aAAa,GACd,iBAAiB,CAAC,cAAc,GAChC,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,GAAG,CAAC;AA8D1B,gFAAgF;AAChF,qBAAa,kBAAmB,SAAQ,eAAe,CAAC,aAAa,CAAC;IACpE,SAAS,CAAC,aAAa,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;gBAGjC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,aAAa,CAAC;IAM3C,SAAS,CAAC,eAAe,GAAI,KAAK,MAAM,EAAE,KAAG,OAAO,CACsB;IAE1E,SAAS,CAAC,mBAAmB,CAC3B,MAAM,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAC3E,KAAK,EAAE,MAAM,EAAE,GACd,IAAI;CAeR"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bt-data-processor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-data-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAKjF,UAAU,sBAAsB,CAAC,CAAC,SAAS,WAAW;IACpD,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1D,eAAe,CAAC,EAAE,CAChB,MAAM,EAAE,YAAY,EACpB,kBAAkB,CAAC,EAAE,kBAAkB,KACpC,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,CACT,UAAU,EAAE,uBAAuB,CAAC,WAAW,CAAC,EAChD,eAAe,EAAE,MAAM,EAAE,KACtB,OAAO,GAAG,IAAI,CAAC;IAEpB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,CACZ,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,kBAAkB,EAAE,MAAM,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS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;;;;OAOG;IACH,OAAO,CAAC,WAAW,CAejB;IAEF,OAAO,CAAC,WAAW,CA0BjB;IAEF,OAAO,CAAC,kBAAkB,CAQxB;IAEF;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB,CAevB;IAEF,OAAO,CAAC,mBAAmB,CA2BzB;CACH"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts
CHANGED
|
@@ -34,7 +34,10 @@ export declare abstract class BTManagedDevice<T extends DeviceKey = IntegratedDe
|
|
|
34
34
|
* The timeout in milliseconds for the stuck data.
|
|
35
35
|
*/
|
|
36
36
|
protected abstract stuckDataTimeout: number;
|
|
37
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* The frame cases' measurement types, or - for a sequencer-driven parser whose cases are
|
|
39
|
+
* empty - the parser's entry in `BUILT_IN_MEASUREMENT_TYPES`.
|
|
40
|
+
*/
|
|
38
41
|
protected getSupportedMeasurementTypeKeys(): MeasurementTypeKey[];
|
|
39
42
|
/**
|
|
40
43
|
* The function to handle the dependent result on dependent case. This is generic and can be overridden by the device to handle the result based on the device logic.
|
package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bt-managed-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-managed-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"bt-managed-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-managed-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBA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IAAI,CAAC;IACrD,qBAAqB,CAAC,EAAE,CAC7B,MAAM,EAAE,YAAY,EACpB,kBAAkB,CAAC,EAAE,kBAAkB,KACpC,IAAI,CAAC;IACH,QAAQ,CAAC,EAAE,CAChB,IAAI,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAC1D,IAAI,CAAC;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;gBAE/C,MAAM,EAAE,MAAM,EAE9B,EACE,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,qBAAqB,EAAE,6BAA6B,EACpD,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,yBAAyB,EAC5C,oBAAoB,EAAE,4BAA4B,EAClD,uBAAuB,EACvB,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAyKnB,OAAO,aAUZ;IAEF,uEAAuE;IAChE,UAAU,sBAaf;IAEF,OAAO,CAAC,eAAe,CA2GrB;IAEK,OAAO,QAAO,OAAO,CAAC,IAAI,CAAC,CAkBhC;CACH"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
2
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
3
|
+
/**
|
|
4
|
+
* Cofoe `FF FF` blood-pressure monitors. Both generations get the clock on connect and have
|
|
5
|
+
* every reading acknowledged; the device ends the session.
|
|
6
|
+
*
|
|
7
|
+
* - `history: false` (`Cofoe_BPM`): a live `03` result, timed by the phone.
|
|
8
|
+
* - `history: true` (`Cofoe_KF66EP`): `02`/`03` records stamped with the device's own (BCD)
|
|
9
|
+
* clock, which is set again whenever the device asks (`06`).
|
|
10
|
+
*/
|
|
11
|
+
declare class CofoeBpSequencer implements CommandSequencer {
|
|
12
|
+
private readonly params;
|
|
13
|
+
private recorded;
|
|
14
|
+
private gatt;
|
|
15
|
+
constructor(params: {
|
|
16
|
+
history: boolean;
|
|
17
|
+
onResult: (result: Record<string, unknown>) => void;
|
|
18
|
+
now?: () => Date;
|
|
19
|
+
});
|
|
20
|
+
/** The records generation may expose its GATT under either UUID layout; write to the one found. */
|
|
21
|
+
onServicesDiscovered: (serviceUuids: readonly string[]) => void;
|
|
22
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
23
|
+
isNormalDisconnect: () => boolean;
|
|
24
|
+
isHistoryTransfer: () => boolean;
|
|
25
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
26
|
+
private read;
|
|
27
|
+
private setTime;
|
|
28
|
+
private now;
|
|
29
|
+
private command;
|
|
30
|
+
}
|
|
31
|
+
export { CofoeBpSequencer };
|
|
32
|
+
//# sourceMappingURL=cofoe-bp.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe-bp.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAa9D;;;;;;;GAOG;AACH,cAAM,gBAAiB,YAAW,gBAAgB;IAK9C,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,IAAI,CAAgE;gBAGzD,MAAM,EAAE;QACvB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACpD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;KAClB;IAOH,mGAAmG;IAC5F,oBAAoB,GAAI,cAAc,SAAS,MAAM,EAAE,KAAG,IAAI,CAInE;IAEK,eAAe,QAAO,SAAS,aAAa,EAAE,CAAmC;IAEjF,kBAAkB,QAAO,OAAO,CAAkB;IAElD,iBAAiB,QAAO,OAAO,CAAwB;IAEvD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CA2BnF;IAEF,OAAO,CAAC,IAAI,CAQV;IAEF,OAAO,CAAC,OAAO,CAC4D;IAE3E,OAAO,CAAC,GAAG,CAAiD;IAE5D,OAAO,CAAC,OAAO,CAIZ;CACJ;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
|
|
2
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
3
|
+
interface GlucoseSequencerParams {
|
|
4
|
+
onResult: (result: Record<string, unknown>) => void;
|
|
5
|
+
now?: () => Date;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* KF-B06, CGH200 and Novocont Comfort: handshake, device info, set the clock, then get-data
|
|
9
|
+
* until the data header (`15`) arrives, and acknowledge each `11` record with the sequence
|
|
10
|
+
* byte it carried. There is no end-of-data command; the meter closes the link.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CofoeKfb06Sequencer implements CommandSequencer {
|
|
13
|
+
private readonly params;
|
|
14
|
+
private phase;
|
|
15
|
+
private sequence;
|
|
16
|
+
constructor(params: GlucoseSequencerParams);
|
|
17
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
18
|
+
isHistoryTransfer: () => boolean;
|
|
19
|
+
isNormalDisconnect: () => boolean;
|
|
20
|
+
commandTimeoutMs: () => number | undefined;
|
|
21
|
+
onCommandTimeout: () => CommandTimeoutResult;
|
|
22
|
+
/** Keeps the get-data retry running across anything that is not the data header. */
|
|
23
|
+
commandProgress: (frame: readonly string[]) => "partial" | "complete";
|
|
24
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
25
|
+
private send;
|
|
26
|
+
private now;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* CGH25 and CGH30. The meter drives: it asks for the time (`01`), says it is ready (`06`), is
|
|
30
|
+
* asked for its record count, and the records are then pulled newest first, from index `count`
|
|
31
|
+
* down to 1. MedM can also wipe the meter's memory afterwards; that is never done here.
|
|
32
|
+
*/
|
|
33
|
+
export declare class CofoeCgh25Sequencer implements CommandSequencer {
|
|
34
|
+
private readonly params;
|
|
35
|
+
private remaining;
|
|
36
|
+
private finished;
|
|
37
|
+
constructor(params: GlucoseSequencerParams);
|
|
38
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
39
|
+
isHistoryTransfer: () => boolean;
|
|
40
|
+
isNormalDisconnect: () => boolean;
|
|
41
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
42
|
+
private requestNext;
|
|
43
|
+
private now;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=cofoe-glucose.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe-glucose.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAY9D,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACpD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AA8BD;;;;GAIG;AACH,qBAAa,mBAAoB,YAAW,gBAAgB;IAIvC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAH1C,OAAO,CAAC,KAAK,CAAqE;IAClF,OAAO,CAAC,QAAQ,CAAK;gBAEe,MAAM,EAAE,sBAAsB;IAE3D,eAAe,QAAO,SAAS,aAAa,EAAE,CAAiC;IAE/E,iBAAiB,QAAO,OAAO,CAAS;IAExC,kBAAkB,QAAO,OAAO,CAA6B;IAE7D,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACU;IAEnD,gBAAgB,QAAO,oBAAoB,CACwB;IAE1E,oFAAoF;IAC7E,eAAe,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,GAAG,UAAU,CAG1D;IAEV,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CAoCnF;IAEF,OAAO,CAAC,IAAI,CAA+E;IAE3F,OAAO,CAAC,GAAG,CAAiD;CAC7D;AAYD;;;;GAIG;AACH,qBAAa,mBAAoB,YAAW,gBAAgB;IAIvC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAH1C,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,QAAQ,CAAS;gBAEW,MAAM,EAAE,sBAAsB;IAE3D,eAAe,QAAO,SAAS,aAAa,EAAE,CAAO;IAErD,iBAAiB,QAAO,OAAO,CAAS;IAExC,kBAAkB,QAAO,OAAO,CAAkB;IAElD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CAyBnF;IAEF,OAAO,CAAC,WAAW,CAYjB;IAEF,OAAO,CAAC,GAAG,CAAiD;CAC7D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
2
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
3
|
+
/** KF-HW-081A: one ASCII reading per notification, timed by the phone; the app never writes. */
|
|
4
|
+
declare class CofoeThermometerSequencer implements CommandSequencer {
|
|
5
|
+
private readonly params;
|
|
6
|
+
private recorded;
|
|
7
|
+
constructor(params: {
|
|
8
|
+
onResult: (result: Record<string, unknown>) => void;
|
|
9
|
+
});
|
|
10
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
11
|
+
isNormalDisconnect: () => boolean;
|
|
12
|
+
nextCommand: (frame: readonly string[]) => undefined;
|
|
13
|
+
}
|
|
14
|
+
export { CofoeThermometerSequencer };
|
|
15
|
+
//# sourceMappingURL=cofoe-thermometer.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe-thermometer.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9D,gGAAgG;AAChG,cAAM,yBAA0B,YAAW,gBAAgB;IAGtC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAF1C,OAAO,CAAC,QAAQ,CAAS;gBAEW,MAAM,EAAE;QAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAA;KAAE;IAE5F,eAAe,QAAO,SAAS,aAAa,EAAE,CAAO;IAErD,kBAAkB,QAAO,OAAO,CAAkB;IAElD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,CAcxD;CACH;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
type CofoeDevice = IntegratedDevices.COFOE_BPM | IntegratedDevices.COFOE_BPM_HISTORY | IntegratedDevices.COFOE_GLUCOMETER | IntegratedDevices.COFOE_GLUCOMETER_CGH25 | IntegratedDevices.COFOE_THERMOMETER;
|
|
7
|
+
/** Cofoe KF-6x blood-pressure monitors, KF-B06 and CGH glucometers and the KF-HW-081A thermometer. */
|
|
8
|
+
declare class CofoeDeviceClass extends BTManagedDevice<CofoeDevice> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
constructor(device: Device, params: CreateDeviceParams<CofoeDevice>);
|
|
13
|
+
/** The thermometer has no frame reader: one notification is one message. */
|
|
14
|
+
protected validatePackage: () => boolean;
|
|
15
|
+
protected handleSuccessResult(): void;
|
|
16
|
+
}
|
|
17
|
+
export { CofoeDeviceClass as CofoeDevice };
|
|
18
|
+
//# sourceMappingURL=cofoe.device.d.ts.map
|
package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAOvD,KAAK,WAAW,GACZ,iBAAiB,CAAC,SAAS,GAC3B,iBAAiB,CAAC,iBAAiB,GACnC,iBAAiB,CAAC,gBAAgB,GAClC,iBAAiB,CAAC,sBAAsB,GACxC,iBAAiB,CAAC,iBAAiB,CAAC;AA2BxC,sGAAsG;AACtG,cAAM,gBAAiB,SAAQ,eAAe,CAAC,WAAW,CAAC;IACzD,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;IACnC,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;gBAEjB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,WAAW,CAAC;IAgC1E,4EAA4E;IAC5E,SAAS,CAAC,eAAe,QAAO,OAAO,CAAS;IAEhD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC;AAED,OAAO,EAAE,gBAAgB,IAAI,WAAW,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const COFOE_GATT: {
|
|
4
|
+
readonly bloodPressure: {
|
|
5
|
+
service: string;
|
|
6
|
+
notify: string;
|
|
7
|
+
write: string;
|
|
8
|
+
};
|
|
9
|
+
readonly history: {
|
|
10
|
+
service: string;
|
|
11
|
+
notify: string;
|
|
12
|
+
write: string;
|
|
13
|
+
};
|
|
14
|
+
readonly historyReversed: {
|
|
15
|
+
service: string;
|
|
16
|
+
notify: string;
|
|
17
|
+
write: string;
|
|
18
|
+
};
|
|
19
|
+
readonly glucometer: {
|
|
20
|
+
service: string;
|
|
21
|
+
notify: string;
|
|
22
|
+
write: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const toBytes: (frame: readonly string[]) => number[];
|
|
26
|
+
/** `FF FF len cmd payload ck`. */
|
|
27
|
+
export declare const bpFrame: (command: number, payload?: readonly number[]) => string[];
|
|
28
|
+
/** `5A A5 cmd seq len payload crc`. */
|
|
29
|
+
export declare const kfb06Frame: (command: number, sequence: number, payload?: readonly number[]) => string[];
|
|
30
|
+
/** `$PCL A cmd len payload sum`. */
|
|
31
|
+
export declare const cgh25Frame: (command: number, payload?: readonly number[]) => string[];
|
|
32
|
+
declare const FRAMINGS: {
|
|
33
|
+
bloodPressure: {
|
|
34
|
+
magic: number[];
|
|
35
|
+
header: number;
|
|
36
|
+
length: (frame: readonly number[]) => number;
|
|
37
|
+
valid: (frame: readonly number[]) => boolean;
|
|
38
|
+
};
|
|
39
|
+
kfb06: {
|
|
40
|
+
magic: number[];
|
|
41
|
+
header: number;
|
|
42
|
+
length: (frame: readonly number[]) => number;
|
|
43
|
+
valid: (frame: readonly number[]) => boolean;
|
|
44
|
+
};
|
|
45
|
+
cgh25: {
|
|
46
|
+
magic: number[];
|
|
47
|
+
header: number;
|
|
48
|
+
length: (frame: readonly number[]) => number;
|
|
49
|
+
valid: (frame: readonly number[]) => boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export type CofoeFraming = keyof typeof FRAMINGS;
|
|
53
|
+
/** Isolates verified frames of one framing whatever the notification boundaries. */
|
|
54
|
+
export declare class CofoeFrameReader implements FrameReader {
|
|
55
|
+
private readonly framing;
|
|
56
|
+
constructor(framing: CofoeFraming);
|
|
57
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
58
|
+
}
|
|
59
|
+
/** The command and body of a verified frame. */
|
|
60
|
+
export declare const unframe: (framing: CofoeFraming, frame: readonly string[]) => {
|
|
61
|
+
command: number;
|
|
62
|
+
sequence: number;
|
|
63
|
+
body: number[];
|
|
64
|
+
};
|
|
65
|
+
/** `Cofoe_BPM` set-time, `08`: binary `YY MM DD hh mm ss`. */
|
|
66
|
+
export declare const bpSetTime: (now: Date) => string[];
|
|
67
|
+
/** `Cofoe_KF66EP` set-time, `08`: BCD `YY MM DD hh mm ss`. */
|
|
68
|
+
export declare const historySetTime: (now: Date) => string[];
|
|
69
|
+
/** KF-B06 set-time, `10`: binary `YY MM DD hh mm ss`. */
|
|
70
|
+
export declare const kfb06SetTime: (sequence: number, now: Date) => string[];
|
|
71
|
+
/** CGH25 set-time, `01`: `00 00 YY MM DD hh mm 00 00`. */
|
|
72
|
+
export declare const cgh25SetTime: (now: Date) => string[];
|
|
73
|
+
export declare const BP_ACK: string[];
|
|
74
|
+
export {};
|
|
75
|
+
//# sourceMappingURL=cofoe.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAiC1D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CAKb,CAAC;AAKX,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MAAM,EAA0C,CAAC;AAOpG,kCAAkC;AAClC,eAAO,MAAM,OAAO,GAAI,SAAS,MAAM,EAAE,UAAS,SAAS,MAAM,EAAO,KAAG,MAAM,EAIhF,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,UAAU,GACrB,SAAS,MAAM,EACf,UAAU,MAAM,EAChB,UAAS,SAAS,MAAM,EAAO,KAC9B,MAAM,EAIR,CAAC;AAIF,oCAAoC;AACpC,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,EAAE,UAAS,SAAS,MAAM,EAAO,KAAG,MAAM,EAInF,CAAC;AAaF,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAoBqB,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,QAAQ,CAAC;AAEjD,oFAAoF;AACpF,qBAAa,gBAAiB,YAAW,WAAW;IAClD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;gBAEf,OAAO,EAAE,YAAY;IAIjC,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;CAoC7D;AAED,gDAAgD;AAChD,eAAO,MAAM,OAAO,GAClB,SAAS,YAAY,EACrB,OAAO,SAAS,MAAM,EAAE,KACvB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAUrD,CAAC;AAeF,8DAA8D;AAC9D,eAAO,MAAM,SAAS,GAAI,KAAK,IAAI,KAAG,MAAM,EAA+B,CAAC;AAE5E,8DAA8D;AAC9D,eAAO,MAAM,cAAc,GAAI,KAAK,IAAI,KAAG,MAAM,EAA0C,CAAC;AAE5F,yDAAyD;AACzD,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM,EAAE,KAAK,IAAI,KAAG,MAAM,EACzB,CAAC;AAEzC,0DAA0D;AAC1D,eAAO,MAAM,YAAY,GAAI,KAAK,IAAI,KAAG,MAAM,EACY,CAAC;AAE5D,eAAO,MAAM,MAAM,UAAgB,CAAC"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface CofoeBloodPressure {
|
|
2
|
+
systolic: number;
|
|
3
|
+
diastolic: number;
|
|
4
|
+
heartRate: number;
|
|
5
|
+
irregularHeartbeat: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** `Cofoe_BPM` result, `03`: four bytes, timed by the phone. */
|
|
8
|
+
export declare const readBpResult: (body: readonly number[]) => CofoeBloodPressure | undefined;
|
|
9
|
+
/** `Cofoe_KF66EP` record, `02`/`03`: BCD `YY MM DD hh mm ss`, then the four result bytes. */
|
|
10
|
+
export declare const readBpRecord: (body: readonly number[]) => (CofoeBloodPressure & {
|
|
11
|
+
recordedAt: Date;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
export interface CofoeGlucose {
|
|
14
|
+
bloodGlucose: number;
|
|
15
|
+
recordedAt: Date;
|
|
16
|
+
}
|
|
17
|
+
/** KF-B06 record, `11`: binary `YY MM DD hh mm ss`, type (`9` = glucose), u16 LE tenths of mmol/L. */
|
|
18
|
+
export declare const readKfb06Glucose: (body: readonly number[]) => CofoeGlucose | undefined;
|
|
19
|
+
/** CGH25 record, `00`/`02`: index (u16 BE), `YY MM DD hh mm`, u16 BE tenths of mmol/L. */
|
|
20
|
+
export declare const readCgh25Glucose: (body: readonly number[]) => CofoeGlucose | undefined;
|
|
21
|
+
export declare const readThermometerText: (frame: readonly string[]) => number | undefined;
|
|
22
|
+
//# sourceMappingURL=cofoe.records.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe.records.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe.records.ts"],"names":[],"mappings":"AAgCA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAeD,gEAAgE;AAChE,eAAO,MAAM,YAAY,GAAI,MAAM,SAAS,MAAM,EAAE,KAAG,kBAAkB,GAAG,SACvB,CAAC;AAEtD,6FAA6F;AAC7F,eAAO,MAAM,YAAY,GACvB,MAAM,SAAS,MAAM,EAAE,KACtB,CAAC,kBAAkB,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE,CAAC,GAAG,SAKhD,CAAC;AASF,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC;CAClB;AASD,sGAAsG;AACtG,eAAO,MAAM,gBAAgB,GAAI,MAAM,SAAS,MAAM,EAAE,KAAG,YAAY,GAAG,SAG3D,CAAC;AAEhB,0FAA0F;AAC1F,eAAO,MAAM,gBAAgB,GAAI,MAAM,SAAS,MAAM,EAAE,KAAG,YAAY,GAAG,SAG3D,CAAC;AAKhB,eAAO,MAAM,mBAAmB,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MAAM,GAAG,SAYvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jumper.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/jumper/jumper.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAMvD,KAAK,YAAY,GACb,iBAAiB,CAAC,eAAe,GACjC,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,kBAAkB,CAAC;AAyBzC,8FAA8F;AAC9F,cAAM,iBAAkB,SAAQ,eAAe,CAAC,YAAY,CAAC;IAC3D,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;IACnC,SAAS,CAAC,gBAAgB,SAAW;IACrC,SAAS,CAAC,aAAa,YAAa;gBAEjB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"jumper.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/jumper/jumper.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAMvD,KAAK,YAAY,GACb,iBAAiB,CAAC,eAAe,GACjC,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,kBAAkB,CAAC;AAyBzC,8FAA8F;AAC9F,cAAM,iBAAkB,SAAQ,eAAe,CAAC,YAAY,CAAC;IAC3D,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;IACnC,SAAS,CAAC,gBAAgB,SAAW;IACrC,SAAS,CAAC,aAAa,YAAa;gBAEjB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,YAAY,CAAC;IAsB3E,qCAAqC;IACrC,SAAS,CAAC,eAAe,QAAO,OAAO,CAAS;IAEhD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC;AAED,OAAO,EAAE,iBAAiB,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -6,19 +6,22 @@ interface Latest {
|
|
|
6
6
|
perfusionIndex?: number;
|
|
7
7
|
recordedAt: Date;
|
|
8
8
|
}
|
|
9
|
+
type OximeterValues = Omit<Latest, "recordedAt">;
|
|
9
10
|
/** Picks the values frame out of whatever else the device sends (waveform, status). */
|
|
10
11
|
type IsValuesFrame = (header: number, length: number) => boolean;
|
|
12
|
+
/** Which of pulse and SpO2 comes first after the header byte. */
|
|
13
|
+
type FieldOrder = "pulse-spo2" | "spo2-pulse";
|
|
11
14
|
/** AOJ-70: header exactly `81`, extra bytes ignored. */
|
|
12
15
|
declare const AOJ_VALUES: IsValuesFrame;
|
|
13
16
|
/** Jumper JPD-500D: low nibble 1, exactly four bytes. */
|
|
14
17
|
declare const JUMPER_VALUES: IsValuesFrame;
|
|
15
18
|
/** Pulse rate counts at 1-254 bpm, SpO2 is invalid at 0 or 0x7F, PI 0 means none. */
|
|
16
|
-
declare const readOximeterData: (frame: readonly string[], isValuesFrame?: IsValuesFrame) =>
|
|
19
|
+
declare const readOximeterData: (frame: readonly string[], isValuesFrame?: IsValuesFrame, fieldOrder?: FieldOrder) => OximeterValues | undefined;
|
|
17
20
|
declare class LiveOximeterSequencer implements CommandSequencer {
|
|
18
21
|
private readonly params;
|
|
19
22
|
private latest?;
|
|
20
23
|
constructor(params: {
|
|
21
|
-
|
|
24
|
+
readValues: (frame: readonly string[]) => OximeterValues | undefined;
|
|
22
25
|
onResult: (result: Record<string, unknown>) => void;
|
|
23
26
|
});
|
|
24
27
|
initialCommands: () => readonly DeviceCommand[];
|
|
@@ -29,5 +32,6 @@ declare class LiveOximeterSequencer implements CommandSequencer {
|
|
|
29
32
|
commandProgress: (frame: readonly string[]) => "ignored" | "partial" | "complete";
|
|
30
33
|
nextCommand: () => undefined;
|
|
31
34
|
}
|
|
35
|
+
export type { OximeterValues };
|
|
32
36
|
export { AOJ_VALUES, JUMPER_VALUES, LiveOximeterSequencer, readOximeterData };
|
|
33
37
|
//# sourceMappingURL=live-oximeter.sequencer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-oximeter.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/live-oximeter.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"live-oximeter.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/live-oximeter.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAc3D,UAAU,MAAM;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,IAAI,CAAC;CAClB;AAED,KAAK,cAAc,GAAG,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAEjD,uFAAuF;AACvF,KAAK,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;AAEjE,iEAAiE;AACjE,KAAK,UAAU,GAAG,YAAY,GAAG,YAAY,CAAC;AAE9C,wDAAwD;AACxD,QAAA,MAAM,UAAU,EAAE,aAAkE,CAAC;AAErF,yDAAyD;AACzD,QAAA,MAAM,aAAa,EAAE,aAAyE,CAAC;AAE/F,qFAAqF;AACrF,QAAA,MAAM,gBAAgB,GACpB,OAAO,SAAS,MAAM,EAAE,EACxB,gBAAe,aAA0B,EACzC,aAAY,UAAyB,KACpC,cAAc,GAAG,SAmBnB,CAAC;AAEF,cAAM,qBAAsB,YAAW,gBAAgB;IAInD,OAAO,CAAC,QAAQ,CAAC,MAAM;IAHzB,OAAO,CAAC,MAAM,CAAC,CAAS;gBAGL,MAAM,EAAE;QACvB,UAAU,EAAE,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,KAAK,cAAc,GAAG,SAAS,CAAC;QACrE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;KACrD;IAGI,eAAe,QAAO,SAAS,aAAa,EAAE,CAAO;IAErD,kBAAkB,QAAO,OAAO,CAAS;IAEzC,gBAAgB,QAAO,MAAM,GAAG,SAAS,CAA0C;IAEnF,gBAAgB,QAAO,oBAAoB,CAchD;IAEF,+EAA+E;IACxE,eAAe,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAUrF;IAEK,WAAW,QAAO,SAAS,CAAc;CACjD;AAED,YAAY,EAAE,cAAc,EAAE,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
type TaidocDevice = IntegratedDevices.TAIDOC_MULTI | IntegratedDevices.TAIDOC_BPM | IntegratedDevices.TAIDOC_THERMOMETER | IntegratedDevices.TAIDOC_OXIMETER | IntegratedDevices.TAIDOC_SCALE;
|
|
7
|
+
/** TaiDoc and FORA meters on the 0x51 command protocol: history download of every device user. */
|
|
8
|
+
declare class TaidocDeviceClass extends BTManagedDevice<TaidocDevice> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
constructor(device: Device, params: CreateDeviceParams<TaidocDevice>);
|
|
13
|
+
protected handleSuccessResult(): void;
|
|
14
|
+
}
|
|
15
|
+
export { TaidocDeviceClass as TaidocDevice };
|
|
16
|
+
//# sourceMappingURL=taidoc.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taidoc.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/taidoc/taidoc.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAMvD,KAAK,YAAY,GACb,iBAAiB,CAAC,YAAY,GAC9B,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,kBAAkB,GACpC,iBAAiB,CAAC,eAAe,GACjC,iBAAiB,CAAC,YAAY,CAAC;AAoBnC,kGAAkG;AAClG,cAAM,iBAAkB,SAAQ,eAAe,CAAC,YAAY,CAAC;IAC3D,SAAS,CAAC,YAAY,aAAsB;IAC5C,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;gBAEjB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,YAAY,CAAC;IAe3E,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC;AAED,OAAO,EAAE,iBAAiB,IAAI,YAAY,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
/**
|
|
4
|
+
* TaiDoc's "0x51" command protocol, shared by its glucose meters, blood-pressure monitors,
|
|
5
|
+
* thermometers, pulse oximeters and scales. Layouts are from MedM Health Diary 3.12.11's
|
|
6
|
+
* `CTaiDocCommandDevice` and its per-driver subclasses.
|
|
7
|
+
*
|
|
8
|
+
* A frame is `51 cmd d0 d1 d2 d3 end cs`: `end` is A3 from the app and A5 from the device, and
|
|
9
|
+
* `cs` is the 8-bit sum of every byte before it. The scale's record and set-user frames are
|
|
10
|
+
* variable, `51 cmd LL data[LL] end cs`. One characteristic is both written and notified, so
|
|
11
|
+
* the device echoes every command back; an A3-terminated frame is that echo.
|
|
12
|
+
*/
|
|
13
|
+
export declare const TAIDOC_SERVICE = "00001523-1212-efde-1523-785feabcd123";
|
|
14
|
+
export declare const TAIDOC_CHARACTERISTIC = "00001524-1212-efde-1523-785feabcd123";
|
|
15
|
+
export declare const TAIDOC: {
|
|
16
|
+
readonly wakeUp: 34;
|
|
17
|
+
readonly deviceTime: 35;
|
|
18
|
+
readonly model: 36;
|
|
19
|
+
readonly readingTime: 37;
|
|
20
|
+
readonly readingResult: 38;
|
|
21
|
+
readonly serial1: 39;
|
|
22
|
+
readonly serial2: 40;
|
|
23
|
+
readonly oximeterAfterTime: 41;
|
|
24
|
+
readonly readingCount: 43;
|
|
25
|
+
readonly setTime: 51;
|
|
26
|
+
readonly shutdown: 80;
|
|
27
|
+
readonly wakeNotice: 84;
|
|
28
|
+
readonly weightRecord: 113;
|
|
29
|
+
readonly setUser: 114;
|
|
30
|
+
readonly busy: 224;
|
|
31
|
+
};
|
|
32
|
+
export declare const commandOf: (frame: readonly string[]) => number;
|
|
33
|
+
/** `51 cmd a b c d A3 cs`. */
|
|
34
|
+
export declare const taidocCommand: (command: number, a?: number, b?: number, c?: number, d?: number) => string[];
|
|
35
|
+
export declare const readingCountCommand: (user: number) => string[];
|
|
36
|
+
export declare const readingCommand: (command: typeof TAIDOC.readingTime | typeof TAIDOC.readingResult, index: number, user: number) => string[];
|
|
37
|
+
/** `date16 = yy << 9 | month << 5 | day`, then minute and hour; the meter keeps local time. */
|
|
38
|
+
export declare const setTimeCommand: (now: Date) => string[];
|
|
39
|
+
/** The scale's record request, `51 71 02 idxLo idxHi A3 cs`. */
|
|
40
|
+
export declare const weightRecordCommand: (index: number) => string[];
|
|
41
|
+
/** The app's own command, echoed back on the shared characteristic. */
|
|
42
|
+
export declare const isHostFrame: (frame: readonly string[]) => boolean;
|
|
43
|
+
/** Isolates 0x51 frames whatever the notification boundaries, skipping noise to the next start. */
|
|
44
|
+
export declare class TaidocFrameReader implements FrameReader {
|
|
45
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
46
|
+
}
|
|
47
|
+
export declare const usersFor: (model: readonly string[]) => number;
|
|
48
|
+
/** The 0x2B answer: the current user's record count, little-endian. */
|
|
49
|
+
export declare const readCount: (frame: readonly string[]) => number;
|
|
50
|
+
//# sourceMappingURL=taidoc.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taidoc.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/taidoc/taidoc.protocol.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C"}
|
package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const isBloodPressureRecord: (time: readonly string[]) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* The record time in a 0x25 answer: `date16` as in set time, minute and hour. A year byte past
|
|
4
|
+
* 2069 is MedM's "clock not valid", and such a record is dropped rather than given today's date.
|
|
5
|
+
*/
|
|
6
|
+
export declare const readRecordTime: (time: readonly string[]) => Date | undefined;
|
|
7
|
+
/** 0x26 blood pressure: systolic, mean arterial pressure, diastolic, pulse. */
|
|
8
|
+
export declare const readBloodPressure: (time: readonly string[], result: readonly string[]) => Record<string, unknown> | undefined;
|
|
9
|
+
/** A stored TaiDoc result is a patient glucose reading, not another analyte or a control test. */
|
|
10
|
+
export declare const isPatientGlucoseRecord: (result: readonly string[]) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 0x26 glucose, mg/dL little-endian in d0-d1. The meters on this parser are glucose-only or
|
|
13
|
+
* BP+glucose, whose bits 2-5 may hold a strip code, so only control-solution tests are dropped.
|
|
14
|
+
*/
|
|
15
|
+
export declare const readGlucose: (result: readonly string[]) => number | undefined;
|
|
16
|
+
/** 0x26 temperature, tenths of a degree Celsius; above 60.0 is MedM's object (surface) mode. */
|
|
17
|
+
export declare const readTemperature: (result: readonly string[]) => number | undefined;
|
|
18
|
+
/** 0x26 pulse oximetry: SpO2 % in d0-d1, pulse in d3. */
|
|
19
|
+
export declare const readOximeter: (result: readonly string[]) => {
|
|
20
|
+
bloodOxygen: number;
|
|
21
|
+
pulseRate: number;
|
|
22
|
+
} | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The scale's 34-byte 0x71 record: yy MM dd hh mm at 4-8, user at 9, a unit selector at 15 and
|
|
25
|
+
* the weight in tenths, big-endian, at 16. Selector 1 puts the weight in a second slot in a unit
|
|
26
|
+
* MedM does not name, so it is dropped rather than guessed. Body composition is not decoded:
|
|
27
|
+
* which quantity each of its fields carries is not known.
|
|
28
|
+
*/
|
|
29
|
+
export declare const readWeight: (record: readonly string[]) => {
|
|
30
|
+
bodyWeight: number;
|
|
31
|
+
recordedAt: Date;
|
|
32
|
+
user: number;
|
|
33
|
+
} | undefined;
|
|
34
|
+
/** What the 0x26 record holds: `multi` is glucose or blood pressure by the type bit, `bpm` always blood pressure. */
|
|
35
|
+
export type TaidocKind = "multi" | "bpm" | "thermometer" | "oximeter" | "scale";
|
|
36
|
+
/** One 0x25/0x26 record pair as a result, or undefined when it is invalid or not a reading. */
|
|
37
|
+
export declare const decodeRecord: (kind: TaidocKind, time: readonly string[], result: readonly string[], user: number) => Record<string, unknown> | undefined;
|
|
38
|
+
/** The scale's 0x71 record as a result. */
|
|
39
|
+
export declare const decodeWeightRecord: (record: readonly string[]) => Record<string, unknown> | undefined;
|
|
40
|
+
//# sourceMappingURL=taidoc.records.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taidoc.records.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/taidoc/taidoc.records.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,qBAAqB,GAAI,MAAM,SAAS,MAAM,EAAE,KAAG,OACvB,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,SAAS,MAAM,EAAE,KAAG,IAAI,GAAG,SAiB/D,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,GAC5B,MAAM,SAAS,MAAM,EAAE,EACvB,QAAQ,SAAS,MAAM,EAAE,KACxB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAc5B,CAAC;AAYF,kGAAkG;AAClG,eAAO,MAAM,sBAAsB,GAAI,QAAQ,SAAS,MAAM,EAAE,KAAG,OAIlE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,SAAS,MAAM,EAAE,KAAG,MAAM,GAAG,SAMhE,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,eAAe,GAAI,QAAQ,SAAS,MAAM,EAAE,KAAG,MAAM,GAAG,SAIpE,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,YAAY,GACvB,QAAQ,SAAS,MAAM,EAAE,KACxB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,SAO/C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GACrB,QAAQ,SAAS,MAAM,EAAE,KACxB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,SA4B3D,CAAC;AAEF,qHAAqH;AACrH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,GAAG,UAAU,GAAG,OAAO,CAAC;AAkChF,+FAA+F;AAC/F,eAAO,MAAM,YAAY,GACvB,MAAM,UAAU,EAChB,MAAM,SAAS,MAAM,EAAE,EACvB,QAAQ,SAAS,MAAM,EAAE,EACzB,MAAM,MAAM,KACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAK5B,CAAC;AAEF,2CAA2C;AAC3C,eAAO,MAAM,kBAAkB,GAAI,QAAQ,SAAS,MAAM,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAWxF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
|
|
2
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
3
|
+
import { TaidocKind } from "./taidoc.records";
|
|
4
|
+
/**
|
|
5
|
+
* MedM's history session: model, serial, device time, set time, then for every device user the
|
|
6
|
+
* record count and each record by index (record time 0x25, then result 0x26; the scale's 0x71
|
|
7
|
+
* carries both). It ends with power off 0x50; the clear-memory command 0x52 is never sent.
|
|
8
|
+
*/
|
|
9
|
+
declare class TaidocSequencer implements CommandSequencer {
|
|
10
|
+
private readonly params;
|
|
11
|
+
private last;
|
|
12
|
+
private retries;
|
|
13
|
+
private ended;
|
|
14
|
+
private user;
|
|
15
|
+
private maxUser;
|
|
16
|
+
private count;
|
|
17
|
+
private index;
|
|
18
|
+
private recordTime;
|
|
19
|
+
constructor(params: {
|
|
20
|
+
kind: TaidocKind;
|
|
21
|
+
onResult: (result: Record<string, unknown>) => void;
|
|
22
|
+
now?: () => Date;
|
|
23
|
+
});
|
|
24
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
25
|
+
isHistoryTransfer: () => boolean;
|
|
26
|
+
isNormalDisconnect: () => boolean;
|
|
27
|
+
commandTimeoutMs: () => number | undefined;
|
|
28
|
+
onCommandTimeout: () => CommandTimeoutResult;
|
|
29
|
+
commandProgress: (frame: readonly string[]) => "ignored" | "complete";
|
|
30
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
31
|
+
/** Requests the next index, then the next user's count, then powers the device off. */
|
|
32
|
+
private nextReading;
|
|
33
|
+
private report;
|
|
34
|
+
private now;
|
|
35
|
+
private send;
|
|
36
|
+
}
|
|
37
|
+
export { TaidocSequencer };
|
|
38
|
+
//# sourceMappingURL=taidoc.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taidoc.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAgB9D,OAAO,EAAoC,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAgBhF;;;;GAIG;AACH,cAAM,eAAgB,YAAW,gBAAgB;IAW7C,OAAO,CAAC,QAAQ,CAAC,MAAM;IAVzB,OAAO,CAAC,IAAI,CAA4B;IACxC,OAAO,CAAC,OAAO,CAAW;IAC1B,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,IAAI,CAAK;IACjB,OAAO,CAAC,OAAO,CAAK;IACpB,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,UAAU,CAAyB;gBAGxB,MAAM,EAAE;QACvB,IAAI,EAAE,UAAU,CAAC;QACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACpD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;KAClB;IAGI,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,iBAAiB,QAAO,OAAO,CAAS;IAExC,kBAAkB,QAAO,OAAO,CAAe;IAE/C,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACD;IAExC,gBAAgB,QAAO,oBAAoB,CAQhD;IAEK,eAAe,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,GAAG,UAAU,CAC7B;IAEvC,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CAyDnF;IAEF,uFAAuF;IACvF,OAAO,CAAC,WAAW,CAsBjB;IAEF,OAAO,CAAC,MAAM,CAIZ;IAEF,OAAO,CAAC,GAAG,CAAiD;IAE5D,OAAO,CAAC,IAAI,CAKV;CACH;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MeasurementTypeKey } from "@ovok/core";
|
|
2
|
+
import { Device } from "react-native-ble-plx";
|
|
3
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
4
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
5
|
+
import { IService } from "../../../types/service.type";
|
|
6
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
7
|
+
/** Transtek GBS-2012-B body scale using the A6 command protocol. */
|
|
8
|
+
export declare class TranstekA6ScaleDevice extends BTManagedDevice<IntegratedDevices.RPM_SCALE> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
protected getSupportedMeasurementTypeKeys(): MeasurementTypeKey[];
|
|
13
|
+
constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.RPM_SCALE>);
|
|
14
|
+
protected handleSuccessResult(): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=a6-scale.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a6-scale.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/transtek/a6-scale.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAoBvD,oEAAoE;AACpE,qBAAa,qBAAsB,SAAQ,eAAe,CAAC,iBAAiB,CAAC,SAAS,CAAC;IACrF,SAAS,CAAC,YAAY,aAAgB;IACtC,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;cAEjB,+BAA+B,IAAI,kBAAkB,EAAE;gBAKxE,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,SAAS,CAAC;IAkBzD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a6-scale.measurements.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/transtek/a6-scale.measurements.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa,GACxB,MAAM,SAAS,MAAM,EAAE,KACtB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,IAAI,CAAA;CAAE,GAAG,SAqF9C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const A6_SCALE_SERVICE = "0000a602-0000-1000-8000-00805f9b34fb";
|
|
4
|
+
export declare const A6_SCALE_NOTIFY = "0000a621-0000-1000-8000-00805f9b34fb";
|
|
5
|
+
export declare const A6_SCALE_WRITE = "0000a624-0000-1000-8000-00805f9b34fb";
|
|
6
|
+
export declare const A6_SCALE_ACK = "0000a622-0000-1000-8000-00805f9b34fb";
|
|
7
|
+
export declare const A6_SCALE_WEIGHT = 18434;
|
|
8
|
+
export declare const readA6Uint: (bytes: readonly string[], offset: number, length: number) => number;
|
|
9
|
+
export declare const a6EncryptionKey: (deviceId: string, manufacturerData?: string | null) => string | undefined;
|
|
10
|
+
export declare const encryptA6Body: (body: readonly number[], key?: string) => number[] | undefined;
|
|
11
|
+
export declare const decryptA6Body: (body: readonly string[], key?: string) => number[] | undefined;
|
|
12
|
+
export declare const encodeA6Command: (command: number, body: readonly number[], key?: string) => string[] | undefined;
|
|
13
|
+
/** Extracts each length-prefixed A6 notification frame; command fragments are joined by its sequencer. */
|
|
14
|
+
export declare class A6ScaleFrameReader implements FrameReader {
|
|
15
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
16
|
+
}
|
|
17
|
+
export declare const decodeA6Command: (content: readonly string[], key?: string) => {
|
|
18
|
+
command: number;
|
|
19
|
+
body: number[];
|
|
20
|
+
} | undefined;
|
|
21
|
+
export declare const a6CommandBody: (frame: readonly string[]) => string[];
|
|
22
|
+
//# sourceMappingURL=a6-scale.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a6-scale.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/transtek/a6-scale.protocol.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,eAAO,MAAM,gBAAgB,yCAAyC,CAAC;AACvE,eAAO,MAAM,eAAe,yCAAyC,CAAC;AACtE,eAAO,MAAM,cAAc,yCAAyC,CAAC;AACrE,eAAO,MAAM,YAAY,yCAAyC,CAAC;AACnE,eAAO,MAAM,eAAe,QAAS,CAAC;AAKtC,eAAO,MAAM,UAAU,GACrB,OAAO,SAAS,MAAM,EAAE,EACxB,QAAQ,MAAM,EACd,QAAQ,MAAM,KACb,MAG4D,CAAC;AAQhE,eAAO,MAAM,eAAe,GAC1B,UAAU,MAAM,EAChB,mBAAmB,MAAM,GAAG,IAAI,KAC/B,MAAM,GAAG,SAgBX,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,MAAM,SAAS,MAAM,EAAE,EACvB,MAAM,MAAM,KACX,MAAM,EAAE,GAAG,SAiBb,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,MAAM,SAAS,MAAM,EAAE,EACvB,MAAM,MAAM,KACX,MAAM,EAAE,GAAG,SAmBb,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,SAAS,MAAM,EACf,MAAM,SAAS,MAAM,EAAE,EACvB,MAAM,MAAM,KACX,MAAM,EAAE,GAAG,SAkBb,CAAC;AAEF,0GAA0G;AAC1G,qBAAa,kBAAmB,YAAW,WAAW;IAC7C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;CAgC7D;AAED,eAAO,MAAM,eAAe,GAC1B,SAAS,SAAS,MAAM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