@ovok/native 1.10.10 → 1.10.11
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 +19 -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-variants.js +8 -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 +2 -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 +84 -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 +5 -1
- package/lib/commonjs/modules/bt-management/constants/device-variants.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/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/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 +23 -1
- package/lib/commonjs/modules/bt-management/services/device-classes.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-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/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/integrated-devices.js +18 -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 +19 -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-variants.js +8 -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 +2 -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 +82 -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 +5 -1
- package/lib/module/modules/bt-management/constants/device-variants.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/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/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 +23 -1
- package/lib/module/modules/bt-management/services/device-classes.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-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/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/device-measurement-map.js.map +1 -1
- package/lib/module/modules/bt-management/types/integrated-devices.js +18 -0
- package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-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-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/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/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/services/background-sync/background-service-uuids.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts +22 -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/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-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/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/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 +18 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +19 -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/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-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/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/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/services/background-sync/background-service-uuids.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts +22 -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/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-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/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/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 +18 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +19 -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,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
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,CAACsB,GAAG,CAAC,CAAC;EACrC,CAAC,CACF,GACD,EAAE;EAEDC,kBAAkB,GAAGA,CAAA,KAAe,IAAI,CAACX,QAAQ;EAEjDY,WAAW,GAAIH,KAAwB,IAAgB;IAC5D,MAAMI,OAAO,GACX,IAAI,CAACX,MAAM,CAACE,IAAI,KAAK,gBAAgB,GAAG,IAAI,CAACU,aAAa,CAACL,KAAK,CAAC,GAAG,IAAI,CAACM,WAAW,CAACN,KAAK,CAAC;IAE7F,IAAII,OAAO,EAAE;MACX,IAAI,CAACb,QAAQ,GAAG,IAAI;MACpB,IAAI,CAACE,MAAM,CAACc,QAAQ,CAAC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../../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;;AAmJxD;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -73,6 +73,24 @@ export let IntegratedDevices = /*#__PURE__*/function (IntegratedDevices) {
|
|
|
73
73
|
IntegratedDevices["JUMPER_THERMOMETER"] = "Jumper Thermometer";
|
|
74
74
|
IntegratedDevices["JOYTECH_BPM"] = "Joytech BPM";
|
|
75
75
|
IntegratedDevices["JOYTECH_THERMOMETER"] = "Joytech Thermometer";
|
|
76
|
+
IntegratedDevices["AND_BPM"] = "A&D BPM";
|
|
77
|
+
IntegratedDevices["AND_BPM_CTS"] = "A&D BPM CTS";
|
|
78
|
+
IntegratedDevices["AND_SCALE"] = "A&D Scale";
|
|
79
|
+
IntegratedDevices["YONKER_OXIMETER"] = "Yonker Oximeter";
|
|
80
|
+
IntegratedDevices["YONKER_BPM"] = "Yonker BPM";
|
|
81
|
+
IntegratedDevices["YONKER_THERMOMETER"] = "Yonker Thermometer";
|
|
82
|
+
IntegratedDevices["YONKER_SCALE"] = "Yonker Scale";
|
|
83
|
+
IntegratedDevices["YONKER_80B"] = "Yonker 80B";
|
|
84
|
+
IntegratedDevices["COFOE_BPM"] = "Cofoe BPM";
|
|
85
|
+
IntegratedDevices["COFOE_BPM_HISTORY"] = "Cofoe BPM History";
|
|
86
|
+
IntegratedDevices["COFOE_GLUCOMETER"] = "Cofoe Glucometer";
|
|
87
|
+
IntegratedDevices["COFOE_GLUCOMETER_CGH25"] = "Cofoe Glucometer CGH25";
|
|
88
|
+
IntegratedDevices["COFOE_THERMOMETER"] = "Cofoe Thermometer";
|
|
89
|
+
IntegratedDevices["TAIDOC_MULTI"] = "TaiDoc Multi";
|
|
90
|
+
IntegratedDevices["TAIDOC_BPM"] = "TaiDoc BPM";
|
|
91
|
+
IntegratedDevices["TAIDOC_THERMOMETER"] = "TaiDoc Thermometer";
|
|
92
|
+
IntegratedDevices["TAIDOC_OXIMETER"] = "TaiDoc Oximeter";
|
|
93
|
+
IntegratedDevices["TAIDOC_SCALE"] = "TaiDoc Scale";
|
|
76
94
|
return IntegratedDevices;
|
|
77
95
|
}({});
|
|
78
96
|
//# 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;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;E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B;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":[]}
|
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,CA2FrE,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"}
|
|
@@ -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;AAsB3D,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;AAiSF,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;AA+jBhD,+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"}
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MeasurementTypeKey } from "@ovok/core";
|
|
2
|
+
import { IntegratedDevices } from "../types/integrated-devices";
|
|
3
|
+
/**
|
|
4
|
+
* What each built-in parser measures, for parsers whose GATT declaration doesn't say: the
|
|
5
|
+
* sequencer-driven devices decode their frames in code, so their parsing models carry no cases.
|
|
6
|
+
*/
|
|
7
|
+
declare const BUILT_IN_MEASUREMENT_TYPES: Partial<Record<IntegratedDevices, readonly MeasurementTypeKey[]>>;
|
|
8
|
+
export { BUILT_IN_MEASUREMENT_TYPES };
|
|
9
|
+
//# sourceMappingURL=built-in-measurement-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"built-in-measurement-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/built-in-measurement-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE;;;GAGG;AACH,QAAA,MAAM,0BAA0B,EAAE,OAAO,CACvC,MAAM,CAAC,iBAAiB,EAAE,SAAS,kBAAkB,EAAE,CAAC,CA8EzD,CAAC;AAEF,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DeviceVariant } from "./device-variants";
|
|
2
|
+
/** Cofoe products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
|
|
3
|
+
declare const COFOE_DEVICE_VARIANTS: readonly DeviceVariant[];
|
|
4
|
+
export { COFOE_DEVICE_VARIANTS };
|
|
5
|
+
//# sourceMappingURL=cofoe-device-variants.d.ts.map
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cofoe-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/cofoe-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,oGAAoG;AACpG,QAAA,MAAM,qBAAqB,EAAE,SAAS,aAAa,EA+GlD,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/device-variants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAahE,oFAAoF;AACpF,KAAK,iBAAiB,GAClB,yBAAyB,GACzB,wBAAwB,GACxB,2BAA2B,GAC3B,qBAAqB,GACrB,sBAAsB,GACtB,kCAAkC,CAAC;AAEvC;;;;;;GAMG;AACH,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA4QF,QAAA,MAAM,eAAe,EAAE,SAAS,aAAa,EAY5C,CAAC;AAEF,+FAA+F;AAC/F,QAAA,MAAM,iBAAiB,GACrB,QAAQ,MAAM,EACd,gBAAgB,MAAM,KACrB,aAAa,GAAG,SAKhB,CAAC;AAEJ,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAC9C,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standard-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/standard-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,wBAAwB,EAAE,SAAS,aAAa,
|
|
1
|
+
{"version":3,"file":"standard-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/standard-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,wBAAwB,EAAE,SAAS,aAAa,EA67BrD,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DeviceVariant } from "./device-variants";
|
|
2
|
+
/** TaiDoc and FORA products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
|
|
3
|
+
declare const TAIDOC_DEVICE_VARIANTS: readonly DeviceVariant[];
|
|
4
|
+
export { TAIDOC_DEVICE_VARIANTS };
|
|
5
|
+
//# sourceMappingURL=taidoc-device-variants.d.ts.map
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taidoc-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/taidoc-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,8GAA8G;AAC9G,QAAA,MAAM,sBAAsB,EAAE,SAAS,aAAa,EAkKnD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DeviceVariant } from "./device-variants";
|
|
2
|
+
/** Yonker products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
|
|
3
|
+
declare const YONKER_DEVICE_VARIANTS: readonly DeviceVariant[];
|
|
4
|
+
export { YONKER_DEVICE_VARIANTS };
|
|
5
|
+
//# sourceMappingURL=yonker-device-variants.d.ts.map
|
package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yonker-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/yonker-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,qGAAqG;AACrG,QAAA,MAAM,sBAAsB,EAAE,SAAS,aAAa,EAqGnD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-service-uuids.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-service-uuids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"background-service-uuids.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-service-uuids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAqF7D,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,SAAS,cAAc,EAAE,EAC1C,yBAAwB,SAAS,MAAM,EAAO,KAC7C,MAAM,EAAE,GAAG,IAsBb,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { A606Device } from "./devices/a606/a606.device";
|
|
2
|
+
import { AndMedicalDevice } from "./devices/and-medical/and-medical.device";
|
|
2
3
|
import { Aoj70bDevice } from "./devices/aoj/aoj-70b.device";
|
|
3
4
|
import { AojBpDevice } from "./devices/aoj/aoj-bp.device";
|
|
4
5
|
import { Aoj20aDevice } from "./devices/aoj/aoj.device";
|
|
@@ -9,6 +10,7 @@ import { Bpw1Device } from "./devices/bpw1/bpw1.device";
|
|
|
9
10
|
import { CheckmeLeDevice, PulsebitDevice } from "./devices/checkme/checkme-ecg.device";
|
|
10
11
|
import { CheckmePodDevice } from "./devices/checkme/checkme-pod.device";
|
|
11
12
|
import { CheckmeProDevice } from "./devices/checkme/checkme.device";
|
|
13
|
+
import { CofoeDevice } from "./devices/cofoe/cofoe.device";
|
|
12
14
|
import { F4Device } from "./devices/f4/f4.device";
|
|
13
15
|
import { F5ScaleDevice } from "./devices/f5/f5-scale.device";
|
|
14
16
|
import { FamidocDevice } from "./devices/famidoc/famidoc.device";
|
|
@@ -17,6 +19,7 @@ import { JoytechDevice } from "./devices/joytech/joytech.device";
|
|
|
17
19
|
import { JumperDevice } from "./devices/jumper/jumper.device";
|
|
18
20
|
import { OxyfitDevice } from "./devices/spo/oxyfit.device";
|
|
19
21
|
import { SPO2Device } from "./devices/spo/spo2.device";
|
|
22
|
+
import { TaidocDevice } from "./devices/taidoc/taidoc.device";
|
|
20
23
|
import { TranstekCommandDevice } from "./devices/transtek/transtek-command.device";
|
|
21
24
|
import { TrasenseS9Device } from "./devices/trasense/s9.device";
|
|
22
25
|
import { MySenseDevice } from "./devices/uebe/mysense.device";
|
|
@@ -39,6 +42,7 @@ import { Pc100Device } from "./devices/viatom/viatom.pc100.device";
|
|
|
39
42
|
import { Pc300Device } from "./devices/viatom/viatom.pc300.device";
|
|
40
43
|
import { Pm10Device } from "./devices/viatom/viatom.pm10.device";
|
|
41
44
|
import { Wbp02Device } from "./devices/viatom/viatom.wbp02.device";
|
|
45
|
+
import { YonkerDevice } from "./devices/yonker/yonker.device";
|
|
42
46
|
/**
|
|
43
47
|
* Built-in names with compiled, tested decoders. `integratedDevicesMap` also identifies
|
|
44
48
|
* unsupported devices so scan lists remain useful and connect can explain missing support.
|
|
@@ -107,6 +111,24 @@ export declare const BUILT_IN_DEVICE_CLASSES: {
|
|
|
107
111
|
"Jumper Thermometer": typeof JumperDevice;
|
|
108
112
|
"Joytech BPM": typeof JoytechDevice;
|
|
109
113
|
"Joytech Thermometer": typeof JoytechDevice;
|
|
114
|
+
"A&D BPM": typeof AndMedicalDevice;
|
|
115
|
+
"A&D BPM CTS": typeof AndMedicalDevice;
|
|
116
|
+
"A&D Scale": typeof AndMedicalDevice;
|
|
117
|
+
"Yonker Oximeter": typeof YonkerDevice;
|
|
118
|
+
"Yonker BPM": typeof YonkerDevice;
|
|
119
|
+
"Yonker Thermometer": typeof YonkerDevice;
|
|
120
|
+
"Yonker Scale": typeof YonkerDevice;
|
|
121
|
+
"Yonker 80B": typeof YonkerDevice;
|
|
122
|
+
"Cofoe BPM": typeof CofoeDevice;
|
|
123
|
+
"Cofoe BPM History": typeof CofoeDevice;
|
|
124
|
+
"Cofoe Glucometer": typeof CofoeDevice;
|
|
125
|
+
"Cofoe Glucometer CGH25": typeof CofoeDevice;
|
|
126
|
+
"Cofoe Thermometer": typeof CofoeDevice;
|
|
127
|
+
"TaiDoc Multi": typeof TaidocDevice;
|
|
128
|
+
"TaiDoc BPM": typeof TaidocDevice;
|
|
129
|
+
"TaiDoc Thermometer": typeof TaidocDevice;
|
|
130
|
+
"TaiDoc Oximeter": typeof TaidocDevice;
|
|
131
|
+
"TaiDoc Scale": typeof TaidocDevice;
|
|
110
132
|
};
|
|
111
133
|
export type BuiltInWithClass = keyof typeof BUILT_IN_DEVICE_CLASSES;
|
|
112
134
|
//# sourceMappingURL=device-classes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-classes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-classes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,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OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"device-classes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-classes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AACl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AAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFnC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,uBAAuB,CAAC"}
|
|
@@ -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 AndMedicalDevice = IntegratedDevices.AND_BPM | IntegratedDevices.AND_BPM_CTS | IntegratedDevices.AND_SCALE;
|
|
7
|
+
/** A&D Medical blood-pressure monitors and the UC-352BLE scale. */
|
|
8
|
+
declare class AndMedicalDeviceClass extends BTManagedDevice<AndMedicalDevice> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
constructor(device: Device, params: CreateDeviceParams<AndMedicalDevice>);
|
|
13
|
+
/** One indication is one record. */
|
|
14
|
+
protected validatePackage: () => boolean;
|
|
15
|
+
protected handleSuccessResult(): void;
|
|
16
|
+
}
|
|
17
|
+
export { AndMedicalDeviceClass as AndMedicalDevice };
|
|
18
|
+
//# sourceMappingURL=and-medical.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and-medical.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/and-medical/and-medical.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;AAKvD,KAAK,gBAAgB,GACjB,iBAAiB,CAAC,OAAO,GACzB,iBAAiB,CAAC,WAAW,GAC7B,iBAAiB,CAAC,SAAS,CAAC;AA4BhC,mEAAmE;AACnE,cAAM,qBAAsB,SAAQ,eAAe,CAAC,gBAAgB,CAAC;IACnE,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,gBAAgB,CAAC;IAe/E,oCAAoC;IACpC,SAAS,CAAC,eAAe,QAAO,OAAO,CAAS;IAEhD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC;AAED,OAAO,EAAE,qBAAqB,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const AND_MEDICAL: {
|
|
2
|
+
readonly bloodPressureService: string;
|
|
3
|
+
readonly bloodPressureMeasurement: string;
|
|
4
|
+
readonly dateTime: string;
|
|
5
|
+
readonly currentTimeService: string;
|
|
6
|
+
readonly currentTime: string;
|
|
7
|
+
readonly commandService: "233bf000-5a34-1b6d-975c-000d5690abe4";
|
|
8
|
+
readonly command: "233bf001-5a34-1b6d-975c-000d5690abe4";
|
|
9
|
+
readonly scaleService: "23434100-1fe4-1eff-80cb-00ff78297d8b";
|
|
10
|
+
readonly scaleRecord: "23434101-1fe4-1eff-80cb-00ff78297d8b";
|
|
11
|
+
};
|
|
12
|
+
/** SIG Date Time, phone-local: year (u16 LE), month, day, hour, minute, second. */
|
|
13
|
+
export declare const dateTimeCommand: (now: Date) => string[];
|
|
14
|
+
/** A&D set-time frame for the scale: `08 01 01 YY MM DD hh mm ss`, binary, phone-local. */
|
|
15
|
+
export declare const scaleSetTimeCommand: (now: Date) => string[];
|
|
16
|
+
/**
|
|
17
|
+
* SIG Blood Pressure Measurement 0x2A35. kPa is converted to mmHg; the device timestamp is kept
|
|
18
|
+
* when the clock is valid; the user id (0-based, 0xFF unknown) becomes a 1-based memory slot;
|
|
19
|
+
* status bit 2 is the irregular pulse. A record without both pressures is dropped.
|
|
20
|
+
*/
|
|
21
|
+
export declare const readBloodPressure: (frame: readonly string[]) => Record<string, unknown> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* UC-352 record: flags (bit 0 = pounds), weight u16 LE in tenths, then the device time. Pounds
|
|
24
|
+
* are converted to kilograms. A record too short to carry a time uses the phone's, as MedM does.
|
|
25
|
+
*/
|
|
26
|
+
export declare const readWeight: (frame: readonly string[], now: Date) => {
|
|
27
|
+
bodyWeight: number;
|
|
28
|
+
recordedAt?: Date;
|
|
29
|
+
} | undefined;
|
|
30
|
+
//# sourceMappingURL=and-medical.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and-medical.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/and-medical/and-medical.protocol.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,WAAW;;;;;;;;;;CAUd,CAAC;AAQX,mFAAmF;AACnF,eAAO,MAAM,eAAe,GAAI,KAAK,IAAI,KAAG,MAAM,EAS9C,CAAC;AAEL,2FAA2F;AAC3F,eAAO,MAAM,mBAAmB,GAAI,KAAK,IAAI,KAAG,MAAM,EAWlD,CAAC;AAOL;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SA2BtF,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,SAAS,MAAM,EAAE,EACxB,KAAK,IAAI,KACR;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,IAAI,CAAA;CAAE,GAAG,SAe9C,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
2
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
3
|
+
/** `bpm`: time to 0x1810/0x2A08; `bpmCts`: to 0x1805/0x2A2B (UA-1200BLE/UB-1100BLE); `scale`: UC-352. */
|
|
4
|
+
type AndMedicalKind = "bpm" | "bpmCts" | "scale";
|
|
5
|
+
/**
|
|
6
|
+
* Sets the clock, then reports whatever the device indicates. A monitor resends stored readings,
|
|
7
|
+
* so an exact repeat (same time and values) within one connection is reported once.
|
|
8
|
+
*/
|
|
9
|
+
declare class AndMedicalSequencer implements CommandSequencer {
|
|
10
|
+
private readonly params;
|
|
11
|
+
private recorded;
|
|
12
|
+
private readonly seen;
|
|
13
|
+
constructor(params: {
|
|
14
|
+
kind: AndMedicalKind;
|
|
15
|
+
onResult: (result: Record<string, unknown>) => void;
|
|
16
|
+
now?: () => Date;
|
|
17
|
+
});
|
|
18
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
19
|
+
isNormalDisconnect: () => boolean;
|
|
20
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
21
|
+
private report;
|
|
22
|
+
private now;
|
|
23
|
+
}
|
|
24
|
+
export { AndMedicalSequencer };
|
|
25
|
+
export type { AndMedicalKind };
|
|
26
|
+
//# sourceMappingURL=and-medical.sequencer.d.ts.map
|
|
@@ -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/commonjs/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.
|
|
@@ -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,sBAAsB,CAAC;AAQxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAUjF,8BAAsB,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,iBAAiB,CAAC,GAAG,CAC/E,YAAW,gBAAgB;aA+GT,MAAM,EAAE,MAAM;IA7GzB,EAAE,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,iBAAiB,CAAkC;IAC3D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oe `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"}
|