@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,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices.js";
|
|
4
|
+
import { BTManagedDevice } from "../bt-managed-device.js";
|
|
5
|
+
import { AOJ_VALUES, LiveOximeterSequencer, readOximeterData } from "../live-oximeter.sequencer.js";
|
|
6
|
+
import { AILINK_GATT, AilinkFrameReader, FIRMWARE_REQUEST, read80bMeasurement, YONKER_GATT } from "./yonker.protocol.js";
|
|
7
|
+
import { YonkerScaleSequencer, YonkerSequencer } from "./yonker.sequencer.js";
|
|
8
|
+
const passThrough = {
|
|
9
|
+
caseValuePosition: [],
|
|
10
|
+
cases: []
|
|
11
|
+
};
|
|
12
|
+
const service = (uuid, notify, optional = false) => ({
|
|
13
|
+
uuid,
|
|
14
|
+
optional,
|
|
15
|
+
monitorUuids: notify.map(monitor => ({
|
|
16
|
+
uuid: monitor,
|
|
17
|
+
parsingModel: passThrough
|
|
18
|
+
}))
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
/** MedM subscribes to all three; the type byte, not the characteristic, says what a frame is. */
|
|
22
|
+
const YONKER_SERVICES = [service(YONKER_GATT.service, [YONKER_GATT.notify, YONKER_GATT.notifyAlternate], true), service(YONKER_GATT.uartService, [YONKER_GATT.uartNotify], true)];
|
|
23
|
+
const SERVICES = {
|
|
24
|
+
[IntegratedDevices.YONKER_OXIMETER]: YONKER_SERVICES,
|
|
25
|
+
[IntegratedDevices.YONKER_BPM]: YONKER_SERVICES,
|
|
26
|
+
[IntegratedDevices.YONKER_THERMOMETER]: YONKER_SERVICES,
|
|
27
|
+
[IntegratedDevices.YONKER_SCALE]: [service(AILINK_GATT.service, [AILINK_GATT.notify])],
|
|
28
|
+
[IntegratedDevices.YONKER_80B]: [service(AILINK_GATT.service, [AILINK_GATT.notify])]
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** The YK-80B: MedM asks for the firmware version on connect, then reads the stream. */
|
|
32
|
+
class Yonker80bSequencer extends LiveOximeterSequencer {
|
|
33
|
+
initialCommands = () => [{
|
|
34
|
+
serviceUuid: AILINK_GATT.service,
|
|
35
|
+
characteristicUuid: AILINK_GATT.writeShort,
|
|
36
|
+
frame: FIRMWARE_REQUEST
|
|
37
|
+
}];
|
|
38
|
+
}
|
|
39
|
+
const SEQUENCERS = {
|
|
40
|
+
[IntegratedDevices.YONKER_OXIMETER]: onResult => new LiveOximeterSequencer({
|
|
41
|
+
readValues: frame => readOximeterData(frame, AOJ_VALUES, "spo2-pulse"),
|
|
42
|
+
onResult
|
|
43
|
+
}),
|
|
44
|
+
[IntegratedDevices.YONKER_BPM]: onResult => new YonkerSequencer({
|
|
45
|
+
kind: "blood-pressure",
|
|
46
|
+
onResult
|
|
47
|
+
}),
|
|
48
|
+
[IntegratedDevices.YONKER_THERMOMETER]: onResult => new YonkerSequencer({
|
|
49
|
+
kind: "thermometer",
|
|
50
|
+
onResult
|
|
51
|
+
}),
|
|
52
|
+
[IntegratedDevices.YONKER_SCALE]: onResult => new YonkerScaleSequencer({
|
|
53
|
+
onResult
|
|
54
|
+
}),
|
|
55
|
+
[IntegratedDevices.YONKER_80B]: onResult => new Yonker80bSequencer({
|
|
56
|
+
readValues: read80bMeasurement,
|
|
57
|
+
onResult
|
|
58
|
+
})
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Yonker YK-81C oximeters, YK-BPA blood-pressure monitors, YK-IRT4 thermometers, the AiLink
|
|
63
|
+
* weight scale and the YK-80B oximeter, with their rebrands.
|
|
64
|
+
*/
|
|
65
|
+
class YonkerDeviceClass extends BTManagedDevice {
|
|
66
|
+
stuckDataTimeout = 120_000;
|
|
67
|
+
onStreamStart = undefined;
|
|
68
|
+
constructor(device, params) {
|
|
69
|
+
super(device, params);
|
|
70
|
+
this.mainServices = SERVICES[params.deviceName];
|
|
71
|
+
if (params.deviceName === IntegratedDevices.YONKER_SCALE) {
|
|
72
|
+
this.frameReader = new AilinkFrameReader([0xa7]);
|
|
73
|
+
} else if (params.deviceName === IntegratedDevices.YONKER_80B) {
|
|
74
|
+
this.frameReader = new AilinkFrameReader([0xa6, 0xa7]);
|
|
75
|
+
}
|
|
76
|
+
this.createCommandSequencer = () => SEQUENCERS[params.deviceName](result => this.onResult?.(result));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** The oximeter, monitor and thermometer send one frame per notification. */
|
|
80
|
+
validatePackage = () => true;
|
|
81
|
+
handleSuccessResult() {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
export { YonkerDeviceClass as YonkerDevice };
|
|
86
|
+
//# sourceMappingURL=yonker.device.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["IntegratedDevices","BTManagedDevice","AOJ_VALUES","LiveOximeterSequencer","readOximeterData","AILINK_GATT","AilinkFrameReader","FIRMWARE_REQUEST","read80bMeasurement","YONKER_GATT","YonkerScaleSequencer","YonkerSequencer","passThrough","caseValuePosition","cases","service","uuid","notify","optional","monitorUuids","map","monitor","parsingModel","YONKER_SERVICES","notifyAlternate","uartService","uartNotify","SERVICES","YONKER_OXIMETER","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","YONKER_80B","Yonker80bSequencer","initialCommands","serviceUuid","characteristicUuid","writeShort","frame","SEQUENCERS","onResult","readValues","kind","YonkerDeviceClass","stuckDataTimeout","onStreamStart","undefined","constructor","device","params","mainServices","deviceName","frameReader","createCommandSequencer","result","validatePackage","handleSuccessResult","YonkerDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.device.ts"],"mappings":";;AAKA,SAASA,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,eAAe,QAAQ,yBAAsB;AACtD,SAASC,UAAU,EAAEC,qBAAqB,EAAEC,gBAAgB,QAAQ,+BAA4B;AAEhG,SACEC,WAAW,EACXC,iBAAiB,EACjBC,gBAAgB,EAChBC,kBAAkB,EAClBC,WAAW,QACN,sBAAmB;AAC1B,SAASC,oBAAoB,EAAEC,eAAe,QAAQ,uBAAoB;AAW1E,MAAMC,WAAW,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAExD,MAAMC,OA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IAAI,CAAC,CAAC;IACxD;IAEA,IAAI,CAAC+C,sBAAsB,GAAG,MAC5Bd,UAAU,CAACU,MAAM,CAACE,UAAU,CAAC,CAAEG,MAAM,IACnC,IAAI,CAACd,QAAQ,GACXc,MACF,CACF,CAAC;EACL;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;EAErCC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAEA,SAASb,iBAAiB,IAAIc,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/* eslint-disable import/group-exports */
|
|
4
|
+
|
|
5
|
+
import { FrameReadStatus } from "../../../types/frame-read-status.js";
|
|
6
|
+
import { hexToByte } from "../../../utils/hex-to-byte.js";
|
|
7
|
+
/**
|
|
8
|
+
* Yonker devices and their rebrands, from MedM Health Diary 3.12.11's `CYonker_*` classes.
|
|
9
|
+
*
|
|
10
|
+
* The oximeter, blood-pressure monitor and thermometer share one GATT map and send one frame
|
|
11
|
+
* per notification: a type byte (`80` live, `81` result) and its values, no length, no
|
|
12
|
+
* checksum. The scale (an AiLink module, MedM's `CConmo_WeightScale`) and the YK-80B oximeter
|
|
13
|
+
* frame everything as `A6|A7 xx xx LL CMD body CS 7A`.
|
|
14
|
+
*/
|
|
15
|
+
const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
|
|
16
|
+
export const YONKER_GATT = {
|
|
17
|
+
service: "cdeacd80-5235-4c07-8846-93a37ee6b86d",
|
|
18
|
+
notify: "cdeacd81-5235-4c07-8846-93a37ee6b86d",
|
|
19
|
+
notifyAlternate: "cdeacd82-5235-4c07-8846-93a37ee6b86d",
|
|
20
|
+
/** Nordic UART; MedM subscribes to its `…0002` characteristic. */
|
|
21
|
+
uartService: "6e400001-b5a3-f393-e0a9-e50e24dcca9e",
|
|
22
|
+
uartNotify: "6e400002-b5a3-f393-e0a9-e50e24dcca9e",
|
|
23
|
+
/** Where the blood-pressure monitor takes its clock. */
|
|
24
|
+
timeService: sig16("1804"),
|
|
25
|
+
timeWrite: sig16("2a07")
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** The scale and the YK-80B: notify on `ffe2`, long frames to `ffe1`, short ones to `ffe3`. */
|
|
29
|
+
export const AILINK_GATT = {
|
|
30
|
+
service: sig16("ffe0"),
|
|
31
|
+
writeLong: sig16("ffe1"),
|
|
32
|
+
notify: sig16("ffe2"),
|
|
33
|
+
writeShort: sig16("ffe3")
|
|
34
|
+
};
|
|
35
|
+
const bytes = frame => frame.map(byte => hexToByte(byte));
|
|
36
|
+
const toHex = values => values.map(value => (value & 0xff).toString(16).padStart(2, "0"));
|
|
37
|
+
const sum = values => values.reduce((total, value) => total + value, 0) & 0xff;
|
|
38
|
+
|
|
39
|
+
/** `8F YY MM DD hh mm` and nine zero bytes, local time. */
|
|
40
|
+
export const bpmSetTimeCommand = now => toHex([0x8f, now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), ...new Array(9).fill(0)]);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* `81 SYS DIA PULSE USER RECORD YY MM DD hh mm`, mmHg, local time. A zero year means the clock
|
|
44
|
+
* was never set, and the phone's time is used, as MedM does.
|
|
45
|
+
*/
|
|
46
|
+
export const readYonkerBloodPressure = (frame, now) => {
|
|
47
|
+
const b = bytes(frame);
|
|
48
|
+
if (b.length < 11 || b[0] !== 0x81 || !b[1] || !b[2]) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
const year = b[6] ?? 0;
|
|
52
|
+
const user = b[4] ?? 0;
|
|
53
|
+
return {
|
|
54
|
+
systolic: b[1],
|
|
55
|
+
diastolic: b[2],
|
|
56
|
+
...(b[3] ? {
|
|
57
|
+
heartRate: b[3]
|
|
58
|
+
} : {}),
|
|
59
|
+
recordedAt: year === 0 ? now : new Date(2000 + year, (b[7] ?? 1) - 1, b[8] ?? 1, b[9] ?? 0, b[10] ?? 0),
|
|
60
|
+
...(user > 0 ? {
|
|
61
|
+
memorySlot: user
|
|
62
|
+
} : {})
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* `80 hi lo FLAGS X`: hundredths of a degree; flags bit 1 marks Fahrenheit, which MedM ignores
|
|
68
|
+
* and the SDK converts.
|
|
69
|
+
*/
|
|
70
|
+
export const readYonkerTemperature = frame => {
|
|
71
|
+
const b = bytes(frame);
|
|
72
|
+
if (b.length < 5 || b[0] !== 0x80) {
|
|
73
|
+
return undefined;
|
|
74
|
+
}
|
|
75
|
+
const value = ((b[1] ?? 0) << 8 | (b[2] ?? 0)) / 100;
|
|
76
|
+
if (value === 0) {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
return ((b[3] ?? 0) & 0x02) !== 0 ? Math.round((value - 32) * 5 / 9 * 100) / 100 : value;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** `A7 ID ID (n+1) CMD payload CS 7A`, the checksum covering everything but the first byte. */
|
|
83
|
+
export const longFrame = (id, command, payload = []) => {
|
|
84
|
+
const covered = [id >> 8, id & 0xff, payload.length + 1, command, ...payload];
|
|
85
|
+
return toHex([0xa7, ...covered, sum(covered), 0x7a]);
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/** `A6 (n+1) CMD payload CS 6A`. */
|
|
89
|
+
export const shortFrame = (command, payload = []) => {
|
|
90
|
+
const covered = [payload.length + 1, command, ...payload];
|
|
91
|
+
return toHex([0xa6, ...covered, sum(covered), 0x6a]);
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/** Scale set time, command `37`: `YY MM DD hh mm ss weekday` (Sunday 1), local time. */
|
|
95
|
+
export const scaleSetTimeCommand = now => shortFrame(0x37, [now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds(), now.getDay() + 1]);
|
|
96
|
+
export const idOf = frame => hexToByte(frame[1] ?? "00") << 8 | hexToByte(frame[2] ?? "00");
|
|
97
|
+
export const commandOf = frame => hexToByte(frame[4] ?? "00");
|
|
98
|
+
export const bodyOf = frame => bytes(frame.slice(5, -2));
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Scale weight, command `02`: a u24 big-endian raw value, then precision (high nibble, decimal
|
|
102
|
+
* places) and unit (low nibble). Only kilograms (unit 0) are accepted - the SDK sets the scale to
|
|
103
|
+
* kilograms, and the other unit codes are not documented.
|
|
104
|
+
*/
|
|
105
|
+
export const readScaleWeight = body => {
|
|
106
|
+
const raw = (body[0] ?? 0) << 16 | (body[1] ?? 0) << 8 | (body[2] ?? 0);
|
|
107
|
+
const format = body[3] ?? 0;
|
|
108
|
+
if (body.length < 4 || raw === 0 || (format & 0x0f) !== 0) {
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
return raw / 10 ** (format >> 4);
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* YK-80B measurement, command `03`: status, SpO2, pulse, PI×10, battery, RR×10, waveform, bar,
|
|
116
|
+
* worn. Dropped when the status or worn flag is zero or the SpO2 is `FF`, as MedM does.
|
|
117
|
+
*/
|
|
118
|
+
export const read80bMeasurement = frame => {
|
|
119
|
+
const body = bodyOf(frame);
|
|
120
|
+
if (commandOf(frame) !== 0x03 || body.length < 9) {
|
|
121
|
+
return undefined;
|
|
122
|
+
}
|
|
123
|
+
const [status = 0, bloodOxygen = 0, pulseRate = 0, perfusionIndex = 0] = body;
|
|
124
|
+
if (status === 0 || body[8] === 0 || bloodOxygen === 0 || bloodOxygen > 100 || pulseRate === 0 || pulseRate === 0xff) {
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
bloodOxygen,
|
|
129
|
+
pulseRate,
|
|
130
|
+
...(perfusionIndex > 0 && perfusionIndex !== 0xff ? {
|
|
131
|
+
perfusionIndex: perfusionIndex / 10
|
|
132
|
+
} : {})
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/** YK-80B firmware request, the one command MedM writes to it. */
|
|
137
|
+
export const FIRMWARE_REQUEST = shortFrame(0x0e);
|
|
138
|
+
|
|
139
|
+
/** Isolates checked `A7 … 7A` frames (and `A6 … 7A` for the YK-80B) across notifications. */
|
|
140
|
+
export class AilinkFrameReader {
|
|
141
|
+
constructor(starts) {
|
|
142
|
+
this.starts = starts;
|
|
143
|
+
}
|
|
144
|
+
readFrame(buffer) {
|
|
145
|
+
const values = bytes(buffer);
|
|
146
|
+
const start = values.findIndex(value => this.starts.includes(value));
|
|
147
|
+
if (start === -1) {
|
|
148
|
+
return {
|
|
149
|
+
status: FrameReadStatus.INCOMPLETE,
|
|
150
|
+
consumedBytes: values.length
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
if (start + 4 > values.length) {
|
|
154
|
+
return {
|
|
155
|
+
status: FrameReadStatus.INCOMPLETE,
|
|
156
|
+
consumedBytes: start
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
const length = (values[start + 3] ?? 0) + 6;
|
|
160
|
+
if (length < 7) {
|
|
161
|
+
return {
|
|
162
|
+
status: FrameReadStatus.CORRUPT,
|
|
163
|
+
consumedBytes: start + 1
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
if (start + length > values.length) {
|
|
167
|
+
return {
|
|
168
|
+
status: FrameReadStatus.INCOMPLETE,
|
|
169
|
+
consumedBytes: start
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
const received = values.slice(start, start + length);
|
|
173
|
+
if (received[length - 1] !== 0x7a || received[length - 2] !== sum(received.slice(1, -2))) {
|
|
174
|
+
return {
|
|
175
|
+
status: FrameReadStatus.CORRUPT,
|
|
176
|
+
consumedBytes: start + 1
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
return {
|
|
180
|
+
status: FrameReadStatus.COMPLETE,
|
|
181
|
+
consumedBytes: start + length,
|
|
182
|
+
frame: buffer.slice(start, start + length)
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
//# sourceMappingURL=yonker.protocol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FrameReadStatus","hexToByte","sig16","assigned","YONKER_GATT","service","notify","notifyAlternate","uartService","uartNotify","timeService","timeWrite","AILINK_GATT","writeLong","writeShort","bytes","frame","map","byte","toHex","values","value","toString","padStart","sum","reduce","total","bpmSetTimeCommand","now","getFullYear","getMonth","getDate","getHours","getMinutes","Array","fill","readYonkerBloodPressure","b","length","undefined","year","user","systolic","diastolic","heartRate","recordedAt","Date","memorySlot","readYonkerTemperature","Math","round","longFrame","id","command","payload","covered","shortFrame","scaleSetTimeCommand","getSeconds","getDay","idOf","commandOf","bodyOf","slice","readScaleWeight","body","raw","format","read80bMeasurement","status","bloodOxygen","pulseRate","perfusionIndex","FIRMWARE_REQUEST","AilinkFrameReader","constructor","starts","readFrame","buffer","start","findIndex","includes","INCOMPLETE","consumedBytes","CORRUPT","received","COMPLETE"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.protocol.ts"],"mappings":";;AAAA;;AAGA,SAASA,eAAe,QAAQ,qCAAkC;AAElE,SAASC,SAAS,QAAQ,+BAA4B;AAGtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,KAAK,GAAIC,QAAgB,IAAa,OAAOA,QAAQ,8BAA8B;AAEzF,OAAO,MAAMC,WAAW,GAAG;EACzBC,OAAO,EAAE,sCAAsC;EAC/CC,MAAM,EAAE,sCAAsC;EAC9CC,eAAe,EAAE,sCAAsC;EAEvD;EACAC,WAAW,EAAE,sCAAsC;EACnDC,UAAU,EAAE,sCAAsC;EAElD;EACAC,WAAW,EAAER,KAAK,CAAC,MAAM,CAAC;EAC1BS,SAAS,EAAET,KAAK,CAAC,MAAM;AACzB,CAAU;;AAEV;AACA,OAAO,MAAMU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
+
|
|
3
|
+
import { MeasurementTypeKey } from "@ovok/core";
|
|
4
|
+
import { CaseType } from "../../../types/case-type.js";
|
|
5
|
+
import { AILINK_GATT, bodyOf, bpmSetTimeCommand, commandOf, idOf, longFrame, readScaleWeight, readYonkerBloodPressure, readYonkerTemperature, scaleSetTimeCommand, shortFrame, YONKER_GATT } from "./yonker.protocol.js";
|
|
6
|
+
|
|
7
|
+
/** A thermometer that repeats the same temperature within this window is reporting it again. */
|
|
8
|
+
const REPEAT_WINDOW_MS = 30_000;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The Yonker blood-pressure monitor and thermometer push one frame per reading. The monitor is
|
|
12
|
+
* sent the time on connect and then pushes its records by itself.
|
|
13
|
+
*/
|
|
14
|
+
class YonkerSequencer {
|
|
15
|
+
recorded = false;
|
|
16
|
+
constructor(params) {
|
|
17
|
+
this.params = params;
|
|
18
|
+
}
|
|
19
|
+
initialCommands = () => this.params.kind === "blood-pressure" ? [{
|
|
20
|
+
serviceUuid: YONKER_GATT.timeService,
|
|
21
|
+
characteristicUuid: YONKER_GATT.timeWrite,
|
|
22
|
+
frame: bpmSetTimeCommand(this.now())
|
|
23
|
+
}] : [];
|
|
24
|
+
isNormalDisconnect = () => this.recorded;
|
|
25
|
+
nextCommand = frame => {
|
|
26
|
+
const reading = this.params.kind === "blood-pressure" ? this.bloodPressure(frame) : this.temperature(frame);
|
|
27
|
+
if (reading) {
|
|
28
|
+
this.recorded = true;
|
|
29
|
+
this.params.onResult({
|
|
30
|
+
caseType: CaseType.RESULT,
|
|
31
|
+
...reading
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
};
|
|
36
|
+
bloodPressure = frame => {
|
|
37
|
+
const reading = readYonkerBloodPressure(frame, this.now());
|
|
38
|
+
return reading && {
|
|
39
|
+
measurementTypeKey: MeasurementTypeKey.bloodPressure,
|
|
40
|
+
...reading
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
temperature = frame => {
|
|
44
|
+
const bodyTemp = readYonkerTemperature(frame);
|
|
45
|
+
const now = this.now();
|
|
46
|
+
if (bodyTemp === undefined || this.lastTemperature?.value === bodyTemp && now.getTime() - this.lastTemperature.at < REPEAT_WINDOW_MS) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
this.lastTemperature = {
|
|
50
|
+
value: bodyTemp,
|
|
51
|
+
at: now.getTime()
|
|
52
|
+
};
|
|
53
|
+
return {
|
|
54
|
+
measurementTypeKey: MeasurementTypeKey.temperature,
|
|
55
|
+
bodyTemp,
|
|
56
|
+
recordedAt: now
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
now = () => this.params.now?.() ?? new Date();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** What the scale's frames ask for. */
|
|
63
|
+
const SCALE = {
|
|
64
|
+
weight: 0x02,
|
|
65
|
+
completed: 0x0a,
|
|
66
|
+
completedAck: 0x0f,
|
|
67
|
+
timeRequest: 0x38
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/** The id word long frames carry until the scale has sent its own. */
|
|
71
|
+
const DEFAULT_SCALE_ID = 0x0032;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The AiLink scale: disables its encryption, then two seconds later sets the time and kilograms
|
|
75
|
+
* and asks for its software info, as MedM does. Weight frames repeat while it settles; the last
|
|
76
|
+
* one is reported when the scale says the measurement is complete. Body composition is not read.
|
|
77
|
+
*/
|
|
78
|
+
class YonkerScaleSequencer {
|
|
79
|
+
id = DEFAULT_SCALE_ID;
|
|
80
|
+
recorded = false;
|
|
81
|
+
constructor(params) {
|
|
82
|
+
this.params = params;
|
|
83
|
+
}
|
|
84
|
+
initialCommands = () => [this.short(shortFrame(0x42, [0x01, 0x00])), this.short(scaleSetTimeCommand(this.now()), 2_000), this.long(0x81, [0x01]), this.long(0x0e)];
|
|
85
|
+
isNormalDisconnect = () => this.recorded;
|
|
86
|
+
nextCommand = frame => {
|
|
87
|
+
this.id = idOf(frame) || this.id;
|
|
88
|
+
switch (commandOf(frame)) {
|
|
89
|
+
case SCALE.weight:
|
|
90
|
+
this.pendingWeight = readScaleWeight(bodyOf(frame));
|
|
91
|
+
return undefined;
|
|
92
|
+
case SCALE.completedAck:
|
|
93
|
+
this.report();
|
|
94
|
+
return [this.long(0x84, [0x00])];
|
|
95
|
+
case SCALE.completed:
|
|
96
|
+
this.report();
|
|
97
|
+
return undefined;
|
|
98
|
+
case SCALE.timeRequest:
|
|
99
|
+
return [this.short(scaleSetTimeCommand(this.now()))];
|
|
100
|
+
default:
|
|
101
|
+
return undefined;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
report = () => {
|
|
105
|
+
const bodyWeight = this.pendingWeight;
|
|
106
|
+
this.pendingWeight = undefined;
|
|
107
|
+
if (bodyWeight !== undefined) {
|
|
108
|
+
this.recorded = true;
|
|
109
|
+
this.params.onResult({
|
|
110
|
+
caseType: CaseType.RESULT,
|
|
111
|
+
measurementTypeKey: MeasurementTypeKey.bodyWeight,
|
|
112
|
+
bodyWeight,
|
|
113
|
+
recordedAt: this.now()
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
now = () => this.params.now?.() ?? new Date();
|
|
118
|
+
long = (command, payload = []) => ({
|
|
119
|
+
serviceUuid: AILINK_GATT.service,
|
|
120
|
+
characteristicUuid: AILINK_GATT.writeLong,
|
|
121
|
+
frame: longFrame(this.id, command, payload)
|
|
122
|
+
});
|
|
123
|
+
short = (frame, delayBeforeWriteMs) => ({
|
|
124
|
+
serviceUuid: AILINK_GATT.service,
|
|
125
|
+
characteristicUuid: AILINK_GATT.writeShort,
|
|
126
|
+
frame,
|
|
127
|
+
...(delayBeforeWriteMs ? {
|
|
128
|
+
delayBeforeWriteMs
|
|
129
|
+
} : {})
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
export { YonkerScaleSequencer, YonkerSequencer };
|
|
133
|
+
//# sourceMappingURL=yonker.sequencer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","AILINK_GATT","bodyOf","bpmSetTimeCommand","commandOf","idOf","longFrame","readScaleWeight","readYonkerBloodPressure","readYonkerTemperature","scaleSetTimeCommand","shortFrame","YONKER_GATT","REPEAT_WINDOW_MS","YonkerSequencer","recorded","constructor","params","initialCommands","kind","serviceUuid","timeService","characteristicUuid","timeWrite","frame","now","isNormalDisconnect","nextCommand","reading","bloodPressure","temperature","onResult","caseType","RESULT","undefined","measurementTypeKey","bodyTemp","lastTemperature","value","getTime","at","recordedAt","Date","SCALE","weight","completed","completedAck","timeRequest","DEFAULT_SCALE_ID","YonkerScaleSequencer","id","short","long","pendingWeight","report","bodyWeight","command","payload","service","writeLong","delayBeforeWriteMs","writeShort"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.sequencer.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAE/C,SAASC,QAAQ,QAAQ,6BAA0B;AAInD,SACEC,WAAW,EACXC,MAAM,EACNC,iBAAiB,EACjBC,SAAS,EACTC,IAAI,EACJC,SAAS,EACTC,eAAe,EACfC,uBAAuB,EACvBC,qBAAqB,EACrBC,mBAAmB,EACnBC,UAAU,EACVC,WAAW,QACN,sBAAmB;;AAE1B;AACA,MAAMC,gBAAgB,GAAG,MAAM;;AAE/B;AACA;AACA;AACA;AACA,MAAMC,eAAe,CAA6B;EACxCC,QAAQ,GAAG,KAAK;EAGjBC,WAAWA,CACCC,MAIhB,EACD;IAAA,KALiBA,MAIhB,GAJgBA,MAIhB;EACA;EAEIC,eAAe,GAAGA,CAAA,KACvB,IAAI,CAACD,MAAM,CAACE,IAAI,KAAK,gBAAgB,GACjC,CACE;IACEC,WAAW,EAAER,WAAW,CAACS,WAAW;IACpCC,kBAAkB,EAAEV,WAAW,CAACW,SAAS;IACzCC,KAAK,EAAErB,iBAAiB,CAAC,IAAI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AEC,OAAO;EAC5C,CAAC,CAAC;EAEMN,KAAK,GAAGA,CAAC3B,KAAwB,EAAEoC,kBAA2B,MAAqB;IACzFxC,WAAW,EAAEnB,WAAW,CAACyD,OAAO;IAChCpC,kBAAkB,EAAErB,WAAW,CAAC4D,UAAU;IAC1CrC,KAAK;IACL,IAAIoC,kBAAkB,GAAG;MAAEA;IAAmB,CAAC,GAAG,CAAC,CAAC;EACtD,CAAC,CAAC;AACJ;AAEA,SAASX,oBAAoB,EAAEnC,eAAe","ignoreList":[]}
|
|
@@ -30,6 +30,8 @@ export const clockSyncCapabilityForDevice = deviceName => {
|
|
|
30
30
|
case IntegratedDevices.VEROVAL_ECG:
|
|
31
31
|
case IntegratedDevices.AOJ20A:
|
|
32
32
|
case IntegratedDevices.BP2:
|
|
33
|
+
case IntegratedDevices.RPM_SCALE:
|
|
34
|
+
case IntegratedDevices.MAMBO_A5:
|
|
33
35
|
case IntegratedDevices.VIATOM_R20:
|
|
34
36
|
case IntegratedDevices.VIATOM_R200:
|
|
35
37
|
case IntegratedDevices.VIATOM_BBSM_BS1:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","isClockSyncEnabled","options","enabled","getClockParts","date","timezone","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","milliseconds","getUTCMilliseconds","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","clockSyncCapabilityForDevice","deviceName","BC01","MYSENSE","VEROVAL_ECG","AOJ20A","BP2","VIATOM_R20","VIATOM_R200","VIATOM_BBSM_BS1","VEROVAL_ACTIVITY","GENIAL_T31","ZH_SG_A606","TRASENSE_S9"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/clock-sync.ts"],"mappings":";;AAAA;;AAEA,SAASA,iBAAiB,QAAQ,yBAAsB;AAkBxD,OAAO,MAAMC,kBAAkB,GAAIC,OAA0B,IAC3DA,OAAO,EA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Enabled","options","enabled","getClockParts","date","timezone","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","milliseconds","getUTCMilliseconds","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","clockSyncCapabilityForDevice","deviceName","BC01","MYSENSE","VEROVAL_ECG","AOJ20A","BP2","RPM_SCALE","MAMBO_A5","VIATOM_R20","VIATOM_R200","VIATOM_BBSM_BS1","VEROVAL_ACTIVITY","GENIAL_T31","ZH_SG_A606","TRASENSE_S9"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/clock-sync.ts"],"mappings":";;AAAA;;AAEA,SAASA,iBAAiB,QAAQ,yBAAsB;AAkBxD,OAAO,MAAMC,kBAAkB,GAAIC,OAA0B,IAC3DA,OAAO,EAAEC,OAAO,KAAK,KAAK;AAE5B,OAAO,MAAMC,aAAa,GAAGA,CAC3BC,IAAU,EACVC,QAA2B,GAAG,OAAO,KAErCA,QAAQ,KAAK,KAAK,GACd;EACEC,IAAI,EAAEF,IAAI,CAACG,cAAc,CAAC,CAAC;EAC3BC,KAAK,EAAEJ,IAAI,CAACK,WAAW,CAAC,CAAC,GAAG,CAAC;EAC7BC,GAAG,EAAEN,IAAI,CAACO,UAAU,CAAC,CAAC;EACtBC,KAAK,EAAER,IAAI,CAACS,WAAW,CAAC,CAAC;EACzBC,OAAO,EAAEV,IAAI,CAACW,aAAa,CAAC,CAAC;EAC7BC,OAAO,EAAEZ,IAAI,CAACa,aAAa,CAAC,CAAC;EAC7BC,YAAY,EAAEd,IAAI,CAACe,kBAAkB,CAAC;AACxC,CAAC,GACD;EACEb,IAAI,EAAEF,IAAI,CAACgB,WAAW,CAAC,CAAC;EACxBZ,KAAK,EAAEJ,IAAI,CAACiB,QAAQ,CAAC,CAAC,GAAG,CAAC;EAC1BX,GAAG,EAAEN,IAAI,CAACkB,OAAO,CAAC,CAAC;EACnBV,KAAK,EAAER,IAAI,CAACmB,QAAQ,CAAC,CAAC;EACtBT,OAAO,EAAEV,IAAI,CAACoB,UAAU,CAAC,CAAC;EAC1BR,OAAO,EAAEZ,IAAI,CAACqB,UAAU,CAAC,CAAC;EAC1BP,YAAY,EAAEd,IAAI,CAACsB,eAAe,CAAC;AACrC,CAAC;;AAEP;AACA,OAAO,MAAMC,4BAA4B,GACvCC,UAAkB,IACM;EACxB,QAAQA,UAAU;IAChB,KAAK7B,iBAAiB,CAAC8B,IAAI;IAC3B,KAAK9B,iBAAiB,CAAC+B,OAAO;IAC9B,KAAK/B,iBAAiB,CAACgC,WAAW;IAClC,KAAKhC,iBAAiB,CAACiC,MAAM;IAC7B,KAAKjC,iBAAiB,CAACkC,GAAG;IAC1B,KAAKlC,iBAAiB,CAACmC,SAAS;IAChC,KAAKnC,iBAAiB,CAACoC,QAAQ;IAC/B,KAAKpC,iBAAiB,CAACqC,UAAU;IACjC,KAAKrC,iBAAiB,CAACsC,WAAW;IAClC,KAAKtC,iBAAiB,CAACuC,eAAe;MACpC,OAAO,WAAW;IACpB,KAAKvC,iBAAiB,CAACwC,gBAAgB;MACrC,OAAO,aAAa;IACtB,KAAKxC,iBAAiB,CAACyC,UAAU;IACjC,KAAKzC,iBAAiB,CAAC0C,UAAU;IACjC,KAAK1C,iBAAiB,CAAC2C,WAAW;MAChC,OAAO,WAAW;IACpB;MACE,OAAO,SAAS;EACpB;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/device-measurement-map.ts"],"mappings":";;AAiBA,SAASA,iBAAiB,QAAQ,yBAAsB;;
|
|
1
|
+
{"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/device-measurement-map.ts"],"mappings":";;AAiBA,SAASA,iBAAiB,QAAQ,yBAAsB;;AAoJxD;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -17,6 +17,7 @@ export let IntegratedDevices = /*#__PURE__*/function (IntegratedDevices) {
|
|
|
17
17
|
IntegratedDevices["BC01"] = "BC01";
|
|
18
18
|
IntegratedDevices["FORA_SCALE"] = "FORA W550";
|
|
19
19
|
IntegratedDevices["RPM_SCALE"] = "GBS-2012-B";
|
|
20
|
+
IntegratedDevices["MAMBO_A5"] = "Mambo A5";
|
|
20
21
|
IntegratedDevices["CLEVERTEMP"] = "TAIDOC TD1107";
|
|
21
22
|
IntegratedDevices["CMED"] = "cmed";
|
|
22
23
|
IntegratedDevices["SP80B"] = "PULMO80B";
|
|
@@ -73,6 +74,24 @@ export let IntegratedDevices = /*#__PURE__*/function (IntegratedDevices) {
|
|
|
73
74
|
IntegratedDevices["JUMPER_THERMOMETER"] = "Jumper Thermometer";
|
|
74
75
|
IntegratedDevices["JOYTECH_BPM"] = "Joytech BPM";
|
|
75
76
|
IntegratedDevices["JOYTECH_THERMOMETER"] = "Joytech Thermometer";
|
|
77
|
+
IntegratedDevices["AND_BPM"] = "A&D BPM";
|
|
78
|
+
IntegratedDevices["AND_BPM_CTS"] = "A&D BPM CTS";
|
|
79
|
+
IntegratedDevices["AND_SCALE"] = "A&D Scale";
|
|
80
|
+
IntegratedDevices["YONKER_OXIMETER"] = "Yonker Oximeter";
|
|
81
|
+
IntegratedDevices["YONKER_BPM"] = "Yonker BPM";
|
|
82
|
+
IntegratedDevices["YONKER_THERMOMETER"] = "Yonker Thermometer";
|
|
83
|
+
IntegratedDevices["YONKER_SCALE"] = "Yonker Scale";
|
|
84
|
+
IntegratedDevices["YONKER_80B"] = "Yonker 80B";
|
|
85
|
+
IntegratedDevices["COFOE_BPM"] = "Cofoe BPM";
|
|
86
|
+
IntegratedDevices["COFOE_BPM_HISTORY"] = "Cofoe BPM History";
|
|
87
|
+
IntegratedDevices["COFOE_GLUCOMETER"] = "Cofoe Glucometer";
|
|
88
|
+
IntegratedDevices["COFOE_GLUCOMETER_CGH25"] = "Cofoe Glucometer CGH25";
|
|
89
|
+
IntegratedDevices["COFOE_THERMOMETER"] = "Cofoe Thermometer";
|
|
90
|
+
IntegratedDevices["TAIDOC_MULTI"] = "TaiDoc Multi";
|
|
91
|
+
IntegratedDevices["TAIDOC_BPM"] = "TaiDoc BPM";
|
|
92
|
+
IntegratedDevices["TAIDOC_THERMOMETER"] = "TaiDoc Thermometer";
|
|
93
|
+
IntegratedDevices["TAIDOC_OXIMETER"] = "TaiDoc Oximeter";
|
|
94
|
+
IntegratedDevices["TAIDOC_SCALE"] = "TaiDoc Scale";
|
|
76
95
|
return IntegratedDevices;
|
|
77
96
|
}({});
|
|
78
97
|
//# sourceMappingURL=integrated-devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;AAAA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAA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EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -16,8 +16,8 @@ declare const useSignIn: (options: SignInOptions) => {
|
|
|
16
16
|
mfaError: Error | undefined;
|
|
17
17
|
error?: Error | undefined;
|
|
18
18
|
status: import("./use-auth-action").AuthActionStatus;
|
|
19
|
-
loading: boolean;
|
|
20
19
|
reset: () => void;
|
|
20
|
+
loading: boolean;
|
|
21
21
|
run: (args_0: SignInCredentials) => Promise<import("@ovok/core").AuthResponse | import("@ovok/core").MfaLoginStep>;
|
|
22
22
|
};
|
|
23
23
|
export { SignInCredentials, SignInOptions, useSignIn };
|
package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CA4FrE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VariantArt } from "./supported-device-catalog-variants";
|
|
2
|
+
/** Catalog art for `AND_MEDICAL_DEVICE_VARIANTS`, keyed by model. */
|
|
3
|
+
declare const AND_MEDICAL_VARIANT_ART: Readonly<Record<string, VariantArt>>;
|
|
4
|
+
export { AND_MEDICAL_VARIANT_ART };
|
|
5
|
+
//# sourceMappingURL=supported-device-catalog-and-medical-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-and-medical-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAStE,qEAAqE;AACrE,QAAA,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAqCjE,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VariantArt } from "./supported-device-catalog-variants";
|
|
2
|
+
/** Catalog art for `COFOE_DEVICE_VARIANTS`, keyed by model. */
|
|
3
|
+
declare const COFOE_VARIANT_ART: Readonly<Record<string, VariantArt>>;
|
|
4
|
+
export { COFOE_VARIANT_ART };
|
|
5
|
+
//# sourceMappingURL=supported-device-catalog-cofoe-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-cofoe-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAWtE,+DAA+D;AAC/D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CA6G3D,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supported-device-catalog-standard-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-standard-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAiBtE;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-standard-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-standard-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAiBtE;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CA+9B9D,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VariantArt } from "./supported-device-catalog-variants";
|
|
2
|
+
/** Catalog art for `TAIDOC_DEVICE_VARIANTS`, keyed by model. */
|
|
3
|
+
declare const TAIDOC_VARIANT_ART: Readonly<Record<string, VariantArt>>;
|
|
4
|
+
export { TAIDOC_VARIANT_ART };
|
|
5
|
+
//# sourceMappingURL=supported-device-catalog-taidoc-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-taidoc-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAetE,gEAAgE;AAChE,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAmK5D,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VariantArt } from "./supported-device-catalog-variants";
|
|
2
|
+
/** Catalog art for `TRANSTEK_A6_DEVICE_VARIANTS`, keyed by model. */
|
|
3
|
+
declare const TRANSTEK_A6_VARIANT_ART: Readonly<Record<string, VariantArt>>;
|
|
4
|
+
export { TRANSTEK_A6_VARIANT_ART };
|
|
5
|
+
//# sourceMappingURL=supported-device-catalog-transtek-a6-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-transtek-a6-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-transtek-a6-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAOtE,qEAAqE;AACrE,QAAA,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAiGjE,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supported-device-catalog-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAuB3D,4EAA4E;AAC5E,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAkSF,wFAAwF;AACxF,QAAA,MAAM,cAAc,EAAE,SAAS,eAAe,EAe7C,CAAC;AAEF,6FAA6F;AAC7F,QAAA,MAAM,gBAAgB,GACpB,OAAO,MAAM,EACb,SAAS,MAAM,KACd,eAAe,GAAG,SAOpB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VariantArt } from "./supported-device-catalog-variants";
|
|
2
|
+
/** Catalog art for `YONKER_DEVICE_VARIANTS`, keyed by model. */
|
|
3
|
+
declare const YONKER_VARIANT_ART: Readonly<Record<string, VariantArt>>;
|
|
4
|
+
export { YONKER_VARIANT_ART };
|
|
5
|
+
//# sourceMappingURL=supported-device-catalog-yonker-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-device-catalog-yonker-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-yonker-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAatE,gEAAgE;AAChE,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAuG5D,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supported-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-devices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAgGhF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,yBAAyB,GAAG,eAAe,GAAG;IACjD,EAAE,EAAE,MAAM,CAAC;IAEX,4DAA4D;IAC5D,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,gBAAgB,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF;;;;;;;GAOG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oOAgOkC,CAAC;
|
|
1
|
+
{"version":3,"file":"supported-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-devices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAgGhF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,yBAAyB,GAAG,eAAe,GAAG;IACjD,EAAE,EAAE,MAAM,CAAC;IAEX,4DAA4D;IAC5D,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,gBAAgB,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF;;;;;;;GAOG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oOAgOkC,CAAC;AAkkBhD,+FAA+F;AAC/F,QAAA,MAAM,gBAAgB,EAAE,SAAS,yBAAyB,EAoBH,CAAC;AAExD,QAAA,MAAM,iBAAiB,sCAAmB,CAAC;AAK3C,iFAAiF;AACjF,QAAA,MAAM,0BAA0B,EAAE,SAAS,cAAc,EAMxD,CAAC;AAEF,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,GACjB,CAAC;AACF,YAAY,EAAE,eAAe,EAAE,yBAAyB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DeviceVariant } from "./device-variants";
|
|
2
|
+
/** A&D Medical products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
|
|
3
|
+
declare const AND_MEDICAL_DEVICE_VARIANTS: readonly DeviceVariant[];
|
|
4
|
+
export { AND_MEDICAL_DEVICE_VARIANTS };
|
|
5
|
+
//# sourceMappingURL=and-medical-device-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and-medical-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/and-medical-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,0GAA0G;AAC1G,QAAA,MAAM,2BAA2B,EAAE,SAAS,aAAa,EAoCxD,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|