@ovok/native 1.10.12 → 1.10.14
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/components/btdevice-instruction.js +1 -1
- package/lib/commonjs/modules/bt-device/components/btdevice-instruction.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +4 -78
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +577 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +2 -0
- package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +1 -0
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/device-variants.js +2 -1
- package/lib/commonjs/modules/bt-management/constants/device-variants.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/no-parsing-cases.js +12 -0
- package/lib/commonjs/modules/bt-management/constants/no-parsing-cases.js.map +1 -0
- package/lib/commonjs/modules/bt-management/constants/transtek-a6-bp-device-variants.js +478 -0
- package/lib/commonjs/modules/bt-management/constants/transtek-a6-bp-device-variants.js.map +1 -0
- package/lib/commonjs/modules/bt-management/core/resolve-device-key.js +8 -1
- package/lib/commonjs/modules/bt-management/core/resolve-device-key.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/device-classes.js +3 -2
- package/lib/commonjs/modules/bt-management/services/device-classes.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +0 -4
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +3 -10
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +12 -12
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +2 -8
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +12 -11
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +0 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +1 -3
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- 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/bpw1/bpw1.device.js +0 -4
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +5 -0
- package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +2 -13
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js +0 -4
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js +0 -4
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +14 -17
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js +3 -9
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +10 -9
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +0 -1
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js +2 -8
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js +10 -9
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js +10 -12
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +5 -4
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +4 -6
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +3 -9
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +4 -3
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +103 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +97 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +7 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +5 -53
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js +53 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.sequencer.js +70 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js +3 -10
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js +4 -10
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +21 -21
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js +0 -4
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js +0 -4
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +2 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +0 -6
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js +3 -10
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +3 -10
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +3 -10
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +2 -9
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +16 -16
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/types/clock-sync.js +1 -0
- package/lib/commonjs/modules/bt-management/types/clock-sync.js.map +1 -1
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js +1 -0
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js +10 -0
- package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js.map +1 -0
- package/lib/commonjs/modules/bt-management/utils/frame-bytes.js +11 -0
- package/lib/commonjs/modules/bt-management/utils/frame-bytes.js.map +1 -0
- package/lib/commonjs/modules/bt-management/utils/sig-uuid.js +10 -0
- package/lib/commonjs/modules/bt-management/utils/sig-uuid.js.map +1 -0
- package/lib/module/modules/bt-device/components/btdevice-instruction.js +1 -1
- package/lib/module/modules/bt-device/components/btdevice-instruction.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +4 -78
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +575 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +2 -0
- package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -0
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/module/modules/bt-management/constants/device-variants.js +2 -1
- package/lib/module/modules/bt-management/constants/device-variants.js.map +1 -1
- package/lib/module/modules/bt-management/constants/no-parsing-cases.js +8 -0
- package/lib/module/modules/bt-management/constants/no-parsing-cases.js.map +1 -0
- package/lib/module/modules/bt-management/constants/transtek-a6-bp-device-variants.js +476 -0
- package/lib/module/modules/bt-management/constants/transtek-a6-bp-device-variants.js.map +1 -0
- package/lib/module/modules/bt-management/core/resolve-device-key.js +7 -1
- package/lib/module/modules/bt-management/core/resolve-device-key.js.map +1 -1
- package/lib/module/modules/bt-management/services/device-classes.js +3 -2
- package/lib/module/modules/bt-management/services/device-classes.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +0 -4
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +3 -10
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +12 -12
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +2 -8
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +12 -11
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +0 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -3
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- 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/bpw1/bpw1.device.js +0 -4
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +5 -0
- package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +2 -13
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js +0 -4
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js +0 -4
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +13 -15
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -2
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js +3 -9
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +10 -9
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +0 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js +2 -8
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js +10 -9
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js +10 -12
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +2 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -3
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +3 -9
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +4 -3
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +98 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +92 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +6 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +6 -54
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js +48 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6.sequencer.js +66 -0
- package/lib/module/modules/bt-management/services/devices/transtek/a6.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js +3 -10
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js +4 -10
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +21 -21
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js +0 -4
- package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js +0 -4
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +2 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +0 -6
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js +3 -10
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +3 -10
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +3 -10
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +2 -9
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +16 -16
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/types/clock-sync.js +1 -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 +1 -0
- package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/module/modules/bt-management/utils/bytes-to-hex.js +5 -0
- package/lib/module/modules/bt-management/utils/bytes-to-hex.js.map +1 -0
- package/lib/module/modules/bt-management/utils/frame-bytes.js +7 -0
- package/lib/module/modules/bt-management/utils/frame-bytes.js.map +1 -0
- package/lib/module/modules/bt-management/utils/sig-uuid.js +5 -0
- package/lib/module/modules/bt-management/utils/sig-uuid.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +2 -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-transtek-a6-bp-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-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-management/constants/built-in-measurement-types.d.ts.map +1 -1
- 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/no-parsing-cases.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/no-parsing-cases.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-a6-bp-device-variants.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-a6-bp-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/device-classes.d.ts +3 -2
- 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/a606/a606.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +0 -1
- 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/bpw1/bpw1.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +3 -2
- 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/checkme/checkme-ecg.device.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +0 -2
- 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/jumper/jumper.protocol.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts +27 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +3 -9
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts +14 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts +23 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +10 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts +0 -3
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +0 -2
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
- 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-measurement-map.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-bytes.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-bytes.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/utils/sig-uuid.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/bt-management/utils/sig-uuid.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +2 -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-transtek-a6-bp-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-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-management/constants/built-in-measurement-types.d.ts.map +1 -1
- 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/no-parsing-cases.d.ts +4 -0
- package/lib/typescript/module/src/modules/bt-management/constants/no-parsing-cases.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/constants/transtek-a6-bp-device-variants.d.ts +5 -0
- package/lib/typescript/module/src/modules/bt-management/constants/transtek-a6-bp-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/device-classes.d.ts +3 -2
- 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/a606/a606.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +9 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +7 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +0 -1
- 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/bpw1/bpw1.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +3 -2
- 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/checkme/checkme-ecg.device.d.ts +0 -4
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +8 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +8 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +0 -2
- 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/jumper/jumper.protocol.d.ts +4 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts +19 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts +27 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts +6 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +3 -9
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts +14 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts +23 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +10 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts +0 -3
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +0 -2
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +8 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
- 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-measurement-map.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/utils/frame-bytes.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-management/utils/frame-bytes.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/utils/sig-uuid.d.ts +3 -0
- package/lib/typescript/module/src/modules/bt-management/utils/sig-uuid.d.ts.map +1 -0
- package/package.json +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js +0 -50
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +0 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js +0 -45
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +0 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +0 -16
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +0 -16
- package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +0 -1
|
@@ -23,7 +23,7 @@ import { JumperDevice } from "./devices/jumper/jumper.device.js";
|
|
|
23
23
|
import { OxyfitDevice } from "./devices/spo/oxyfit.device.js";
|
|
24
24
|
import { SPO2Device } from "./devices/spo/spo2.device.js";
|
|
25
25
|
import { TaidocDevice } from "./devices/taidoc/taidoc.device.js";
|
|
26
|
-
import {
|
|
26
|
+
import { TranstekA6Device } from "./devices/transtek/a6.device.js";
|
|
27
27
|
import { MamboA5Device } from "./devices/transtek/mambo-a5.device.js";
|
|
28
28
|
import { TranstekCommandDevice } from "./devices/transtek/transtek-command.device.js";
|
|
29
29
|
import { TrasenseS9Device } from "./devices/trasense/s9.device.js";
|
|
@@ -59,7 +59,8 @@ export const BUILT_IN_DEVICE_CLASSES = {
|
|
|
59
59
|
[IntegratedDevices.S5]: F4Device,
|
|
60
60
|
[IntegratedDevices.LEPU_F4_SCALE]: F4Device,
|
|
61
61
|
[IntegratedDevices.LEPU_F5_SCALE]: F5ScaleDevice,
|
|
62
|
-
[IntegratedDevices.RPM_SCALE]:
|
|
62
|
+
[IntegratedDevices.RPM_SCALE]: TranstekA6Device,
|
|
63
|
+
[IntegratedDevices.TRANSTEK_A6_BPM]: TranstekA6Device,
|
|
63
64
|
[IntegratedDevices.MAMBO_A5]: MamboA5Device,
|
|
64
65
|
[IntegratedDevices.PC60WF]: SPO2Device,
|
|
65
66
|
[IntegratedDevices.SPO2]: OxyfitDevice,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","A606Device","AndMedicalDevice","Aoj70bDevice","AojBpDevice","Aoj20aDevice","BC01Device","BloodGlucoseDevice","BP2Device","Bpw1Device","CheckmeLeDevice","PulsebitDevice","CheckmePodDevice","CheckmeProDevice","CofoeDevice","F4Device","F5ScaleDevice","FamidocDevice","GenialT31Device","JoytechDevice","JumperDevice","OxyfitDevice","SPO2Device","TaidocDevice","
|
|
1
|
+
{"version":3,"names":["IntegratedDevices","A606Device","AndMedicalDevice","Aoj70bDevice","AojBpDevice","Aoj20aDevice","BC01Device","BloodGlucoseDevice","BP2Device","Bpw1Device","CheckmeLeDevice","PulsebitDevice","CheckmePodDevice","CheckmeProDevice","CofoeDevice","F4Device","F5ScaleDevice","FamidocDevice","GenialT31Device","JoytechDevice","JumperDevice","OxyfitDevice","SPO2Device","TaidocDevice","TranstekA6Device","MamboA5Device","TranstekCommandDevice","TrasenseS9Device","MySenseDevice","VerovalActivityDevice","VerovalDuoControlDevice","VerovalEcgDevice","Ap20Device","BabySleepClipDevice","BiolandBgmDevice","Lpm311Device","OxyS3Device","Pc68bDevice","Pc80bDevice","Pf10Aw1Device","PoctorM3102Device","Sp20Device","ViatomR20Device","Bpm188Device","Pc100Device","Pc300Device","Pm10Device","Wbp02Device","YonkerDevice","BUILT_IN_DEVICE_CLASSES","BP2","F4","S5","LEPU_F4_SCALE","LEPU_F5_SCALE","RPM_SCALE","TRANSTEK_A6_BPM","MAMBO_A5","PC60WF","SPO2","MYSENSE","BC01","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","VEROVAL_ACTIVITY","GENIAL_T31","ZH_SG_A606","BPW1","CHECKME","CHECKME_POD","CHECKME_POD_WPS","AP20","AP20_WPS","PC68B","PC100","BPM188","PC300","POCTOR_M3102","BIOLAND_BGM","PULSEBIT_EX","CHECKME_EX","CHECKME_LE","PC80B","WBP_02","PM10","LPM311","VIATOM_R20","VIATOM_R200","SP_20","SP_20_BLE","SP_20_WPS","BBSM_S3","VIATOM_BBSM_BS1","PF10AW_ME","SA10AW_PU","PF10BW_VE","TRASENSE_S9","TRANSTEK_BPM","TRANSTEK_SCALE","TRANSTEK_SCALE_1525","TRANSTEK_TRACKER","FAMIDOC_BPM","FAMIDOC_IR_THERMOMETER","FAMIDOC_CONTACT_THERMOMETER","AOJ_BPM","AOJ_BPM_FFF0","AOJ_70B","JUMPER_OXIMETER","JUMPER_BPM","JUMPER_THERMOMETER","JOYTECH_BPM","JOYTECH_THERMOMETER","AND_BPM","AND_BPM_CTS","AND_SCALE","YONKER_OXIMETER","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","YONKER_80B","COFOE_BPM","COFOE_BPM_HISTORY","COFOE_GLUCOMETER","COFOE_GLUCOMETER_CGH25","COFOE_THERMOMETER","TAIDOC_MULTI","TAIDOC_BPM","TAIDOC_THERMOMETER","TAIDOC_OXIMETER","TAIDOC_SCALE"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/services/device-classes.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,gCAA6B;AAE/D,SAASC,UAAU,QAAQ,+BAA4B;AACvD,SAASC,gBAAgB,QAAQ,6CAA0C;AAC3E,SAASC,YAAY,QAAQ,iCAA8B;AAC3D,SAASC,WAAW,QAAQ,gCAA6B;AACzD,SAASC,YAAY,QAAQ,6BAA0B;AACvD,SAASC,UAAU,QAAQ,+BAA4B;AACvD,SAASC,kBAAkB,QAAQ,iDAA8C;AACjF,SAASC,SAAS,QAAQ,6BAA0B;AACpD,SAASC,UAAU,QAAQ,+BAA4B;AACvD,SACEC,eAAe,EACfC,cAAc,QACT,yCAAsC;AAC7C,SAASC,gBAAgB,QAAQ,yCAAsC;AACvE,SAASC,gBAAgB,QAAQ,qCAAkC;AACnE,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,QAAQ,QAAQ,2BAAwB;AACjD,SAASC,aAAa,QAAQ,iCAA8B;AAC5D,SAASC,aAAa,QAAQ,qCAAkC;AAChE,SAASC,eAAe,QAAQ,2CAAwC;AACxE,SAASC,aAAa,QAAQ,qCAAkC;AAChE,SAASC,YAAY,QAAQ,mCAAgC;AAC7D,SAASC,YAAY,QAAQ,gCAA6B;AAC1D,SAASC,UAAU,QAAQ,8BAA2B;AACtD,SAASC,YAAY,QAAQ,mCAAgC;AAC7D,SAASC,gBAAgB,QAAQ,iCAA8B;AAC/D,SAASC,aAAa,QAAQ,uCAAoC;AAClE,SAASC,qBAAqB,QAAQ,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;EAC9C,CAACvB,iBAAiB,CAACkI,UAAU,GAAG3G,YAAY;EAC5C,CAACvB,iBAAiB,CAACmI,kBAAkB,GAAG5G,YAAY;EACpD,CAACvB,iBAAiB,CAACoI,eAAe,GAAG7G,YAAY;EACjD,CAACvB,iBAAiB,CAACqI,YAAY,GAAG9G;AACpC,CAAC","ignoreList":[]}
|
|
@@ -11,7 +11,6 @@ import { a606MainServices } from "./a606.main-services.js";
|
|
|
11
11
|
class A606Device extends BTManagedDevice {
|
|
12
12
|
mainServices = a606MainServices;
|
|
13
13
|
stuckDataTimeout = 120_000;
|
|
14
|
-
onStreamStart = undefined;
|
|
15
14
|
frameReader = new A606FrameReader();
|
|
16
15
|
constructor(device, params) {
|
|
17
16
|
super(device, params);
|
|
@@ -37,9 +36,6 @@ class A606Device extends BTManagedDevice {
|
|
|
37
36
|
}
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
|
-
handleSuccessResult() {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
39
|
}
|
|
44
40
|
export { A606Device, a606MainServices };
|
|
45
41
|
//# sourceMappingURL=a606.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","BTManagedDevice","A606CommandSequencer","parseA606Record","A606FrameReader","a606MainServices","A606Device","mainServices","stuckDataTimeout","
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","BTManagedDevice","A606CommandSequencer","parseA606Record","A606FrameReader","a606MainServices","A606Device","mainServices","stuckDataTimeout","frameReader","constructor","device","params","createCommandSequencer","clockSync","handleDependentResult","data","frame","record","onResult","caseType","RESULT","measurementTypeKey","bloodGlucose","recordedAt","parsingCase","OTHER"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/a606/a606.device.ts"],"mappings":";;AAAA,SAAkCA,kBAAkB,QAAQ,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAQnD,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,oBAAoB,QAAQ,6BAA0B;AAC/D,SAASC,eAAe,QAAQ,wBAAqB;AACrD,SAASC,eAAe,QAAQ,wBAAqB;AACrD,SAASC,gBAAgB,QAAQ,yBAAsB;AAMvD;AACA,MAAMC,UAAU,SAASL,eAAe,CAA+B;EAC3DM,YAAY,GAAeF,gBAAgB;EAC3CG,gBAAgB,GAAG,OAAO;EAC1BC,WAAW,GAAG,IAAIL,eAAe,CAAC,CAAC;EAEtCM,WAAWA,CAChBC,MAAc,EACdC,MAAwD,EACxD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIX,oBAAoB,CAACU,MAAM,CAACE,SAAS,CAAC;EAC9C;EAEUC,qBAAqB,GAC7BC,IAAmD,IACD;IAClD,IAAIA,IAAI,CAACC,KAAK,EAAE;MACd,MAAMC,MAAM,GAAGf,eAAe,CAACa,IAAI,CAACC,KAAK,CAAC;MAE1C,IAAIC,MAAM,EAAE;QACV,IAAI,CAACC,QAAQ,GAAG;UACdC,QAAQ,EAAEpB,QAAQ,CAACqB,MAAM;UACzBC,kBAAkB,EAAEvB,kBAAkB,CAACwB,YAAY;UACnDA,YAAY,EAAEL,MAAM,CAACK,YAAY;UACjCC,UAAU,EAAEN,MAAM,CAACM;QACrB,CAAwE,CAAC;MAC3E;IACF;IAEA,OAAO;MACL,GAAGR,IAAI;MACPS,WAAW,EAAE;QAAE,GAAGT,IAAI,CAACS,WAAW;QAAEL,QAAQ,EAAEpB,QAAQ,CAAC0B;MAAM;IAC/D,CAAC;EACH,CAAC;AAEH;AAEA,SAASpB,UAAU,EAAED,gBAAgB","ignoreList":[]}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { NO_PARSING_CASES } from "../../../constants/no-parsing-cases.js";
|
|
3
4
|
import { IntegratedDevices } from "../../../types/integrated-devices.js";
|
|
4
5
|
import { BTManagedDevice } from "../bt-managed-device.js";
|
|
5
6
|
import { AND_MEDICAL } from "./and-medical.protocol.js";
|
|
6
7
|
import { AndMedicalSequencer } from "./and-medical.sequencer.js";
|
|
7
|
-
const noCases = {
|
|
8
|
-
caseValuePosition: [],
|
|
9
|
-
cases: []
|
|
10
|
-
};
|
|
11
8
|
const monitorServices = [{
|
|
12
9
|
uuid: AND_MEDICAL.bloodPressureService,
|
|
13
10
|
monitorUuids: [{
|
|
14
11
|
uuid: AND_MEDICAL.bloodPressureMeasurement,
|
|
15
|
-
parsingModel:
|
|
12
|
+
parsingModel: NO_PARSING_CASES
|
|
16
13
|
}]
|
|
17
14
|
}];
|
|
18
15
|
|
|
@@ -24,7 +21,7 @@ const scaleServices = [{
|
|
|
24
21
|
uuid: AND_MEDICAL.scaleService,
|
|
25
22
|
monitorUuids: [{
|
|
26
23
|
uuid: AND_MEDICAL.scaleRecord,
|
|
27
|
-
parsingModel:
|
|
24
|
+
parsingModel: NO_PARSING_CASES
|
|
28
25
|
}]
|
|
29
26
|
}];
|
|
30
27
|
const KIND = {
|
|
@@ -36,7 +33,6 @@ const KIND = {
|
|
|
36
33
|
/** A&D Medical blood-pressure monitors and the UC-352BLE scale. */
|
|
37
34
|
class AndMedicalDeviceClass extends BTManagedDevice {
|
|
38
35
|
stuckDataTimeout = 90_000;
|
|
39
|
-
onStreamStart = undefined;
|
|
40
36
|
constructor(device, params) {
|
|
41
37
|
super(device, params);
|
|
42
38
|
const kind = KIND[params.deviceName];
|
|
@@ -49,9 +45,6 @@ class AndMedicalDeviceClass extends BTManagedDevice {
|
|
|
49
45
|
|
|
50
46
|
/** One indication is one record. */
|
|
51
47
|
validatePackage = () => true;
|
|
52
|
-
handleSuccessResult() {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
48
|
}
|
|
56
49
|
export { AndMedicalDeviceClass as AndMedicalDevice };
|
|
57
50
|
//# sourceMappingURL=and-medical.device.js.map
|
package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","BTManagedDevice","AND_MEDICAL","AndMedicalSequencer","
|
|
1
|
+
{"version":3,"names":["NO_PARSING_CASES","IntegratedDevices","BTManagedDevice","AND_MEDICAL","AndMedicalSequencer","monitorServices","uuid","bloodPressureService","monitorUuids","bloodPressureMeasurement","parsingModel","scaleServices","scaleService","scaleRecord","KIND","AND_BPM","AND_BPM_CTS","AND_SCALE","AndMedicalDeviceClass","stuckDataTimeout","constructor","device","params","kind","deviceName","mainServices","createCommandSequencer","onResult","result","validatePackage","AndMedicalDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/and-medical/and-medical.device.ts"],"mappings":";;AAEA,SAASA,gBAAgB,QAAQ,wCAAqC;AAGtE,SAASC,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,WAAW,QAAQ,2BAAwB;AACpD,SAAyBC,mBAAmB,QAAQ,4BAAyB;AAO7E,MAAMC,eAA2B,GAAG,CAClC;EACEC,IAAI,EAAEH,WAAW,CAACI,oBAAoB;EACtCC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEH,WAAW,CAACM,wBAAwB;IAAEC,YAAY,EAAEV;EAAiB,CAAC;AAC/F,CAAC,CACF;;AAED;AACA;AACA;AACA;AACA,MAAMW,aAAyB,GAAG,CAChC;EACEL,IAAI,EAAEH,WAAW,CAACS,YAAY;EAC9BJ,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEH,WAAW,CAACU,WAAW;IAAEH,YAAY,EAAEV;EAAiB,CAAC;AAClF,CAAC,CACF;AAED,MAAMc,IAA8C,GAAG;EACrD,CAACb,iBAAiB,CAACc,OAAO,GAAG,KAAK;EAClC,CAACd,iBAAiB,CAACe,WAAW,GAAG,QAAQ;EACzC,CAACf,iBAAiB,CAACgB,SAAS,GAAG;AACjC,CAAC;;AAED;AACA,MAAMC,qBAAqB,SAAShB,eAAe,CAAmB;EAE1DiB,gBAAgB,GAAG,MAAM;EAE5BC,WAAWA,CAACC,MAAc,EAAEC,MAA4C,EAAE;IAC/E,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,MAAMC,IAAI,GAAGT,IAAI,CAACQ,MAAM,CAACE,UAAU,CAAC;IAEpC,IAAI,CAACC,YAAY,GAAGF,IAAI,KAAK,OAAO,GAAGZ,aAAa,GAAGN,eAAe;IACtE,IAAI,CAACqB,sBAAsB,GAAG,MAC5B,IAAItB,mBAAmB,CAAC;MACtBmB,IAAI;MACJI,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MACF;IACJ,CAAC,CAAC;EACN;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;AAEjD;AAEA,SAASX,qBAAqB,IAAIY,gBAAgB","ignoreList":[]}
|
package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
/* eslint-disable import/group-exports */
|
|
4
4
|
|
|
5
|
+
import { bytesToHex } from "../../../utils/bytes-to-hex.js";
|
|
5
6
|
import { decodeMedicalFloat } from "../../../utils/decode-medical-float.js";
|
|
6
|
-
import {
|
|
7
|
+
import { frameBytes } from "../../../utils/frame-bytes.js";
|
|
8
|
+
import { sigUuid } from "../../../utils/sig-uuid.js";
|
|
7
9
|
import { bloodPressureStatusFromFrame, recordedAtFromBloodPressureFrame } from "../standard-gatt/standard-gatt.profile.js";
|
|
8
10
|
|
|
9
11
|
/**
|
|
@@ -15,13 +17,12 @@ import { bloodPressureStatusFromFrame, recordedAtFromBloodPressureFrame } from "
|
|
|
15
17
|
* the UA-1200BLE/UB-1100BLE. The scale takes A&D command frames (`length type command payload`,
|
|
16
18
|
* no checksum) on 233bf001 and indicates 10-byte weight records on 23434101.
|
|
17
19
|
*/
|
|
18
|
-
const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
|
|
19
20
|
export const AND_MEDICAL = {
|
|
20
|
-
bloodPressureService:
|
|
21
|
-
bloodPressureMeasurement:
|
|
22
|
-
dateTime:
|
|
23
|
-
currentTimeService:
|
|
24
|
-
currentTime:
|
|
21
|
+
bloodPressureService: sigUuid("1810"),
|
|
22
|
+
bloodPressureMeasurement: sigUuid("2a35"),
|
|
23
|
+
dateTime: sigUuid("2a08"),
|
|
24
|
+
currentTimeService: sigUuid("1805"),
|
|
25
|
+
currentTime: sigUuid("2a2b"),
|
|
25
26
|
commandService: "233bf000-5a34-1b6d-975c-000d5690abe4",
|
|
26
27
|
command: "233bf001-5a34-1b6d-975c-000d5690abe4",
|
|
27
28
|
scaleService: "23434100-1fe4-1eff-80cb-00ff78297d8b",
|
|
@@ -29,13 +30,12 @@ export const AND_MEDICAL = {
|
|
|
29
30
|
};
|
|
30
31
|
const POUND_IN_KG = 0.45359237;
|
|
31
32
|
const KPA_IN_MMHG = 7.500617;
|
|
32
|
-
const toHex = bytes => bytes.map(value => (value & 0xff).toString(16).padStart(2, "0"));
|
|
33
33
|
|
|
34
34
|
/** SIG Date Time, phone-local: year (u16 LE), month, day, hour, minute, second. */
|
|
35
|
-
export const dateTimeCommand = now =>
|
|
35
|
+
export const dateTimeCommand = now => bytesToHex([now.getFullYear() & 0xff, now.getFullYear() >> 8, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()]);
|
|
36
36
|
|
|
37
37
|
/** A&D set-time frame for the scale: `08 01 01 YY MM DD hh mm ss`, binary, phone-local. */
|
|
38
|
-
export const scaleSetTimeCommand = now =>
|
|
38
|
+
export const scaleSetTimeCommand = now => bytesToHex([0x08, 0x01, 0x01, now.getFullYear() % 100, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()]);
|
|
39
39
|
const sfloat = (bytes, at) => at + 1 < bytes.length ? decodeMedicalFloat((bytes[at] ?? 0) | (bytes[at + 1] ?? 0) << 8, 4, 12) : undefined;
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -44,7 +44,7 @@ const sfloat = (bytes, at) => at + 1 < bytes.length ? decodeMedicalFloat((bytes[
|
|
|
44
44
|
* status bit 2 is the irregular pulse. A record without both pressures is dropped.
|
|
45
45
|
*/
|
|
46
46
|
export const readBloodPressure = frame => {
|
|
47
|
-
const bytes = frame
|
|
47
|
+
const bytes = frameBytes(frame);
|
|
48
48
|
const flags = bytes[0] ?? 0;
|
|
49
49
|
const unit = (flags & 0x01) !== 0 ? KPA_IN_MMHG : 1;
|
|
50
50
|
const systolic = sfloat(bytes, 1);
|
|
@@ -89,7 +89,7 @@ const readDateTime = (bytes, at) => {
|
|
|
89
89
|
* are converted to kilograms. A record too short to carry a time uses the phone's, as MedM does.
|
|
90
90
|
*/
|
|
91
91
|
export const readWeight = (frame, now) => {
|
|
92
|
-
const bytes = frame
|
|
92
|
+
const bytes = frameBytes(frame);
|
|
93
93
|
const raw = (bytes[1] ?? 0) | (bytes[2] ?? 0) << 8;
|
|
94
94
|
if (bytes.length < 3 || raw === 0 || raw === 0xffff) {
|
|
95
95
|
return undefined;
|
package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["bytesToHex","decodeMedicalFloat","frameBytes","sigUuid","bloodPressureStatusFromFrame","recordedAtFromBloodPressureFrame","AND_MEDICAL","bloodPressureService","bloodPressureMeasurement","dateTime","currentTimeService","currentTime","commandService","command","scaleService","scaleRecord","POUND_IN_KG","KPA_IN_MMHG","dateTimeCommand","now","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","scaleSetTimeCommand","sfloat","bytes","at","length","undefined","readBloodPressure","frame","flags","unit","systolic","diastolic","recordedAt","cursor","heartRate","user","status","Math","round","irregularHeartbeat","memorySlot","readDateTime","low","high","month","day","hour","minute","second","slice","year","date","Date","readWeight","raw","value","bodyWeight"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/and-medical/and-medical.protocol.ts"],"mappings":";;AAAA;;AAEA,SAASA,UAAU,QAAQ,gCAA6B;AACxD,SAASC,kBAAkB,QAAQ,wCAAqC;AACxE,SAASC,UAAU,QAAQ,+BAA4B;AACvD,SAASC,OAAO,QAAQ,4BAAyB;AACjD,SACEC,4BAA4B,EAC5BC,gCAAgC,QAC3B,2CAAwC;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAG;EACzBC,oBAAoB,EAAEJ,OAAO,CAAC,MAAM,CAAC;EACrCK,wBAAwB,EAAEL,OAAO,CAAC,MAAM,CAAC;EACzCM,QAAQ,EAAEN,OAAO,CAAC,MAAM,CAAC;EACzBO,kBAAkB,EAAEP,OAAO,CAAC,MAAM,CAAC;EACnCQ,WAAW,EAAER,OAAO,CAAC,MAAM,CAAC;EAC5BS,cAAc,EAAE,sCAAsC;EACtDC,OAAO,EAAE,sCAAsC;EAC/CC,YAAY,EAAE,sCAAsC;EACpDC,WAAW,EAAE;AACf,CAAU;AAEV,MAAMC,WAAW,GAAG,UAAU;AAC9B,MAAMC,WAAW,GAAG,QAAQ;;AAE5B;AACA,OAAO,MAAMC,eAAe,GAAIC,GAAS,IACvCnB,UAAU,CAAC,CACTmB,GAAG,CAACC,WAAW,CAAC,CAAC,GAAG,IAAI,EACxBD,GAAG,CAACC,WAAW,CAAC,CAAC,IAAI,CAAC,EACtBD,GAAG,CAACE,QAAQ,CAAC,CAAC,GAAG,CAAC,EAClBF,GAAG,CAACG,OAAO,CAAC,CAAC,EACbH,GAAG,CAACI,QAAQ,CAAC,CAAC,EACdJ,GAAG,CAACK,UAAU,CAAC,CAAC,EAChBL,GAAG,CAACM,UAAU,CAAC,CAAC,CACjB,CAAC;;AAEJ;AACA,OAAO,MAAMC,mBAAmB,GAAIP,GAAS,IAC3CnB,UAAU,CAAC,CACT,IAAI,EACJ,IAAI,EACJ,IAA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A;IAAW,CAAC,GAAG,CAAC,CAAC;EACtC,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { NO_PARSING_CASES } from "../../../constants/no-parsing-cases.js";
|
|
3
4
|
import { BTManagedDevice } from "../bt-managed-device.js";
|
|
4
5
|
import { AOJ_VALUES, LiveOximeterSequencer, readOximeterData } from "../live-oximeter.sequencer.js";
|
|
5
6
|
import { AOJ_BP } from "./aoj-bp.protocol.js";
|
|
@@ -7,10 +8,7 @@ const aoj70bMainServices = [{
|
|
|
7
8
|
uuid: AOJ_BP.service,
|
|
8
9
|
monitorUuids: [{
|
|
9
10
|
uuid: AOJ_BP.notify,
|
|
10
|
-
parsingModel:
|
|
11
|
-
caseValuePosition: [],
|
|
12
|
-
cases: []
|
|
13
|
-
}
|
|
11
|
+
parsingModel: NO_PARSING_CASES
|
|
14
12
|
}]
|
|
15
13
|
}];
|
|
16
14
|
|
|
@@ -18,7 +16,6 @@ const aoj70bMainServices = [{
|
|
|
18
16
|
class Aoj70bDevice extends BTManagedDevice {
|
|
19
17
|
mainServices = aoj70bMainServices;
|
|
20
18
|
stuckDataTimeout = 120_000;
|
|
21
|
-
onStreamStart = undefined;
|
|
22
19
|
constructor(device, params) {
|
|
23
20
|
super(device, params);
|
|
24
21
|
this.createCommandSequencer = () => new LiveOximeterSequencer({
|
|
@@ -29,9 +26,6 @@ class Aoj70bDevice extends BTManagedDevice {
|
|
|
29
26
|
|
|
30
27
|
/** One notification is one packet. */
|
|
31
28
|
validatePackage = () => true;
|
|
32
|
-
handleSuccessResult() {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
29
|
}
|
|
36
30
|
export { Aoj70bDevice };
|
|
37
31
|
//# sourceMappingURL=aoj-70b.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BTManagedDevice","AOJ_VALUES","LiveOximeterSequencer","readOximeterData","AOJ_BP","aoj70bMainServices","uuid","service","monitorUuids","notify","parsingModel","
|
|
1
|
+
{"version":3,"names":["NO_PARSING_CASES","BTManagedDevice","AOJ_VALUES","LiveOximeterSequencer","readOximeterData","AOJ_BP","aoj70bMainServices","uuid","service","monitorUuids","notify","parsingModel","Aoj70bDevice","mainServices","stuckDataTimeout","constructor","device","params","createCommandSequencer","readValues","frame","onResult","result","validatePackage"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj-70b.device.ts"],"mappings":";;AAEA,SAASA,gBAAgB,QAAQ,wCAAqC;AAMtE,SAASC,eAAe,QAAQ,yBAAsB;AACtD,SAASC,UAAU,EAAEC,qBAAqB,EAAEC,gBAAgB,QAAQ,+BAA4B;AAEhG,SAASC,MAAM,QAAQ,sBAAmB;AAE1C,MAAMC,kBAA8B,GAAG,CACrC;EACEC,IAAI,EAAEF,MAAM,CAACG,OAAO;EACpBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEF,MAAM,CAACK,MAAM;IAAEC,YAAY,EAAEX;EAAiB,CAAC;AACxE,CAAC,CACF;;AAED;AACA,MAAMY,YAAY,SAASX,eAAe,CAA4B;EAC1DY,YAAY,GAAGP,kBAAkB;EACjCQ,gBAAgB,GAAG,OAAO;EAE7BC,WAAWA,CAACC,MAAc,EAAEC,MAAqD,EAAE;IACxF,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIf,qBAAqB,CAAC;MACxBgB,UAAU,EAAGC,KAAK,IAAKhB,gBAAgB,CAACgB,KAAK,EAAElB,UAAU,CAAC;MAC1DmB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;AAEjD;AAEA,SAASX,YAAY","ignoreList":[]}
|
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { NO_PARSING_CASES } from "../../../constants/no-parsing-cases.js";
|
|
3
4
|
import { IntegratedDevices } from "../../../types/integrated-devices.js";
|
|
4
5
|
import { BTManagedDevice } from "../bt-managed-device.js";
|
|
5
6
|
import { AOJ_BP, AOJ_BP_FFF0, AojBpFrameReader } from "./aoj-bp.protocol.js";
|
|
6
7
|
import { AojBpSequencer } from "./aoj-bp.sequencer.js";
|
|
7
|
-
const passThrough = {
|
|
8
|
-
caseValuePosition: [],
|
|
9
|
-
cases: []
|
|
10
|
-
};
|
|
11
8
|
const servicesFor = gatt => [{
|
|
12
9
|
uuid: gatt.service,
|
|
13
10
|
monitorUuids: [{
|
|
14
11
|
uuid: gatt.notify,
|
|
15
|
-
parsingModel:
|
|
12
|
+
parsingModel: NO_PARSING_CASES
|
|
16
13
|
}]
|
|
17
14
|
}];
|
|
18
15
|
|
|
19
16
|
/** AOJ Medical blood-pressure monitors; the FFF0 variant is the Cazon BSX530B. */
|
|
20
17
|
class AojBpDeviceClass extends BTManagedDevice {
|
|
21
18
|
stuckDataTimeout = 90_000;
|
|
22
|
-
onStreamStart = undefined;
|
|
23
19
|
constructor(device, params) {
|
|
24
20
|
super(device, params);
|
|
25
21
|
const fff0 = params.deviceName === IntegratedDevices.AOJ_BPM_FFF0;
|
|
@@ -33,9 +29,6 @@ class AojBpDeviceClass extends BTManagedDevice {
|
|
|
33
29
|
onResult: result => this.onResult?.(result)
|
|
34
30
|
});
|
|
35
31
|
}
|
|
36
|
-
handleSuccessResult() {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
32
|
}
|
|
40
33
|
export { AojBpDeviceClass as AojBpDevice };
|
|
41
34
|
//# sourceMappingURL=aoj-bp.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IntegratedDevices","BTManagedDevice","AOJ_BP","AOJ_BP_FFF0","AojBpFrameReader","AojBpSequencer","
|
|
1
|
+
{"version":3,"names":["NO_PARSING_CASES","IntegratedDevices","BTManagedDevice","AOJ_BP","AOJ_BP_FFF0","AojBpFrameReader","AojBpSequencer","servicesFor","gatt","uuid","service","monitorUuids","notify","parsingModel","AojBpDeviceClass","stuckDataTimeout","constructor","device","params","fff0","deviceName","AOJ_BPM_FFF0","mainServices","frameReader","createCommandSequencer","write","listenOnly","onResult","result","AojBpDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj-bp.device.ts"],"mappings":";;AAEA,SAASA,gBAAgB,QAAQ,wCAAqC;AAGtE,SAASC,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,MAAM,EAAEC,WAAW,EAAEC,gBAAgB,QAAQ,sBAAmB;AACzE,SAASC,cAAc,QAAQ,uBAAoB;AAInD,MAAMC,WAAW,GAAIC,IAAyC,IAAiB,CAC7E;EAAEC,IAAI,EAAED,IAAI,CAACE,OAAO;EAAEC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAED,IAAI,CAACI,MAAM;IAAEC,YAAY,EAAEb;EAAiB,CAAC;AAAE,CAAC,CAC9F;;AAED;AACA,MAAMc,gBAAgB,SAASZ,eAAe,CAAc;EAEhDa,gBAAgB,GAAG,MAAM;EAE5BC,WAAWA,CAACC,MAAc,EAAEC,MAAuC,EAAE;IAC1E,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IAErB,MAAMC,IAAI,GAAGD,MAAM,CAACE,UAAU,KAAKnB,iBAAiB,CAACoB,YAAY;IACjE,MAAMb,IAAI,GAAGW,IAAI,GAAGf,WAAW,GAAGD,MAAM;IAExC,IAAI,CAACmB,YAAY,GAAGf,WAAW,CAACC,IAAI,CAAC;IACrC,IAAI,CAACe,WAAW,GAAG,IAAIlB,gBAAgB,CAAC,CAAC;IACzC,IAAI,CAACmB,sBAAsB,GAAG,MAC5B,IAAIlB,cAAc,CAAC;MACjBI,OAAO,EAAEF,IAAI,CAACE,OAAO;MACrBe,KAAK,EAAEjB,IAAI,CAACiB,KAAK;MACjBC,UAAU,EAAEP,IAAI;MAChBQ,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MACF;IACJ,CAAC,CAAC;EACN;AAEF;AAEA,SAASd,gBAAgB,IAAIe,WAAW","ignoreList":[]}
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
/* eslint-disable import/group-exports */
|
|
4
4
|
|
|
5
5
|
import { FrameReadStatus } from "../../../types/frame-read-status.js";
|
|
6
|
+
import { bytesToHex } from "../../../utils/bytes-to-hex.js";
|
|
6
7
|
import { calculateCrc8Maxim } from "../../../utils/calculate-crc-8-maxim.js";
|
|
8
|
+
import { frameBytes } from "../../../utils/frame-bytes.js";
|
|
7
9
|
import { hexToByte } from "../../../utils/hex-to-byte.js";
|
|
10
|
+
import { sigUuid } from "../../../utils/sig-uuid.js";
|
|
8
11
|
|
|
9
12
|
/**
|
|
10
13
|
* AOJ Medical's blood-pressure protocol (AOJ-30x/33x, ARM-111, WRS-35E and rebrands), from
|
|
@@ -13,18 +16,17 @@ import { hexToByte } from "../../../utils/hex-to-byte.js";
|
|
|
13
16
|
* Frames are `BE B0` (app to device) or `D0 C2` (device to app), a length counting the command
|
|
14
17
|
* and payload, the command, the payload, and CRC-8/MAXIM over every byte before it.
|
|
15
18
|
*/
|
|
16
|
-
const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
|
|
17
19
|
export const AOJ_BP = {
|
|
18
|
-
service:
|
|
19
|
-
notify:
|
|
20
|
-
write:
|
|
20
|
+
service: sigUuid("ffe0"),
|
|
21
|
+
notify: sigUuid("ffe1"),
|
|
22
|
+
write: sigUuid("ffe2")
|
|
21
23
|
};
|
|
22
24
|
|
|
23
25
|
/** The Cazon BSX530B variant: one characteristic for both directions, and a listen-only session. */
|
|
24
26
|
export const AOJ_BP_FFF0 = {
|
|
25
|
-
service:
|
|
26
|
-
notify:
|
|
27
|
-
write:
|
|
27
|
+
service: sigUuid("fff0"),
|
|
28
|
+
notify: sigUuid("fff6"),
|
|
29
|
+
write: sigUuid("fff6")
|
|
28
30
|
};
|
|
29
31
|
export const AOJ_COMMAND = {
|
|
30
32
|
ack: 0x00,
|
|
@@ -34,13 +36,12 @@ export const AOJ_COMMAND = {
|
|
|
34
36
|
record: 0xcc
|
|
35
37
|
};
|
|
36
38
|
const DEVICE_HEADER = [0xd0, 0xc2];
|
|
37
|
-
const toHex = bytes => bytes.map(value => (value & 0xff).toString(16).padStart(2, "0"));
|
|
38
39
|
export const frame = (command, payload = []) => {
|
|
39
|
-
const bytes =
|
|
40
|
-
return [...bytes, ...
|
|
40
|
+
const bytes = bytesToHex([0xbe, 0xb0, payload.length + 1, command, ...payload]);
|
|
41
|
+
return [...bytes, ...bytesToHex([calculateCrc8Maxim(bytes, bytes.length)])];
|
|
41
42
|
};
|
|
42
43
|
export const commandOf = received => hexToByte(received[3] ?? "00");
|
|
43
|
-
export const payloadOf = received => received.slice(4, -1)
|
|
44
|
+
export const payloadOf = received => frameBytes(received.slice(4, -1));
|
|
44
45
|
export const updateStatusCommand = () => frame(0xb2);
|
|
45
46
|
export const setTimeCommand = now => frame(0xb1, [now.getFullYear() >> 8, now.getFullYear() & 0xff, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()]);
|
|
46
47
|
export const getSerialCommand = () => frame(0xd6, [0x00]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FrameReadStatus","calculateCrc8Maxim","
|
|
1
|
+
{"version":3,"names":["FrameReadStatus","bytesToHex","calculateCrc8Maxim","frameBytes","hexToByte","sigUuid","AOJ_BP","service","notify","write","AOJ_BP_FFF0","AOJ_COMMAND","ack","serial","systemInfo","voice","record","DEVICE_HEADER","frame","command","payload","bytes","length","commandOf","received","payloadOf","slice","updateStatusCommand","setTimeCommand","now","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getSerialCommand","getSystemInfoCommand","setVoiceCommand","getDataCommand","ackCommand","turnOffCommand","AojBpFrameReader","readFrame","buffer","start","findIndex","byte","index","status","INCOMPLETE","consumedBytes","CORRUPT","COMPLETE","readUnsentCount","readBloodPressure","undefined","systolic","diastolic","heartRate","flags","year","user","irregularHeartbeat","recordedAt","Date","memorySlot"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj-bp.protocol.ts"],"mappings":";;AAAA;;AAGA,SAASA,eAAe,QAAQ,qCAAkC;AAElE,SAASC,UAAU,QAAQ,gCAA6B;AACxD,SAASC,kBAAkB,QAAQ,yCAAsC;AACzE,SAASC,UAAU,QAAQ,+BAA4B;AACvD,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,OAAO,QAAQ,4BAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,MAAM,GAAG;EACpBC,OAAO,EAAEF,OAAO,CAAC,MAAM,CAAC;EACxBG,MAAM,EAAEH,OAAO,CAAC,MAAM,CAAC;EACvBI,KAAK,EAAEJ,OAAO,CAAC,MAAM;AACvB,CAAU;;AAEV;AACA,OAAO,MAAMK,WAAW,GAAG;EACzBH,OAAO,EAAEF,OAAO,CAAC,MAAM,CAAC;EACxBG,MAAM,EAAEH,OAAO,CAAC,MAAM,CAAC;EACvBI,KAAK,EAAEJ,OAAO,CAAC,MAAM;AACvB,CAAU;AAEV,OAAO,MAAMM,WAAW,GAAG;EACzBC,GAAG,EAAE,IAAI;EACTC,MAAM,EAAE,IAAI;EACZC,UAAU,EAAE,IAAI;EAChBC,KAAK,EAAE,IAAI;EACXC,MAAM,EAAE;AACV,CAAU;AAEV,MAAMC,aAAa,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC;AAElC,OAAO,MAAMC,KAAK,GAAGA,CAACC,OAAe,EAAEC,OAA0B,GAAG,EAAE,KAAe;EACnF,MAAMC,KAAK,GAAGpB,UAAU,CAAC,CAAC,IAAI,EAAE,IAAI,EAAEmB,OAAO,CAACE,MAAM,GAAG,CAAC,EAA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;IACRC,SAAS;IACTC,SAAS;IACTI,kBAAkB,EAAE,CAACH,KAAK,GAAG,IAAI,MAAM,CAAC;IACxCI,UAAU,EAAE,IAAIC,IAAI,CAClBJ,IAAI,EACJ,CAACzC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EACrBA,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EACfA,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EACfA,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EACfA,OAAO,CAAC,EAAE,CAAC,IAAI,CACjB,CAAC;IACD,IAAI0C,IAAI,GAAG,CAAC,GAAG;MAAEI,UAAU,EAAEJ;IAAK,CAAC,GAAG,CAAC,CAAC;EAC1C,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -86,7 +86,6 @@ const aojMainServices = [{
|
|
|
86
86
|
class Aoj20aDevice extends BTManagedDevice {
|
|
87
87
|
mainServices = aojMainServices;
|
|
88
88
|
stuckDataTimeout = STUCK_TIMEOUT_MS;
|
|
89
|
-
onStreamStart = undefined;
|
|
90
89
|
frameReader = new AojFrameReader();
|
|
91
90
|
constructor(device, params) {
|
|
92
91
|
super(device, params);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","hexToByte","BTManagedDevice","AojCommandSequencer","AojFrameReader","aojCommandByte","BASE_UUID_SUFFIX","SERVICE","NOTIFY","WRITE","STUCK_TIMEOUT_MS","parseRecordedAt","frame","year","month","day","hours","minutes","recordedAt","Date","every","Number","isFinite","getFullYear","getMonth","getDate","getHours","getMinutes","undefined","decodeAojError","code","messages","acceptEverything","caseValuePosition","cases","caseValue","caseType","RESULT","measurementTypeKey","temperature","parseDefinitions","name","parseType","byteIndexes","customParserDefinition","value","parseInt","minLengthBytes","map","OTHER","aojMainServices","uuid","monitorUuids","parsingModel","writeUuid","mainCommandUuid","Aoj20aDevice","mainServices","stuckDataTimeout","
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","hexToByte","BTManagedDevice","AojCommandSequencer","AojFrameReader","aojCommandByte","BASE_UUID_SUFFIX","SERVICE","NOTIFY","WRITE","STUCK_TIMEOUT_MS","parseRecordedAt","frame","year","month","day","hours","minutes","recordedAt","Date","every","Number","isFinite","getFullYear","getMonth","getDate","getHours","getMinutes","undefined","decodeAojError","code","messages","acceptEverything","caseValuePosition","cases","caseValue","caseType","RESULT","measurementTypeKey","temperature","parseDefinitions","name","parseType","byteIndexes","customParserDefinition","value","parseInt","minLengthBytes","map","OTHER","aojMainServices","uuid","monitorUuids","parsingModel","writeUuid","mainCommandUuid","Aoj20aDevice","mainServices","stuckDataTimeout","frameReader","constructor","device","params","clearHistory","clearDeviceHistory","clockSync","createCommandSequencer","write","serviceUuid","characteristicUuid","handleSuccessResult","successResult","collectedValues","command","errorCode","message","onError","Error","onResult","recordingId","getTime"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj.device.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAG/C,SAASC,QAAQ,QAAQ,6BAA0B;AAMnD,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,mBAAmB,QAAQ,4BAAyB;AAC7D,SAASC,cAAc,EAAEC,cAAc,QAAQ,uBAAoB;AAEnE,MAAMC,gBAAgB,GAAG,8BAA8B;AACvD,MAAMC,OAAO,GAAG,WAAWD,gBAAgB,EAAE;AAC7C,MAAME,MAAM,GAAG,WAAWF,gBAAgB,EAAE;AAC5C,MAAMG,KAAK,GAAG,WAAWH,gBAAgB,EAAE;AAC3C,MAAMI,gBAAgB,GAAG,OAAO;AAEhC,MAAMC,eAAe,GAAIC,KAAwB,IAAuB;EACtE,MAAMC,IAAI,GAAG,IAAI,GAAGZ,SAAS,CAACW,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EAC/C,MAAME,KAAK,GAAGb,SAAS,CA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AC;MAE9B;IACF;IAEA,MAAMrD,UAAU,GAAGP,eAAe,CAAC6D,eAAe,CAAC;IAEnD,IAAI,CAACtD,UAAU,EAAE;MACf,IAAI,CAAC0D,OAAO,GAAG,IAAIC,KAAK,CAAC,qCAAqC,CAAC,CAAC;MAEhE;IACF;IAEA,IAAI,CAACC,QAAQ,GAAG;MACd,GAAGP,aAAa;MAChBrD,UAAU;MACV6D,WAAW,EAAE,OAAOP,eAAe,CAAC,CAAC,CAAC,IAAI,IAAI,IAAItD,UAAU,CAAC8D,OAAO,CAAC,CAAC;IACxE,CAA8B,CAAC;EACjC;AACF;AAEA,SAASxB,YAAY,EAAEN,eAAe,EAAErB,cAAc,EAAElB,eAAe","ignoreList":[]}
|
|
@@ -104,9 +104,7 @@ export class BC01Device extends BTManagedDevice {
|
|
|
104
104
|
* their second-resolution device timestamp for this transfer because a
|
|
105
105
|
* paged-group retry resends the earlier frames.
|
|
106
106
|
*/
|
|
107
|
-
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
107
|
+
|
|
110
108
|
reportUrsRecord(frame) {
|
|
111
109
|
const parsed = parseBc01Record(frame);
|
|
112
110
|
if (!parsed) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","hexToByte","BTManagedDevice","Bc01CommandSequencer","BC01_ANALYTE_ORDER","parseBc01Record","Bc01FrameReader","bc01FrameLengths","bc01MainServices","BC01Device","onStreamStart","reportedTimestamps","clear","Set","mainServices","frameReader","stuckDataTimeout","constructor","device","params","createCommandSequencer","write","serviceUuid","uuid","characteristicUuid","writeUuid","onError","reason","Error","clockSync","clearDeviceHistory","now","validatePackage","pkg","length","opcode","minLength","toString","padStart","undefined","handleDependentResult","data","frame","reportUrsRecord","parsingCase","caseType","OTHER","
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","hexToByte","BTManagedDevice","Bc01CommandSequencer","BC01_ANALYTE_ORDER","parseBc01Record","Bc01FrameReader","bc01FrameLengths","bc01MainServices","BC01Device","onStreamStart","reportedTimestamps","clear","Set","mainServices","frameReader","stuckDataTimeout","constructor","device","params","createCommandSequencer","write","serviceUuid","uuid","characteristicUuid","writeUuid","onError","reason","Error","clockSync","clearDeviceHistory","now","validatePackage","pkg","length","opcode","minLength","toString","padStart","undefined","handleDependentResult","data","frame","reportUrsRecord","parsingCase","caseType","OTHER","parsed","measuredValues","reduce","acc","analyte","value","values","Object","keys","timestamp","getTime","has","add","reading","RESULT","measurementTypeKey","uricAcid","urineValues","recordedAt","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01.device.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAiC,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAQnD,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AAEtD,SAASC,oBAAoB,QAAQ,6BAA0B;AAC/D,SAASC,kBAAkB,EAAEC,eAAe,QAAQ,wBAAqB;AACzE,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,wBAAqB;AACvE,SAASC,gBAAgB,QAAQ,yBAAsB;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,SAASP,eAAe,CAAyB;EAC5DQ,aAAa,GAAeA,CAAA,KAAM;IAC1C,IAAI,CAACC,kBAAkB,CAACC,KAAK,CAAC,CAAC;EACjC,CAAC;EAEgBD,kBAAkB,GAAG,IAAIE,GAAG,CAAS,CAAC;EAE7CC,YAAY,GAAeN,gBAAgB;EAC3CO,WAAW,GAAoB,IAAIT,eAAe,CAAC,CAAC;;EAE9D;AACF;AACA;AACA;AACA;AACA;EACYU,gBAAgB,GAAG,MAAM;EAEnCC,WAAWA,CAACC,MAAc,EAAEC,MAAkD,EAAE;IAC9E,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;;IAErB;AACJ;AACA;AACA;AACA;AACA;AACA;IACI,I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H,IAAI,CAACG,WAAW;QAAEC,QAAQ,EAAE7C,QAAQ,CAAC8C;MAAM;IAC/D,CAAC;EACH,CAAC;;EAED;AACF;AACA;AACA;AACA;AACA;AACA;;EAEUH,eAAeA,CAACD,KAAwB,EAAQ;IACtD,MAAMK,MAAM,GAAG1C,eAAe,CAACqC,KAAK,CAAC;IAErC,IAAI,CAACK,MAAM,EAAE;MACX;IACF;IAEA,MAAMC,cAAc,GAAG5C,kBAAkB,CAAC6C,MAAM,CAE9C,CAACC,GAAG,EAAEC,OAAO,KAAK;MAClB,MAAMC,KAAK,GAAGL,MAAM,CAACM,MAAM,CAACF,OAAO,CAAC;MAEpC,IAAIC,KAAK,KAAKb,SAAS,EAAE;QACvBW,GAAG,CAACC,OAAO,CAAC,GAAGC,KAAK;MACtB;MAEA,OAAOF,GAAG;IACZ,CAAC,EAAE,CAAC,CAAC,CAAC;IAEN,IAAII,MAAM,CAACC,IAAI,CAACP,cAAc,CAAC,CAACd,MAAM,KAAK,CAAC,EAAE;MAC5C,IAAI,CAACR,OAAO,GAAG,sDAAsD,CAAC;MAEtE;IACF;IAEA,MAAM8B,SAAS,GAAGT,MAAM,CAACS,SAAS,CAACC,OAAO,CAAC,CAAC;IAE5C,IAAI,IAAI,CAAC9C,kBAAkB,CAAC+C,GAAG,CAACF,SAAS,CAAC,EAAE;MAC1C;IACF;IAEA,IAAI,CAAC7C,kBAAkB,CAACgD,GAAG,CAACH,SAAS,CAAC;IAEtC,MAAMI,OAAO,GAAG;MACdf,QAAQ,EAAE7C,QAAQ,CAAC6D,MAAM;MACzBC,kBAAkB,EAAE/D,kBAAkB,CAACgE,QAAQ;MAC/CC,WAAW,EAAE,EAAE;MACfC,UAAU,EAAElB,MAAM,CAACS,SAAS;MAC5B,GAAGR;IACL,CAEC;IAED,IAAI,CAACkB,QAAQ,GAAGN,OAAO,CAAC;EAC1B;AACF","ignoreList":[]}
|
package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","IntegratedDevices","hexToByte","BTManagedDevice","TAIDOC","TAIDOC_CHARACTERISTIC","TAIDOC_SERVICE","taidocCommand","isPatientGlucoseRecord","BGM_SERVICE","BGM_CHARACTERISTIC","GLUCOSE_REQUEST","readingResult","join","servicesFor","device","isBgm","BGM","uuid","monitorUuids","parsingModel","caseValuePosition","cases","GLUCOCHECK","map","caseValue","caseType","OTHER","parseDefinitions","measurementTypeKey","bloodGlucose","RESULT","name","parseType","byteIndexes","parseReference","customParserDefinition","value","slice","raw","parseInt","TAIDOC_GLUCOSE","Number","toFixed","writeUuid","mainCommandUuid","BloodGlucoseDevice","stuckDataTimeout","constructor","params","mainServices","deviceName","validatePackage","pkg","length","deviceData","handleSuccessResult","result","frame","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/blood-glucose/blood-glucose.device.ts"],"mappings":";;AAAA,SAAkCA,kBAAkB,QAAQ,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAGnD,SAASC,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AACtD,SACEC,MAAM,EACNC,qBAAqB,EACrBC,cAAc,EACdC,aAAa,QACR,8BAA2B;AAClC,SAASC,sBAAsB,QAAQ,6BAA0B;AAEjE,MAAMC,WAAW,GAAG,sCAAsC;AAC1D,MAAMC,kBAAkB,GAAG,sCAAsC;AACjE,MAAMC,eAAe,GAAGJ,aAAa,CAACH,MAAM,CAACQ,aAAa,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;AAOpE,MAAMC,WAAW,GAAIC,MAAqB,IAAiB;EACzD,MAAMC,KAAK,GAAGD,MAAM,KAAKd,iBAAiB,CAACgB,GAAG;EAE9C,OAAO,CACL;IACEC,IAAI,EAAEF,KAAK,GAAGP,WAAW,GAAGH,cAAc;IAC1Ca,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,iBAAiB,CAACwC,cAAc,GAC9CC,MAAM,CAAC,CAACH,GAAG,GAAG,EAAE,EAAEI,OAAO,CAAC,CAAC,CAAC,CAAC,GAC7BJ,GAAG;YACT;UACF,CAAC;QAEL,CAAC;MAEL;IACF,CAAC,CACF;IACD,IAAIvB,KAAK,GACL,CAAC,CAAC,GACF;MACE4B,SAAS,EAAE;QACT1B,IAAI,EAAEb,qBAAqB;QAC3BwC,eAAe,EAAElC;MACnB;IACF,CAAC;EACP,CAAC,CACF;AACH,CAAC;;AAED;AACA,OAAO,MAAMmC,kBAAkB,SAAS3C,eAAe,CAAgB;
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","IntegratedDevices","hexToByte","BTManagedDevice","TAIDOC","TAIDOC_CHARACTERISTIC","TAIDOC_SERVICE","taidocCommand","isPatientGlucoseRecord","BGM_SERVICE","BGM_CHARACTERISTIC","GLUCOSE_REQUEST","readingResult","join","servicesFor","device","isBgm","BGM","uuid","monitorUuids","parsingModel","caseValuePosition","cases","GLUCOCHECK","map","caseValue","caseType","OTHER","parseDefinitions","measurementTypeKey","bloodGlucose","RESULT","name","parseType","byteIndexes","parseReference","customParserDefinition","value","slice","raw","parseInt","TAIDOC_GLUCOSE","Number","toFixed","writeUuid","mainCommandUuid","BloodGlucoseDevice","stuckDataTimeout","constructor","params","mainServices","deviceName","validatePackage","pkg","length","deviceData","handleSuccessResult","result","frame","onResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/blood-glucose/blood-glucose.device.ts"],"mappings":";;AAAA,SAAkCA,kBAAkB,QAAQ,YAAY;AAGxE,SAASC,QAAQ,QAAQ,6BAA0B;AAGnD,SAASC,iBAAiB,QAAQ,sCAAmC;AAGrE,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,eAAe,QAAQ,yBAAsB;AACtD,SACEC,MAAM,EACNC,qBAAqB,EACrBC,cAAc,EACdC,aAAa,QACR,8BAA2B;AAClC,SAASC,sBAAsB,QAAQ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AY,KAAK,CAAC,EAAE;MACpE;IACF;;IAEA;IACA,IACE,IAAI,CAACyB,UAAU,CAACvB,IAAI,KAAK/B,iBAAiB,CAACgB,GAAG,IAC9C,CAACT,sBAAsB,CAACkD,KAAK,CAAC,EAC9B;MACA;IACF;IAEA,IAAI,CAACC,QAAQ,GAAGF,MAA0D,CAAC;EAC7E;AACF","ignoreList":[]}
|
|
@@ -11,7 +11,6 @@ import { bpw1MainServices } from "./bpw1.main-services.js";
|
|
|
11
11
|
class Bpw1Device extends BTManagedDevice {
|
|
12
12
|
mainServices = bpw1MainServices;
|
|
13
13
|
stuckDataTimeout = 120_000;
|
|
14
|
-
onStreamStart = undefined;
|
|
15
14
|
frameReader = new Bpw1FrameReader();
|
|
16
15
|
constructor(device, params) {
|
|
17
16
|
super(device, params);
|
|
@@ -37,9 +36,6 @@ class Bpw1Device extends BTManagedDevice {
|
|
|
37
36
|
}
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
|
-
handleSuccessResult() {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
39
|
}
|
|
44
40
|
export { Bpw1Device, bpw1MainServices };
|
|
45
41
|
//# sourceMappingURL=bpw1.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","CaseType","BTManagedDevice","Bpw1CommandSequencer","parseBpw1BloodPressureRecords","Bpw1FrameReader","bpw1MainServices","Bpw1Device","mainServices","stuckDataTimeout","
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","CaseType","BTManagedDevice","Bpw1CommandSequencer","parseBpw1BloodPressureRecords","Bpw1FrameReader","bpw1MainServices","Bpw1Device","mainServices","stuckDataTimeout","frameReader","constructor","device","params","createCommandSequencer","handleDependentResult","data","frame","record","onResult","caseType","RESULT","measurementTypeKey","bloodPressure","systolic","diastolic","recordedAt","parsingCase","OTHER"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bpw1/bpw1.device.ts"],"mappings":";;AAAA,SA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so an unknown buffer is never decoded on trust.
|
|
83
83
|
*/
|
|
84
84
|
|
|
85
|
+
/** Called with each parsed result; most devices report through `onResult` instead. */
|
|
86
|
+
handleSuccessResult(_successResult, _collectedValues) {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
|
|
85
90
|
/** Flushes protocol-level session state before a connection is torn down. */
|
|
86
91
|
handleMeasurementEnd() {}
|
|
87
92
|
constructor(device, {
|