@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_integratedDevicesMap","require","_s9Advertisement","_integratedDevices","_isCustomDeviceDefinition","resolveDeviceKey","acceptedDevices","advertisedName","serviceUUIDs","manufacturerData","normalizedServices","
|
|
1
|
+
{"version":3,"names":["_integratedDevicesMap","require","_s9Advertisement","_integratedDevices","_isCustomDeviceDefinition","UNSUPPORTED_TRANSTEK_A6_BLOOD_PRESSURE_NAMES","Set","resolveDeviceKey","acceptedDevices","advertisedName","serviceUUIDs","manufacturerData","normalizedServices","map","uuid","toLowerCase","includes","IntegratedDevices","TRANSTEK_A6_BPM","has","trim","undefined","TRASENSE_S9","isTrasenseS9Advertisement","regex","deviceType","integratedDevicesMap","lastIndex","test","serviceMatchedBuiltIn","RPM_SCALE","MAMBO_A5","customDevices","filter","isCustomDeviceDefinition","custom","matchByService","nameMatch","id","mainServices","some","service","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/core/resolve-device-key.ts"],"mappings":";;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AAGA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AAEA,MAAMI,4CAA4C,GAAG,IAAIC,GAAG,CAAC,CAC3D,UAAU,EACV,UAAU,EACV,WAAW,EACX,gBAAgB,CACjB,CAAC;;AAEF;AACO,MAAMC,gBAAgB,GAAGA,CAC9BC,eAA0C,EAC1CC,cAAc,GAAG,EAAE,EACnBC,YAA+B,GAAG,EAAE,EACpCC,gBAAyB,KACC;EAC1B,MAAMC,kBAAkB,GAAG,IAAIN,GAAG,CAChCI,YAAY,CAACG,GAAG,CAAEC,IAAI,IAAKA,IAAI,CAACC,WAAW,CAAC,CAAC,CAC/C,CAAC;;EAED;EACA,IACEP,eAAe,CAACQ,QAAQ,CAACC,oCAAiB,CAACC,eAAe,CAAC,IAC3DN,kBAAkB,CAACO,GAAG,CAAC,sCAAsC,CAAC,IAC9Dd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SAAS,CAACT,IAAI,CAACnB,cAAc,CAAC,EAAE;MACzC0B,MAAM,CAACE,SAAS,CAACV,SAAS,GAAG,CAAC;MAE9B,OAAOQ,MAAM,CAACG,EAAE;IAClB;EACF;EAEA,KAAK,MAAMH,MAAM,IAAIH,aAAa,EAAE;IAClC,IACEG,MAAM,CAACC,cAAc,IACrBD,MAAM,CAACI,YAAY,CAACC,IAAI,CAAEC,OAAO,IAC/B7B,kBAAkB,CAACO,GAAG,CAACsB,OAAO,CAAC3B,IAAI,CAACC,WAAW,CAAC,CAAC,CACnD,CAAC,EACD;MACA,OAAOoB,MAAM,CAACG,EAAE;IAClB;EACF;EAEA,OAAOjB,SAAS;AAClB,CAAC;AAACqB,OAAA,CAAAnC,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -27,7 +27,7 @@ var _jumperDevice = require("./devices/jumper/jumper.device.js");
|
|
|
27
27
|
var _oxyfitDevice = require("./devices/spo/oxyfit.device.js");
|
|
28
28
|
var _spo2Device = require("./devices/spo/spo2.device.js");
|
|
29
29
|
var _taidocDevice = require("./devices/taidoc/taidoc.device.js");
|
|
30
|
-
var
|
|
30
|
+
var _a6Device = require("./devices/transtek/a6.device.js");
|
|
31
31
|
var _mamboA5Device = require("./devices/transtek/mambo-a5.device.js");
|
|
32
32
|
var _transtekCommandDevice = require("./devices/transtek/transtek-command.device.js");
|
|
33
33
|
var _s9Device = require("./devices/trasense/s9.device.js");
|
|
@@ -62,7 +62,8 @@ const BUILT_IN_DEVICE_CLASSES = exports.BUILT_IN_DEVICE_CLASSES = {
|
|
|
62
62
|
[_integratedDevices.IntegratedDevices.S5]: _f4Device.F4Device,
|
|
63
63
|
[_integratedDevices.IntegratedDevices.LEPU_F4_SCALE]: _f4Device.F4Device,
|
|
64
64
|
[_integratedDevices.IntegratedDevices.LEPU_F5_SCALE]: _f5ScaleDevice.F5ScaleDevice,
|
|
65
|
-
[_integratedDevices.IntegratedDevices.RPM_SCALE]:
|
|
65
|
+
[_integratedDevices.IntegratedDevices.RPM_SCALE]: _a6Device.TranstekA6Device,
|
|
66
|
+
[_integratedDevices.IntegratedDevices.TRANSTEK_A6_BPM]: _a6Device.TranstekA6Device,
|
|
66
67
|
[_integratedDevices.IntegratedDevices.MAMBO_A5]: _mamboA5Device.MamboA5Device,
|
|
67
68
|
[_integratedDevices.IntegratedDevices.PC60WF]: _spo2Device.SPO2Device,
|
|
68
69
|
[_integratedDevices.IntegratedDevices.SPO2]: _oxyfitDevice.OxyfitDevice,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_integratedDevices","require","_a606Device","_andMedicalDevice","_aoj70bDevice","_aojBpDevice","_aojDevice","_bc01Device","_bloodGlucoseDevice","_bp2Device","_bpw1Device","_checkmeEcgDevice","_checkmePodDevice","_checkmeDevice","_cofoeDevice","_f4Device","_f5ScaleDevice","_famidocDevice","_genialT31Device","_joytechDevice","_jumperDevice","_oxyfitDevice","_spo2Device","_taidocDevice","
|
|
1
|
+
{"version":3,"names":["_integratedDevices","require","_a606Device","_andMedicalDevice","_aoj70bDevice","_aojBpDevice","_aojDevice","_bc01Device","_bloodGlucoseDevice","_bp2Device","_bpw1Device","_checkmeEcgDevice","_checkmePodDevice","_checkmeDevice","_cofoeDevice","_f4Device","_f5ScaleDevice","_famidocDevice","_genialT31Device","_joytechDevice","_jumperDevice","_oxyfitDevice","_spo2Device","_taidocDevice","_a6Device","_mamboA5Device","_transtekCommandDevice","_s9Device","_mysenseDevice","_verovalActivityDevice","_verovalDuoControlDevice","_verovalEcgDevice","_ap20Device","_babySleepClipDevice","_biolandBgmDevice","_lpm311Device","_oxyS3Device","_pc68bDevice","_pc80bDevice","_pf10aw1Device","_poctorM3102Device","_sp20Device","_viatomR20Device","_viatomBpm188Device","_viatomPc100Device","_viatomPc300Device","_viatomPm10Device","_viatomWbp02Device","_yonkerDevice","BUILT_IN_DEVICE_CLASSES","exports","IntegratedDevices","BP2","BP2Device","F4","F4Device","S5","LEPU_F4_SCALE","LEPU_F5_SCALE","F5ScaleDevice","RPM_SCALE","TranstekA6Device","TRANSTEK_A6_BPM","MAMBO_A5","MamboA5Device","PC60WF","SPO2Device","SPO2","OxyfitDevice","MYSENSE","MySenseDevice","BC01","BC01Device","AOJ20A","Aoj20aDevice","TAIDOC_GLUCOSE","BloodGlucoseDevice","GLUCOCHECK","BGM","VEROVAL_DUO_CONTROL","VerovalDuoControlDevice","VEROVAL_ECG","VerovalEcgDevice","VEROVAL_ACTIVITY","VerovalActivityDevice","GENIAL_T31","GenialT31Device","ZH_SG_A606","A606Device","BPW1","Bpw1Device","CHECKME","CheckmeProDevice","CHECKME_POD","CheckmePodDevice","CHECKME_POD_WPS","AP20","Ap20Device","AP20_WPS","PC68B","Pc68bDevice","PC100","Pc100Device","BPM188","Bpm188Device","PC300","Pc300Device","POCTOR_M3102","PoctorM3102Device","BIOLAND_BGM","BiolandBgmDevice","PULSEBIT_EX","PulsebitDevice","CHECKME_EX","CHECKME_LE","CheckmeLeDevice","PC80B","Pc80bDevice","WBP_02","Wbp02Device","PM10","Pm10Device","LPM311","Lpm311Device","VIATOM_R20","ViatomR20Device","VIATOM_R200","SP_20","Sp20Device","SP_20_BLE","SP_20_WPS","BBSM_S3","OxyS3Device","VIATOM_BBSM_BS1","BabySleepClipDevice","PF10AW_ME","Pf10Aw1Device","SA10AW_PU","PF10BW_VE","TRASENSE_S9","TrasenseS9Device","TRANSTEK_BPM","TranstekCommandDevice","TRANSTEK_SCALE","TRANSTEK_SCALE_1525","TRANSTEK_TRACKER","FAMIDOC_BPM","FamidocDevice","FAMIDOC_IR_THERMOMETER","FAMIDOC_CONTACT_THERMOMETER","AOJ_BPM","AojBpDevice","AOJ_BPM_FFF0","AOJ_70B","Aoj70bDevice","JUMPER_OXIMETER","JumperDevice","JUMPER_BPM","JUMPER_THERMOMETER","JOYTECH_BPM","JoytechDevice","JOYTECH_THERMOMETER","AND_BPM","AndMedicalDevice","AND_BPM_CTS","AND_SCALE","YONKER_OXIMETER","YonkerDevice","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","YONKER_80B","COFOE_BPM","CofoeDevice","COFOE_BPM_HISTORY","COFOE_GLUCOMETER","COFOE_GLUCOMETER_CGH25","COFOE_THERMOMETER","TAIDOC_MULTI","TaidocDevice","TAIDOC_BPM","TAIDOC_THERMOMETER","TAIDOC_OXIMETER","TAIDOC_SCALE"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/services/device-classes.ts"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAV,OAAA;AAIA,IAAAW,iBAAA,GAAAX,OAAA;AACA,IAAAY,cAAA,GAAAZ,OAAA;AACA,IAAAa,YAAA,GAAAb,OAAA;AACA,IAAAc,SAAA,GAAAd,OAAA;AACA,IAAAe,cAAA,GAAAf,OAAA;AACA,IAAAgB,cAAA,GAAAhB,OAAA;AACA,IAAAiB,gBAAA,GAAAjB,OAAA;AACA,IAAAkB,cAAA,GAAAlB,OAAA;AACA,IAAAmB,aAAA,GAAAnB,OAAA;AACA,IAAAoB,aAAA,GAAApB,OAAA;AACA,IAAAqB,WAAA,GAAArB,OAAA;AACA,IAAAsB,aAAA,GAAAtB,OAAA;AACA,IAAAuB,SAAA,GAAAvB,OAAA;AACA,IAAAwB,cAAA,GAAAxB,OAAA;AACA,IAAAyB,sBAAA,GAAAzB,OAAA;AACA,IAAA0B,SAAA,GAAA1B,OAAA;AACA,IAAA2B,cAAA,GAAA3B,OAAA;AACA,IAAA4B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AAkB,GAAGF,0BAAY;EACpD,CAAChI,oCAAiB,CAACmI,eAAe,GAAGH,0BAAY;EACjD,CAAChI,oCAAiB,CAACoI,YAAY,GAAGJ;AACpC,CAAC","ignoreList":[]}
|
|
@@ -21,7 +21,6 @@ var _a606MainServices = require("./a606.main-services.js");
|
|
|
21
21
|
class A606Device extends _btManagedDevice.BTManagedDevice {
|
|
22
22
|
mainServices = _a606MainServices.a606MainServices;
|
|
23
23
|
stuckDataTimeout = 120_000;
|
|
24
|
-
onStreamStart = undefined;
|
|
25
24
|
frameReader = new _a606FrameReader.A606FrameReader();
|
|
26
25
|
constructor(device, params) {
|
|
27
26
|
super(device, params);
|
|
@@ -47,9 +46,6 @@ class A606Device extends _btManagedDevice.BTManagedDevice {
|
|
|
47
46
|
}
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
|
-
handleSuccessResult() {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
49
|
}
|
|
54
50
|
exports.A606Device = A606Device;
|
|
55
51
|
//# sourceMappingURL=a606.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_caseType","_btManagedDevice","_a606CommandSequencer","_a606FrameParser","_a606FrameReader","_a606MainServices","A606Device","BTManagedDevice","mainServices","a606MainServices","stuckDataTimeout","
|
|
1
|
+
{"version":3,"names":["_core","require","_caseType","_btManagedDevice","_a606CommandSequencer","_a606FrameParser","_a606FrameReader","_a606MainServices","A606Device","BTManagedDevice","mainServices","a606MainServices","stuckDataTimeout","frameReader","A606FrameReader","constructor","device","params","createCommandSequencer","A606CommandSequencer","clockSync","handleDependentResult","data","frame","record","parseA606Record","onResult","caseType","CaseType","RESULT","measurementTypeKey","MeasurementTypeKey","bloodGlucose","recordedAt","parsingCase","OTHER","exports"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/a606/a606.device.ts"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,SAAA,GAAAD,OAAA;AAQA,IAAAE,gBAAA,GAAAF,OAAA;AAEA,IAAAG,qBAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AAMA;AACA,MAAMO,UAAU,SAASC,gCAAe,CAA+B;EAC3DC,YAAY,GAAeC,kCAAgB;EAC3CC,gBAAgB,GAAG,OAAO;EAC1BC,WAAW,GAAG,IAAIC,gCAAe,CAAC,CAAC;EAEtCC,WAAWA,CAChBC,MAAc,EACdC,MAAwD,EACxD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,0CAAoB,CAACF,MAAM,CAACG,SAAS,CAAC;EAC9C;EAEUC,qBAAqB,GAC7BC,IAAmD,IACD;IAClD,IAAIA,IAAI,CAACC,KAAK,EAAE;MACd,MAAMC,MAAM,GAAG,IAAAC,gCAAe,EAACH,IAAI,CAACC,KAAK,CAAC;MAE1C,IAAIC,MAAM,EAAE;QACV,IAAI,CAACE,QAAQ,GAAG;UACdC,QAAQ,EAAEC,kBAAQ,CAACC,MAAM;UACzBC,kBAAkB,EAAEC,wBAAkB,CAACC,YAAY;UACnDA,YAAY,EAAER,MAAM,CAACQ,YAAY;UACjCC,UAAU,EAAET,MAAM,CAACS;QACrB,CAAwE,CAAC;MAC3E;IACF;IAEA,OAAO;MACL,GAAGX,IAAI;MACPY,WAAW,EAAE;QAAE,GAAGZ,IAAI,CAACY,WAAW;QAAEP,QAAQ,EAAEC,kBAAQ,CAACO;MAAM;IAC/D,CAAC;EACH,CAAC;AAEH;AAACC,OAAA,CAAA5B,UAAA,GAAAA,UAAA","ignoreList":[]}
|
package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js
CHANGED
|
@@ -4,19 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.AndMedicalDevice = void 0;
|
|
7
|
+
var _noParsingCases = require("../../../constants/no-parsing-cases.js");
|
|
7
8
|
var _integratedDevices = require("../../../types/integrated-devices.js");
|
|
8
9
|
var _btManagedDevice = require("../bt-managed-device.js");
|
|
9
10
|
var _andMedicalProtocol = require("./and-medical.protocol.js");
|
|
10
11
|
var _andMedicalSequencer = require("./and-medical.sequencer.js");
|
|
11
|
-
const noCases = {
|
|
12
|
-
caseValuePosition: [],
|
|
13
|
-
cases: []
|
|
14
|
-
};
|
|
15
12
|
const monitorServices = [{
|
|
16
13
|
uuid: _andMedicalProtocol.AND_MEDICAL.bloodPressureService,
|
|
17
14
|
monitorUuids: [{
|
|
18
15
|
uuid: _andMedicalProtocol.AND_MEDICAL.bloodPressureMeasurement,
|
|
19
|
-
parsingModel:
|
|
16
|
+
parsingModel: _noParsingCases.NO_PARSING_CASES
|
|
20
17
|
}]
|
|
21
18
|
}];
|
|
22
19
|
|
|
@@ -28,7 +25,7 @@ const scaleServices = [{
|
|
|
28
25
|
uuid: _andMedicalProtocol.AND_MEDICAL.scaleService,
|
|
29
26
|
monitorUuids: [{
|
|
30
27
|
uuid: _andMedicalProtocol.AND_MEDICAL.scaleRecord,
|
|
31
|
-
parsingModel:
|
|
28
|
+
parsingModel: _noParsingCases.NO_PARSING_CASES
|
|
32
29
|
}]
|
|
33
30
|
}];
|
|
34
31
|
const KIND = {
|
|
@@ -40,7 +37,6 @@ const KIND = {
|
|
|
40
37
|
/** A&D Medical blood-pressure monitors and the UC-352BLE scale. */
|
|
41
38
|
class AndMedicalDeviceClass extends _btManagedDevice.BTManagedDevice {
|
|
42
39
|
stuckDataTimeout = 90_000;
|
|
43
|
-
onStreamStart = undefined;
|
|
44
40
|
constructor(device, params) {
|
|
45
41
|
super(device, params);
|
|
46
42
|
const kind = KIND[params.deviceName];
|
|
@@ -53,9 +49,6 @@ class AndMedicalDeviceClass extends _btManagedDevice.BTManagedDevice {
|
|
|
53
49
|
|
|
54
50
|
/** One indication is one record. */
|
|
55
51
|
validatePackage = () => true;
|
|
56
|
-
handleSuccessResult() {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
52
|
}
|
|
60
53
|
exports.AndMedicalDevice = AndMedicalDeviceClass;
|
|
61
54
|
//# sourceMappingURL=and-medical.device.js.map
|
package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_noParsingCases","require","_integratedDevices","_btManagedDevice","_andMedicalProtocol","_andMedicalSequencer","monitorServices","uuid","AND_MEDICAL","bloodPressureService","monitorUuids","bloodPressureMeasurement","parsingModel","NO_PARSING_CASES","scaleServices","scaleService","scaleRecord","KIND","IntegratedDevices","AND_BPM","AND_BPM_CTS","AND_SCALE","AndMedicalDeviceClass","BTManagedDevice","stuckDataTimeout","constructor","device","params","kind","deviceName","mainServices","createCommandSequencer","AndMedicalSequencer","onResult","result","validatePackage","exports","AndMedicalDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/and-medical/and-medical.device.ts"],"mappings":";;;;;;AAEA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,kBAAA,GAAAD,OAAA;AAGA,IAAAE,gBAAA,GAAAF,OAAA;AAEA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAJ,OAAA;AAOA,MAAMK,eAA2B,GAAG,CAClC;EACEC,IAAI,EAAEC,+BAAW,CAACC,oBAAoB;EACtCC,YAAY,EAAE,CAAC;IAAEH,IAAI,EAAEC,+BAAW,CAACG,wBAAwB;IAAEC,YAAY,EAAEC;EAAiB,CAAC;AAC/F,CAAC,CACF;;AAED;AACA;AACA;AACA;AACA,MAAMC,aAAyB,GAAG,CAChC;EACEP,IAAI,EAAEC,+BAAW,CAACO,YAAY;EAC9BL,YAAY,EAAE,CAAC;IAAEH,IAAI,EAAEC,+BAAW,CAACQ,WAAW;IAAEJ,YAAY,EAAEC;EAAiB,CAAC;AAClF,CAAC,CACF;AAED,MAAMI,IAA8C,GAAG;EACrD,CAACC,oCAAiB,CAACC,OAAO,GAAG,KAAK;EAClC,CAACD,oCAAiB,CAACE,WAAW,GAAG,QAAQ;EACzC,CAACF,oCAAiB,CAACG,SAAS,GAAG;AACjC,CAAC;;AAED;AACA,MAAMC,qBAAqB,SAASC,gCAAe,CAAmB;EAE1DC,gBAAgB,GAAG,MAAM;EAE5BC,WAAWA,CAACC,MAAc,EAAEC,MAA4C,EAAE;IAC/E,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,MAAMC,IAAI,GAAGX,IAAI,CAACU,MAAM,CAACE,UAAU,CAAC;IAEpC,IAAI,CAACC,YAAY,GAAGF,IAAI,KAAK,OAAO,GAAGd,aAAa,GAAGR,eAAe;IACtE,IAAI,CAACyB,sBAAsB,GAAG,MAC5B,IAAIC,wCAAmB,CAAC;MACtBJ,IAAI;MACJK,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MACF;IACJ,CAAC,CAAC;EACN;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;AAEjD;AAACC,OAAA,CAAAC,gBAAA,GAAAf,qBAAA","ignoreList":[]}
|
package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js
CHANGED
|
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.scaleSetTimeCommand = exports.readWeight = exports.readBloodPressure = exports.dateTimeCommand = exports.AND_MEDICAL = void 0;
|
|
7
|
+
var _bytesToHex = require("../../../utils/bytes-to-hex.js");
|
|
7
8
|
var _decodeMedicalFloat = require("../../../utils/decode-medical-float.js");
|
|
8
|
-
var
|
|
9
|
+
var _frameBytes = require("../../../utils/frame-bytes.js");
|
|
10
|
+
var _sigUuid = require("../../../utils/sig-uuid.js");
|
|
9
11
|
var _standardGattProfile = require("../standard-gatt/standard-gatt.profile.js");
|
|
10
12
|
/* eslint-disable import/group-exports */
|
|
11
13
|
|
|
@@ -18,13 +20,12 @@ var _standardGattProfile = require("../standard-gatt/standard-gatt.profile.js");
|
|
|
18
20
|
* the UA-1200BLE/UB-1100BLE. The scale takes A&D command frames (`length type command payload`,
|
|
19
21
|
* no checksum) on 233bf001 and indicates 10-byte weight records on 23434101.
|
|
20
22
|
*/
|
|
21
|
-
const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
|
|
22
23
|
const AND_MEDICAL = exports.AND_MEDICAL = {
|
|
23
|
-
bloodPressureService:
|
|
24
|
-
bloodPressureMeasurement:
|
|
25
|
-
dateTime:
|
|
26
|
-
currentTimeService:
|
|
27
|
-
currentTime:
|
|
24
|
+
bloodPressureService: (0, _sigUuid.sigUuid)("1810"),
|
|
25
|
+
bloodPressureMeasurement: (0, _sigUuid.sigUuid)("2a35"),
|
|
26
|
+
dateTime: (0, _sigUuid.sigUuid)("2a08"),
|
|
27
|
+
currentTimeService: (0, _sigUuid.sigUuid)("1805"),
|
|
28
|
+
currentTime: (0, _sigUuid.sigUuid)("2a2b"),
|
|
28
29
|
commandService: "233bf000-5a34-1b6d-975c-000d5690abe4",
|
|
29
30
|
command: "233bf001-5a34-1b6d-975c-000d5690abe4",
|
|
30
31
|
scaleService: "23434100-1fe4-1eff-80cb-00ff78297d8b",
|
|
@@ -32,14 +33,13 @@ const AND_MEDICAL = exports.AND_MEDICAL = {
|
|
|
32
33
|
};
|
|
33
34
|
const POUND_IN_KG = 0.45359237;
|
|
34
35
|
const KPA_IN_MMHG = 7.500617;
|
|
35
|
-
const toHex = bytes => bytes.map(value => (value & 0xff).toString(16).padStart(2, "0"));
|
|
36
36
|
|
|
37
37
|
/** SIG Date Time, phone-local: year (u16 LE), month, day, hour, minute, second. */
|
|
38
|
-
const dateTimeCommand = now =>
|
|
38
|
+
const dateTimeCommand = now => (0, _bytesToHex.bytesToHex)([now.getFullYear() & 0xff, now.getFullYear() >> 8, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()]);
|
|
39
39
|
|
|
40
40
|
/** A&D set-time frame for the scale: `08 01 01 YY MM DD hh mm ss`, binary, phone-local. */
|
|
41
41
|
exports.dateTimeCommand = dateTimeCommand;
|
|
42
|
-
const scaleSetTimeCommand = now =>
|
|
42
|
+
const scaleSetTimeCommand = now => (0, _bytesToHex.bytesToHex)([0x08, 0x01, 0x01, now.getFullYear() % 100, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()]);
|
|
43
43
|
exports.scaleSetTimeCommand = scaleSetTimeCommand;
|
|
44
44
|
const sfloat = (bytes, at) => at + 1 < bytes.length ? (0, _decodeMedicalFloat.decodeMedicalFloat)((bytes[at] ?? 0) | (bytes[at + 1] ?? 0) << 8, 4, 12) : undefined;
|
|
45
45
|
|
|
@@ -49,7 +49,7 @@ const sfloat = (bytes, at) => at + 1 < bytes.length ? (0, _decodeMedicalFloat.de
|
|
|
49
49
|
* status bit 2 is the irregular pulse. A record without both pressures is dropped.
|
|
50
50
|
*/
|
|
51
51
|
const readBloodPressure = frame => {
|
|
52
|
-
const bytes =
|
|
52
|
+
const bytes = (0, _frameBytes.frameBytes)(frame);
|
|
53
53
|
const flags = bytes[0] ?? 0;
|
|
54
54
|
const unit = (flags & 0x01) !== 0 ? KPA_IN_MMHG : 1;
|
|
55
55
|
const systolic = sfloat(bytes, 1);
|
|
@@ -95,7 +95,7 @@ const readDateTime = (bytes, at) => {
|
|
|
95
95
|
* are converted to kilograms. A record too short to carry a time uses the phone's, as MedM does.
|
|
96
96
|
*/
|
|
97
97
|
const readWeight = (frame, now) => {
|
|
98
|
-
const bytes =
|
|
98
|
+
const bytes = (0, _frameBytes.frameBytes)(frame);
|
|
99
99
|
const raw = (bytes[1] ?? 0) | (bytes[2] ?? 0) << 8;
|
|
100
100
|
if (bytes.length < 3 || raw === 0 || raw === 0xffff) {
|
|
101
101
|
return undefined;
|
package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_bytesToHex","require","_decodeMedicalFloat","_frameBytes","_sigUuid","_standardGattProfile","AND_MEDICAL","exports","bloodPressureService","sigUuid","bloodPressureMeasurement","dateTime","currentTimeService","currentTime","commandService","command","scaleService","scaleRecord","POUND_IN_KG","KPA_IN_MMHG","dateTimeCommand","now","bytesToHex","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","scaleSetTimeCommand","sfloat","bytes","at","length","decodeMedicalFloat","undefined","readBloodPressure","frame","frameBytes","flags","unit","systolic","diastolic","recordedAt","recordedAtFromBloodPressureFrame","cursor","heartRate","user","status","bloodPressureStatusFromFrame","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":";;;;;;AAEA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAJ,OAAA;AANA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMK,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EACzBE,oBAAoB,EAAE,IAAAC,gBAAO,EAAC,MAAM,CAAC;EACrCC,wBAAwB,EAAE,IAAAD,gBAAO,EAAC,MAAM,CAAC;EACzCE,QAAQ,EAAE,IAAAF,gBAAO,EAAC,MAAM,CAAC;EACzBG,kBAAkB,EAAE,IAAAH,gBAAO,EAAC,MAAM,CAAC;EACnCI,WAAW,EAAE,IAAAJ,gBAAO,EAAC,MAAM,CAAC;EAC5BK,cAA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+B,UAAU,GAAGA,CACxB7B,KAAwB,EACxBhB,GAAS,KACiD;EAC1D,MAAMU,KAAK,GAAG,IAAAO,sBAAU,EAACD,KAAK,CAAC;EAC/B,MAAM8B,GAAG,GAAG,CAACpC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAK,CAACA,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAE;EAEpD,IAAIA,KAAK,CAACE,MAAM,GAAG,CAAC,IAAIkC,GAAG,KAAK,CAAC,IAAIA,GAAG,KAAK,MAAM,EAAE;IACnD,OAAOhC,SAAS;EAClB;EAEA,MAAMiC,KAAK,GAAG,CAAC,CAACrC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC,GAAIoC,GAAG,GAAG,EAAE,GAAIjD,WAAW,GAAGiD,GAAG,GAAG,EAAE;EAClF,MAAMxB,UAAU,GAAGZ,KAAK,CAACE,MAAM,IAAI,EAAE,GAAGqB,YAAY,CAACvB,KAAK,EAAE,CAAC,CAAC,GAAGV,GAAG;EAEpE,OAAO;IACLgD,UAAU,EAAEnB,IAAI,CAACC,KAAK,CAACiB,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG;IACzC,IAAIzB,UAAU,GAAG;MAAEA;IAAW,CAAC,GAAG,CAAC,CAAC;EACtC,CAAC;AACH,CAAC;AAACpC,OAAA,CAAA2D,UAAA,GAAAA,UAAA","ignoreList":[]}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Aoj70bDevice = void 0;
|
|
7
|
+
var _noParsingCases = require("../../../constants/no-parsing-cases.js");
|
|
7
8
|
var _btManagedDevice = require("../bt-managed-device.js");
|
|
8
9
|
var _liveOximeterSequencer = require("../live-oximeter.sequencer.js");
|
|
9
10
|
var _aojBpProtocol = require("./aoj-bp.protocol.js");
|
|
@@ -11,10 +12,7 @@ const aoj70bMainServices = [{
|
|
|
11
12
|
uuid: _aojBpProtocol.AOJ_BP.service,
|
|
12
13
|
monitorUuids: [{
|
|
13
14
|
uuid: _aojBpProtocol.AOJ_BP.notify,
|
|
14
|
-
parsingModel:
|
|
15
|
-
caseValuePosition: [],
|
|
16
|
-
cases: []
|
|
17
|
-
}
|
|
15
|
+
parsingModel: _noParsingCases.NO_PARSING_CASES
|
|
18
16
|
}]
|
|
19
17
|
}];
|
|
20
18
|
|
|
@@ -22,7 +20,6 @@ const aoj70bMainServices = [{
|
|
|
22
20
|
class Aoj70bDevice extends _btManagedDevice.BTManagedDevice {
|
|
23
21
|
mainServices = aoj70bMainServices;
|
|
24
22
|
stuckDataTimeout = 120_000;
|
|
25
|
-
onStreamStart = undefined;
|
|
26
23
|
constructor(device, params) {
|
|
27
24
|
super(device, params);
|
|
28
25
|
this.createCommandSequencer = () => new _liveOximeterSequencer.LiveOximeterSequencer({
|
|
@@ -33,9 +30,6 @@ class Aoj70bDevice extends _btManagedDevice.BTManagedDevice {
|
|
|
33
30
|
|
|
34
31
|
/** One notification is one packet. */
|
|
35
32
|
validatePackage = () => true;
|
|
36
|
-
handleSuccessResult() {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
33
|
}
|
|
40
34
|
exports.Aoj70bDevice = Aoj70bDevice;
|
|
41
35
|
//# sourceMappingURL=aoj-70b.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_noParsingCases","require","_btManagedDevice","_liveOximeterSequencer","_aojBpProtocol","aoj70bMainServices","uuid","AOJ_BP","service","monitorUuids","notify","parsingModel","NO_PARSING_CASES","Aoj70bDevice","BTManagedDevice","mainServices","stuckDataTimeout","constructor","device","params","createCommandSequencer","LiveOximeterSequencer","readValues","frame","readOximeterData","AOJ_VALUES","onResult","result","validatePackage","exports"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj-70b.device.ts"],"mappings":";;;;;;AAEA,IAAAA,eAAA,GAAAC,OAAA;AAMA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAEA,IAAAG,cAAA,GAAAH,OAAA;AAEA,MAAMI,kBAA8B,GAAG,CACrC;EACEC,IAAI,EAAEC,qBAAM,CAACC,OAAO;EACpBC,YAAY,EAAE,CAAC;IAAEH,IAAI,EAAEC,qBAAM,CAACG,MAAM;IAAEC,YAAY,EAAEC;EAAiB,CAAC;AACxE,CAAC,CACF;;AAED;AACA,MAAMC,YAAY,SAASC,gCAAe,CAA4B;EAC1DC,YAAY,GAAGV,kBAAkB;EACjCW,gBAAgB,GAAG,OAAO;EAE7BC,WAAWA,CAACC,MAAc,EAAEC,MAAqD,EAAE;IACxF,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,4CAAqB,CAAC;MACxBC,UAAU,EAAGC,KAAK,IAAK,IAAAC,uCAAgB,EAACD,KAAK,EAAEE,iCAAU,CAAC;MAC1DC,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;AAEjD;AAACC,OAAA,CAAAhB,YAAA,GAAAA,YAAA","ignoreList":[]}
|
|
@@ -4,26 +4,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.AojBpDevice = void 0;
|
|
7
|
+
var _noParsingCases = require("../../../constants/no-parsing-cases.js");
|
|
7
8
|
var _integratedDevices = require("../../../types/integrated-devices.js");
|
|
8
9
|
var _btManagedDevice = require("../bt-managed-device.js");
|
|
9
10
|
var _aojBpProtocol = require("./aoj-bp.protocol.js");
|
|
10
11
|
var _aojBpSequencer = require("./aoj-bp.sequencer.js");
|
|
11
|
-
const passThrough = {
|
|
12
|
-
caseValuePosition: [],
|
|
13
|
-
cases: []
|
|
14
|
-
};
|
|
15
12
|
const servicesFor = gatt => [{
|
|
16
13
|
uuid: gatt.service,
|
|
17
14
|
monitorUuids: [{
|
|
18
15
|
uuid: gatt.notify,
|
|
19
|
-
parsingModel:
|
|
16
|
+
parsingModel: _noParsingCases.NO_PARSING_CASES
|
|
20
17
|
}]
|
|
21
18
|
}];
|
|
22
19
|
|
|
23
20
|
/** AOJ Medical blood-pressure monitors; the FFF0 variant is the Cazon BSX530B. */
|
|
24
21
|
class AojBpDeviceClass extends _btManagedDevice.BTManagedDevice {
|
|
25
22
|
stuckDataTimeout = 90_000;
|
|
26
|
-
onStreamStart = undefined;
|
|
27
23
|
constructor(device, params) {
|
|
28
24
|
super(device, params);
|
|
29
25
|
const fff0 = params.deviceName === _integratedDevices.IntegratedDevices.AOJ_BPM_FFF0;
|
|
@@ -37,9 +33,6 @@ class AojBpDeviceClass extends _btManagedDevice.BTManagedDevice {
|
|
|
37
33
|
onResult: result => this.onResult?.(result)
|
|
38
34
|
});
|
|
39
35
|
}
|
|
40
|
-
handleSuccessResult() {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
36
|
}
|
|
44
37
|
exports.AojBpDevice = AojBpDeviceClass;
|
|
45
38
|
//# sourceMappingURL=aoj-bp.device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_noParsingCases","require","_integratedDevices","_btManagedDevice","_aojBpProtocol","_aojBpSequencer","servicesFor","gatt","uuid","service","monitorUuids","notify","parsingModel","NO_PARSING_CASES","AojBpDeviceClass","BTManagedDevice","stuckDataTimeout","constructor","device","params","fff0","deviceName","IntegratedDevices","AOJ_BPM_FFF0","AOJ_BP_FFF0","AOJ_BP","mainServices","frameReader","AojBpFrameReader","createCommandSequencer","AojBpSequencer","write","listenOnly","onResult","result","exports","AojBpDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj-bp.device.ts"],"mappings":";;;;;;AAEA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,kBAAA,GAAAD,OAAA;AAGA,IAAAE,gBAAA,GAAAF,OAAA;AAEA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AAIA,MAAMK,WAAW,GAAIC,IAAyC,IAAiB,CAC7E;EAAEC,IAAI,EAAED,IAAI,CAACE,OAAO;EAAEC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAED,IAAI,CAACI,MAAM;IAAEC,YAAY,EAAEC;EAAiB,CAAC;AAAE,CAAC,CAC9F;;AAED;AACA,MAAMC,gBAAgB,SAASC,gCAAe,CAAc;EAEhDC,gBAAgB,GAAG,MAAM;EAE5BC,WAAWA,CAACC,MAAc,EAAEC,MAAuC,EAAE;IAC1E,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IAErB,MAAMC,IAAI,GAAGD,MAAM,CAACE,UAAU,KAAKC,oCAAiB,CAACC,YAAY;IACjE,MAAMhB,IAAI,GAAGa,IAAI,GAAGI,0BAAW,GAAGC,qBAAM;IAExC,IAAI,CAACC,YAAY,GAAGpB,WAAW,CAACC,IAAI,CAAC;IACrC,IAAI,CAACoB,WAAW,GAAG,IAAIC,+BAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,8BAAc,CAAC;MACjBrB,OAAO,EAAEF,IAAI,CAACE,OAAO;MACrBsB,KAAK,EAAExB,IAAI,CAACwB,KAAK;MACjBC,UAAU,EAAEZ,IAAI;MAChBa,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MACF;IACJ,CAAC,CAAC;EACN;AAEF;AAACC,OAAA,CAAAC,WAAA,GAAAtB,gBAAA","ignoreList":[]}
|
|
@@ -5,8 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.updateStatusCommand = exports.turnOffCommand = exports.setVoiceCommand = exports.setTimeCommand = exports.readUnsentCount = exports.readBloodPressure = exports.payloadOf = exports.getSystemInfoCommand = exports.getSerialCommand = exports.getDataCommand = exports.frame = exports.commandOf = exports.ackCommand = exports.AojBpFrameReader = exports.AOJ_COMMAND = exports.AOJ_BP_FFF0 = exports.AOJ_BP = void 0;
|
|
7
7
|
var _frameReadStatus = require("../../../types/frame-read-status.js");
|
|
8
|
+
var _bytesToHex = require("../../../utils/bytes-to-hex.js");
|
|
8
9
|
var _calculateCrc8Maxim = require("../../../utils/calculate-crc-8-maxim.js");
|
|
10
|
+
var _frameBytes = require("../../../utils/frame-bytes.js");
|
|
9
11
|
var _hexToByte = require("../../../utils/hex-to-byte.js");
|
|
12
|
+
var _sigUuid = require("../../../utils/sig-uuid.js");
|
|
10
13
|
/* eslint-disable import/group-exports */
|
|
11
14
|
|
|
12
15
|
/**
|
|
@@ -16,18 +19,17 @@ var _hexToByte = require("../../../utils/hex-to-byte.js");
|
|
|
16
19
|
* Frames are `BE B0` (app to device) or `D0 C2` (device to app), a length counting the command
|
|
17
20
|
* and payload, the command, the payload, and CRC-8/MAXIM over every byte before it.
|
|
18
21
|
*/
|
|
19
|
-
const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
|
|
20
22
|
const AOJ_BP = exports.AOJ_BP = {
|
|
21
|
-
service:
|
|
22
|
-
notify:
|
|
23
|
-
write:
|
|
23
|
+
service: (0, _sigUuid.sigUuid)("ffe0"),
|
|
24
|
+
notify: (0, _sigUuid.sigUuid)("ffe1"),
|
|
25
|
+
write: (0, _sigUuid.sigUuid)("ffe2")
|
|
24
26
|
};
|
|
25
27
|
|
|
26
28
|
/** The Cazon BSX530B variant: one characteristic for both directions, and a listen-only session. */
|
|
27
29
|
const AOJ_BP_FFF0 = exports.AOJ_BP_FFF0 = {
|
|
28
|
-
service:
|
|
29
|
-
notify:
|
|
30
|
-
write:
|
|
30
|
+
service: (0, _sigUuid.sigUuid)("fff0"),
|
|
31
|
+
notify: (0, _sigUuid.sigUuid)("fff6"),
|
|
32
|
+
write: (0, _sigUuid.sigUuid)("fff6")
|
|
31
33
|
};
|
|
32
34
|
const AOJ_COMMAND = exports.AOJ_COMMAND = {
|
|
33
35
|
ack: 0x00,
|
|
@@ -37,15 +39,14 @@ const AOJ_COMMAND = exports.AOJ_COMMAND = {
|
|
|
37
39
|
record: 0xcc
|
|
38
40
|
};
|
|
39
41
|
const DEVICE_HEADER = [0xd0, 0xc2];
|
|
40
|
-
const toHex = bytes => bytes.map(value => (value & 0xff).toString(16).padStart(2, "0"));
|
|
41
42
|
const frame = (command, payload = []) => {
|
|
42
|
-
const bytes =
|
|
43
|
-
return [...bytes, ...
|
|
43
|
+
const bytes = (0, _bytesToHex.bytesToHex)([0xbe, 0xb0, payload.length + 1, command, ...payload]);
|
|
44
|
+
return [...bytes, ...(0, _bytesToHex.bytesToHex)([(0, _calculateCrc8Maxim.calculateCrc8Maxim)(bytes, bytes.length)])];
|
|
44
45
|
};
|
|
45
46
|
exports.frame = frame;
|
|
46
47
|
const commandOf = received => (0, _hexToByte.hexToByte)(received[3] ?? "00");
|
|
47
48
|
exports.commandOf = commandOf;
|
|
48
|
-
const payloadOf = received => received.slice(4, -1)
|
|
49
|
+
const payloadOf = received => (0, _frameBytes.frameBytes)(received.slice(4, -1));
|
|
49
50
|
exports.payloadOf = payloadOf;
|
|
50
51
|
const updateStatusCommand = () => frame(0xb2);
|
|
51
52
|
exports.updateStatusCommand = updateStatusCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_frameReadStatus","require","_calculateCrc8Maxim","
|
|
1
|
+
{"version":3,"names":["_frameReadStatus","require","_bytesToHex","_calculateCrc8Maxim","_frameBytes","_hexToByte","_sigUuid","AOJ_BP","exports","service","sigUuid","notify","write","AOJ_BP_FFF0","AOJ_COMMAND","ack","serial","systemInfo","voice","record","DEVICE_HEADER","frame","command","payload","bytes","bytesToHex","length","calculateCrc8Maxim","commandOf","received","hexToByte","payloadOf","frameBytes","slice","updateStatusCommand","setTimeCommand","now","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getSerialCommand","getSystemInfoCommand","setVoiceCommand","getDataCommand","ackCommand","turnOffCommand","AojBpFrameReader","readFrame","buffer","start","findIndex","byte","index","status","FrameReadStatus","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":";;;;;;AAGA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AATA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMM,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG;EACpBE,OAAO,EAAE,IAAAC,gBAAO,EAAC,MAAM,CAAC;EACxBC,MAAM,EAAE,IAAAD,gBAAO,EAAC,MAAM,CAAC;EACvBE,KAAK,EAAE,IAAAF,gBAAO,EAAC,MAAM;AACvB,CAAU;;AAEV;AACO,MAAMG,WAAW,GAAAL,OAAA,CAAAK,WAAA,GAAG;EACzBJ,OAAO,EAAE,IAAAC,gBAAO,EAAC,MAAM,CAAC;EACxBC,MAAM,EAAE,IAAAD,gBAAO,EAAC,MAAM,CAAC;EACvBE,KAAK,EAAE,IAAAF,gBAAO,EAAC,MAAM;AACvB,CAAU;AAEH,MAAMI,WAAW,GAAAN,OAAA,CAAAM,WAAA,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,CA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List":[]}
|
|
@@ -92,7 +92,6 @@ const aojMainServices = exports.aojMainServices = [{
|
|
|
92
92
|
class Aoj20aDevice extends _btManagedDevice.BTManagedDevice {
|
|
93
93
|
mainServices = aojMainServices;
|
|
94
94
|
stuckDataTimeout = STUCK_TIMEOUT_MS;
|
|
95
|
-
onStreamStart = undefined;
|
|
96
95
|
frameReader = new _aojFrameReader.AojFrameReader();
|
|
97
96
|
constructor(device, params) {
|
|
98
97
|
super(device, params);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_caseType","_hexToByte","_btManagedDevice","_aojCommandSequencer","_aojFrameReader","BASE_UUID_SUFFIX","SERVICE","NOTIFY","WRITE","STUCK_TIMEOUT_MS","parseRecordedAt","frame","year","hexToByte","month","day","hours","minutes","recordedAt","Date","every","Number","isFinite","getFullYear","getMonth","getDate","getHours","getMinutes","undefined","exports","decodeAojError","code","messages","acceptEverything","caseValuePosition","cases","caseValue","caseType","CaseType","RESULT","measurementTypeKey","MeasurementTypeKey","temperature","parseDefinitions","name","parseType","byteIndexes","customParserDefinition","value","parseInt","minLengthBytes","map","OTHER","aojMainServices","uuid","monitorUuids","parsingModel","writeUuid","mainCommandUuid","Aoj20aDevice","BTManagedDevice","mainServices","stuckDataTimeout","
|
|
1
|
+
{"version":3,"names":["_core","require","_caseType","_hexToByte","_btManagedDevice","_aojCommandSequencer","_aojFrameReader","BASE_UUID_SUFFIX","SERVICE","NOTIFY","WRITE","STUCK_TIMEOUT_MS","parseRecordedAt","frame","year","hexToByte","month","day","hours","minutes","recordedAt","Date","every","Number","isFinite","getFullYear","getMonth","getDate","getHours","getMinutes","undefined","exports","decodeAojError","code","messages","acceptEverything","caseValuePosition","cases","caseValue","caseType","CaseType","RESULT","measurementTypeKey","MeasurementTypeKey","temperature","parseDefinitions","name","parseType","byteIndexes","customParserDefinition","value","parseInt","minLengthBytes","map","OTHER","aojMainServices","uuid","monitorUuids","parsingModel","writeUuid","mainCommandUuid","Aoj20aDevice","BTManagedDevice","mainServices","stuckDataTimeout","frameReader","AojFrameReader","constructor","device","params","clearHistory","clearDeviceHistory","clockSync","createCommandSequencer","AojCommandSequencer","write","serviceUuid","characteristicUuid","handleSuccessResult","successResult","collectedValues","command","aojCommandByte","errorCode","message","onError","Error","onResult","recordingId","getTime"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/aoj/aoj.device.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,SAAA,GAAAD,OAAA;AAMA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEA,IAAAI,oBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AAEA,MAAMM,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,GAAG,IAAAC,oBAAS,EAACF,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EAC/C,MAAMG,KAAK,GAAG,IAAAD,oBAAS,EAACF,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EACzC,MAAMI,GAAG,GAAG,IAAAF,oBAAS,EAACF,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EACvC,MAAMK,KAAK,GAAG,IAAAH,oBAAS,EAACF,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EACzC,MAAMM,OAAO,GAAG,IAAAJ,oBAAS,EAACF,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;EAC3C,MAAMO,UAAU,GAAG,IAAIC,IAAI,CAACP,IAAI,EAAEE,KAA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MACVoE,WAAW,EAAE,OAAOR,eAAe,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI5D,UAAU,CAACqE,OAAO,CAAC,CAAC;IACxE,CAA8B,CAAC;EACjC;AACF;AAAC1D,OAAA,CAAA8B,YAAA,GAAAA,YAAA","ignoreList":[]}
|
|
@@ -107,9 +107,7 @@ class BC01Device extends _btManagedDevice.BTManagedDevice {
|
|
|
107
107
|
* their second-resolution device timestamp for this transfer because a
|
|
108
108
|
* paged-group retry resends the earlier frames.
|
|
109
109
|
*/
|
|
110
|
-
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
110
|
+
|
|
113
111
|
reportUrsRecord(frame) {
|
|
114
112
|
const parsed = (0, _bc01FrameParser.parseBc01Record)(frame);
|
|
115
113
|
if (!parsed) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_caseType","_hexToByte","_btManagedDevice","_bc01CommandSequencer","_bc01FrameParser","_bc01FrameReader","_bc01MainServices","BC01Device","BTManagedDevice","onStreamStart","reportedTimestamps","clear","Set","mainServices","bc01MainServices","frameReader","Bc01FrameReader","stuckDataTimeout","constructor","device","params","createCommandSequencer","Bc01CommandSequencer","write","serviceUuid","uuid","characteristicUuid","writeUuid","onError","reason","Error","clockSync","clearDeviceHistory","now","validatePackage","pkg","length","opcode","hexToByte","minLength","bc01FrameLengths","toString","padStart","undefined","handleDependentResult","data","frame","reportUrsRecord","parsingCase","caseType","CaseType","OTHER","
|
|
1
|
+
{"version":3,"names":["_core","require","_caseType","_hexToByte","_btManagedDevice","_bc01CommandSequencer","_bc01FrameParser","_bc01FrameReader","_bc01MainServices","BC01Device","BTManagedDevice","onStreamStart","reportedTimestamps","clear","Set","mainServices","bc01MainServices","frameReader","Bc01FrameReader","stuckDataTimeout","constructor","device","params","createCommandSequencer","Bc01CommandSequencer","write","serviceUuid","uuid","characteristicUuid","writeUuid","onError","reason","Error","clockSync","clearDeviceHistory","now","validatePackage","pkg","length","opcode","hexToByte","minLength","bc01FrameLengths","toString","padStart","undefined","handleDependentResult","data","frame","reportUrsRecord","parsingCase","caseType","CaseType","OTHER","parsed","parseBc01Record","measuredValues","BC01_ANALYTE_ORDER","reduce","acc","analyte","value","values","Object","keys","timestamp","getTime","has","add","reading","RESULT","measurementTypeKey","MeasurementTypeKey","uricAcid","urineValues","recordedAt","onResult","exports"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/bc01/bc01.device.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,SAAA,GAAAD,OAAA;AAQA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,iBAAA,GAAAP,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMQ,UAAU,SAASC,gCAAe,CAAyB;EAC5DC,aAAa,GAAeA,CAAA,KAAM;IAC1C,IAAI,CAACC,kBAAkB,CAACC,KAAK,CAAC,CAAC;EACjC,CAAC;EAEgBD,kBAAkB,GAAG,IAAIE,GAAG,CAAS,CAAC;EAE7CC,YAAY,GAAeC,kCAAgB;EAC3CC,WAAW,GAAoB,IAAIC,gCAAe,CAAC,CAAC;;EAE9D;AACF;AACA;AACA;AACA;AACA;EACYC,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,IAAI,CAACC,sBAAsB,GAAG,MAAwB;MACpD,IAAI,CAACX,kBAAkB,CAACC,KAAK,CAAC,CAAC;MAE/B,OAAO,IAAIW,0CAAoB,CAC7B;QACEC,KAAK,EAAE;UACLC,WAAW,EAAEV,kCAAgB,CA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