@ovok/native 1.6.43 → 1.6.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +8 -1
- package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +41 -0
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +1 -1
- package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +3 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/device-creator.js +15 -1
- package/lib/commonjs/modules/bt-management/services/device-creator.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 +46 -0
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.protocol.js +79 -0
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +37 -0
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js +115 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +58 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +41 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js +61 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +41 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js +141 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +76 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js +149 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +81 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +50 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js +228 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +122 -0
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js +7 -0
- package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +8 -1
- package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js +41 -0
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
- package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
- package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +3 -0
- package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
- package/lib/module/modules/bt-management/services/device-creator.js +15 -1
- package/lib/module/modules/bt-management/services/device-creator.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 +41 -0
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.protocol.js +71 -0
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +32 -0
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +45 -0
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js +106 -0
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +53 -0
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +36 -0
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js +55 -0
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +36 -0
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +45 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js +130 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +71 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +45 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js +136 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +76 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +45 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js +209 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +117 -0
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -0
- package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
- package/lib/module/modules/bt-management/types/integrated-devices.js +7 -0
- package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts +5 -3
- 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 +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +22 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts +26 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +24 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +17 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts +36 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +26 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts +43 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +26 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts +73 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +25 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +8 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +8 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts +5 -3
- 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 +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts +21 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +22 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts +26 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +24 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +15 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +17 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts +36 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +26 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts +43 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +26 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +16 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts +73 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +25 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +8 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +8 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.protocol.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const F5_SCALE_SERVICE = "0000ffb0-0000-1000-8000-00805f9b34fb";
|
|
4
|
+
export declare const F5_SCALE_WRITE = "0000ffb1-0000-1000-8000-00805f9b34fb";
|
|
5
|
+
export declare const F5_SCALE_NOTIFY = "0000ffb2-0000-1000-8000-00805f9b34fb";
|
|
6
|
+
export declare const F5ScaleCommand: {
|
|
7
|
+
readonly weight: 213;
|
|
8
|
+
readonly history: 216;
|
|
9
|
+
};
|
|
10
|
+
export interface F5ScaleResponse {
|
|
11
|
+
command: number;
|
|
12
|
+
content: string[];
|
|
13
|
+
}
|
|
14
|
+
export declare const decodeF5ScaleFrame: (frame: readonly string[]) => F5ScaleResponse | undefined;
|
|
15
|
+
export declare const parseF5WeightKg: (content: readonly string[]) => number | undefined;
|
|
16
|
+
export declare const parseF5HistoryDate: (content: readonly string[]) => Date | undefined;
|
|
17
|
+
/** Reads the fixed 20-byte AC 27 frames used by F5/MY_SCALE. */
|
|
18
|
+
export declare class F5ScaleFrameReader implements FrameReader {
|
|
19
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=f5-scale.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"f5-scale.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/f5/f5-scale.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,eAAO,MAAM,gBAAgB,yCAAyC,CAAC;AACvE,eAAO,MAAM,cAAc,yCAAyC,CAAC;AACrE,eAAO,MAAM,eAAe,yCAAyC,CAAC;AAEtE,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AASX,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,GAC7B,OAAO,SAAS,MAAM,EAAE,KACvB,eAAe,GAAG,SAcpB,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,SAAS,SAAS,MAAM,EAAE,KACzB,MAAM,GAAG,SAWX,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,SAAS,SAAS,MAAM,EAAE,KACzB,IAAI,GAAG,SAcT,CAAC;AAEF,gEAAgE;AAChE,qBAAa,kBAAmB,YAAW,WAAW;IAC7C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;CA6B7D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MeasurementTypeKey } from "@ovok/core";
|
|
2
|
+
import { CaseType } from "../../../types/case-type";
|
|
3
|
+
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
4
|
+
interface F5ScaleTransferParams {
|
|
5
|
+
onResult: (result: {
|
|
6
|
+
caseType: CaseType.RESULT;
|
|
7
|
+
measurementTypeKey: MeasurementTypeKey.bodyWeight;
|
|
8
|
+
bodyWeight: number;
|
|
9
|
+
recordedAt: Date;
|
|
10
|
+
}) => void;
|
|
11
|
+
now?: () => Date;
|
|
12
|
+
}
|
|
13
|
+
/** Decodes passive live and history records from the F5 scale stream. */
|
|
14
|
+
export declare class F5ScaleSequencer implements CommandSequencer {
|
|
15
|
+
private readonly params;
|
|
16
|
+
constructor(params: F5ScaleTransferParams);
|
|
17
|
+
initialCommands: () => readonly [];
|
|
18
|
+
isHistoryTransfer: () => boolean;
|
|
19
|
+
nextCommand: (frame: readonly string[]) => undefined;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=f5-scale.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"f5-scale.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/f5/f5-scale.sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AASpE,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE;QACjB,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC;QAC1B,kBAAkB,EAAE,kBAAkB,CAAC,UAAU,CAAC;QAClD,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,IAAI,CAAC;KAClB,KAAK,IAAI,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,yEAAyE;AACzE,qBAAa,gBAAiB,YAAW,gBAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,qBAAqB;IAE1D,eAAe,QAAO,SAAS,EAAE,CAAO;IAExC,iBAAiB,QAAO,OAAO,CAAS;IAExC,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,CA8BxD;CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
export declare const biolandBgmMainServices: IService[];
|
|
7
|
+
/** Bioland BGM glucose meter using the 5A length-prefixed protocol. */
|
|
8
|
+
export declare class BiolandBgmDevice extends BTManagedDevice<IntegratedDevices.BIOLAND_BGM> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
protected preferredMtu: number;
|
|
13
|
+
constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.BIOLAND_BGM>);
|
|
14
|
+
protected handleSuccessResult(): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=bioland.bgm.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bioland.bgm.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/bioland.bgm.device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,eAAO,MAAM,sBAAsB,EAAE,QAAQ,EAS5C,CAAC;AAEF,uEAAuE;AACvE,qBAAa,gBAAiB,SAAQ,eAAe,CAAC,iBAAiB,CAAC,WAAW,CAAC;IAClF,SAAS,CAAC,YAAY,aAA0B;IAChD,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;IACpC,UAAmB,YAAY,SAAO;gBAGpC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,WAAW,CAAC;IAmB3D,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const BIOLAND_SERVICE = "00001000-0000-1000-8000-00805f9b34fb";
|
|
4
|
+
export declare const BIOLAND_WRITE = "00001001-0000-1000-8000-00805f9b34fb";
|
|
5
|
+
export declare const BIOLAND_NOTIFY = "00001002-0000-1000-8000-00805f9b34fb";
|
|
6
|
+
export declare const BiolandCommand: {
|
|
7
|
+
readonly info: 0;
|
|
8
|
+
readonly data: 3;
|
|
9
|
+
};
|
|
10
|
+
export declare const biolandGetInfo: (now?: Date) => string[];
|
|
11
|
+
export declare const biolandGetData: (now?: Date) => string[];
|
|
12
|
+
export interface BiolandResponse {
|
|
13
|
+
command: number;
|
|
14
|
+
content: string[];
|
|
15
|
+
}
|
|
16
|
+
export declare const decodeBiolandResponse: (bytes: readonly string[]) => BiolandResponse | undefined;
|
|
17
|
+
export interface BiolandGlucoseResult {
|
|
18
|
+
bloodGlucose: number;
|
|
19
|
+
recordedAt: Date;
|
|
20
|
+
}
|
|
21
|
+
export declare const parseBiolandGlucoseResult: (content: readonly string[]) => BiolandGlucoseResult | undefined;
|
|
22
|
+
/** Reads split and concatenated 5A length-prefixed Bioland frames. */
|
|
23
|
+
export declare class BiolandFrameReader implements FrameReader {
|
|
24
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=bioland.bgm.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bioland.bgm.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/bioland.bgm.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,eAAO,MAAM,eAAe,yCAAyC,CAAC;AACtE,eAAO,MAAM,aAAa,yCAAyC,CAAC;AACpE,eAAO,MAAM,cAAc,yCAAyC,CAAC;AAErE,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAgCX,eAAO,MAAM,cAAc,GAAI,MAAM,IAAI,KAAG,MAAM,EACf,CAAC;AAEpC,eAAO,MAAM,cAAc,GAAI,MAAM,IAAI,KAAG,MAAM,EACf,CAAC;AAEpC,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,eAAO,MAAM,qBAAqB,GAChC,OAAO,SAAS,MAAM,EAAE,KACvB,eAAe,GAAG,SAqBpB,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC;CAClB;AAED,eAAO,MAAM,yBAAyB,GACpC,SAAS,SAAS,MAAM,EAAE,KACzB,oBAAoB,GAAG,SAiCzB,CAAC;AAEF,sEAAsE;AACtE,qBAAa,kBAAmB,YAAW,WAAW;IAC7C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;CAoC7D"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BloodGlucoseMeasurement } from "@ovok/core";
|
|
2
|
+
import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
|
|
3
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
4
|
+
import { MeasurementWithCaseType } from "../../../types/measurement-with-case-type";
|
|
5
|
+
interface BiolandSequencerParams {
|
|
6
|
+
write: Omit<DeviceCommand, "frame">;
|
|
7
|
+
onResult: (result: MeasurementWithCaseType<BloodGlucoseMeasurement>) => void;
|
|
8
|
+
now?: () => Date;
|
|
9
|
+
}
|
|
10
|
+
/** Reads the timestamped glucose result from a Bioland BGM. */
|
|
11
|
+
export declare class BiolandBgmSequencer implements CommandSequencer {
|
|
12
|
+
private readonly params;
|
|
13
|
+
private phase;
|
|
14
|
+
constructor(params: BiolandSequencerParams);
|
|
15
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
16
|
+
isHistoryTransfer: () => boolean;
|
|
17
|
+
isNormalDisconnect: () => boolean;
|
|
18
|
+
commandTimeoutMs: () => number | undefined;
|
|
19
|
+
onCommandTimeout: () => CommandTimeoutResult;
|
|
20
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
21
|
+
private write;
|
|
22
|
+
}
|
|
23
|
+
export type { BiolandSequencerParams };
|
|
24
|
+
//# sourceMappingURL=bioland.bgm.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bioland.bgm.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAsB,MAAM,YAAY,CAAC;AAGzE,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAUpF,UAAU,sBAAsB;IAC9B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACpC,QAAQ,EAAE,CACR,MAAM,EAAE,uBAAuB,CAAC,uBAAuB,CAAC,KACrD,IAAI,CAAC;IACV,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AAOD,+DAA+D;AAC/D,qBAAa,mBAAoB,YAAW,gBAAgB;IAGvC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAF1C,OAAO,CAAC,KAAK,CAAoC;gBAEb,MAAM,EAAE,sBAAsB;IAE3D,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,iBAAiB,QAAO,OAAO,CAAS;IAExC,kBAAkB,QAAO,OAAO,CAA0B;IAE1D,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACJ;IAErC,gBAAgB,QAAO,oBAAoB,CAIhD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CA6BrC;IAEF,OAAO,CAAC,KAAK,CACuB;CACrC;AAED,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
export declare const poctorM3102MainServices: IService[];
|
|
7
|
+
/** Poctor M3102 unsolicited glucose and uric-acid records. */
|
|
8
|
+
export declare class PoctorM3102Device extends BTManagedDevice<IntegratedDevices.POCTOR_M3102> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.POCTOR_M3102>);
|
|
13
|
+
protected handleSuccessResult(): void;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=poctor.m3102.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poctor.m3102.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/poctor.m3102.device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAWvD,eAAO,MAAM,uBAAuB,EAAE,QAAQ,EAK7C,CAAC;AAEF,8DAA8D;AAC9D,qBAAa,iBAAkB,SAAQ,eAAe,CAAC,iBAAiB,CAAC,YAAY,CAAC;IACpF,SAAS,CAAC,YAAY,aAA2B;IACjD,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;gBAGlC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,YAAY,CAAC;IAe5D,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const POCTOR_SERVICE = "00010203-0405-0607-0809-0a0b0c0d1910";
|
|
4
|
+
export declare const POCTOR_WRITE = "00010203-0405-0607-0809-0a0b0c0d2b11";
|
|
5
|
+
export declare const POCTOR_NOTIFY = "00010203-0405-0607-0809-0a0b0c0d2b10";
|
|
6
|
+
export interface PoctorResult {
|
|
7
|
+
type: 0 | 1;
|
|
8
|
+
value: number;
|
|
9
|
+
recordedAt: Date;
|
|
10
|
+
}
|
|
11
|
+
export declare const parsePoctorResult: (frame: readonly string[]) => PoctorResult | undefined;
|
|
12
|
+
/** Reads CRLF-terminated Poctor M3102 ASCII records. */
|
|
13
|
+
export declare class PoctorFrameReader implements FrameReader {
|
|
14
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=poctor.m3102.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poctor.m3102.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/poctor.m3102.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,eAAO,MAAM,cAAc,yCAAyC,CAAC;AACrE,eAAO,MAAM,YAAY,yCAAyC,CAAC;AACnE,eAAO,MAAM,aAAa,yCAAyC,CAAC;AAEpE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;CAClB;AAOD,eAAO,MAAM,iBAAiB,GAC5B,OAAO,SAAS,MAAM,EAAE,KACvB,YAAY,GAAG,SAyCjB,CAAC;AAEF,wDAAwD;AACxD,qBAAa,iBAAkB,YAAW,WAAW;IAC5C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;CAkB7D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BloodGlucoseMeasurement, UrineAnalyzeMeasurement } from "@ovok/core";
|
|
2
|
+
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
3
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
4
|
+
import { MeasurementWithCaseType } from "../../../types/measurement-with-case-type";
|
|
5
|
+
type PoctorMeasurement = BloodGlucoseMeasurement | UrineAnalyzeMeasurement;
|
|
6
|
+
interface PoctorSequencerParams {
|
|
7
|
+
onResult: (result: MeasurementWithCaseType<PoctorMeasurement>) => void;
|
|
8
|
+
}
|
|
9
|
+
/** Listens for Poctor's unsolicited CRLF records; it has no safe poll command. */
|
|
10
|
+
export declare class PoctorSequencer implements CommandSequencer {
|
|
11
|
+
private readonly params;
|
|
12
|
+
constructor(params: PoctorSequencerParams);
|
|
13
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
14
|
+
nextCommand: (frame: readonly string[]) => undefined;
|
|
15
|
+
}
|
|
16
|
+
export type { PoctorMeasurement, PoctorSequencerParams };
|
|
17
|
+
//# sourceMappingURL=poctor.m3102.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poctor.m3102.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EAEvB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAIpF,KAAK,iBAAiB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC;AAE3E,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CACxE;AAED,kFAAkF;AAClF,qBAAa,eAAgB,YAAW,gBAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,qBAAqB;IAE1D,eAAe,QAAO,SAAS,aAAa,EAAE,CAAO;IAErD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,CAyBxD;CACH;AAED,YAAY,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
export declare const bpm188MainServices: IService[];
|
|
7
|
+
/** Viatom B02T/B02S blood-pressure history, exposed as BPM-188. */
|
|
8
|
+
export declare class Bpm188Device extends BTManagedDevice<IntegratedDevices.BPM188> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
protected preferredMtu: number;
|
|
13
|
+
constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.BPM188>);
|
|
14
|
+
protected handleSuccessResult(): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=viatom.bpm188.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.bpm188.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,eAAO,MAAM,kBAAkB,EAAE,QAAQ,EASxC,CAAC;AAEF,mEAAmE;AACnE,qBAAa,YAAa,SAAQ,eAAe,CAAC,iBAAiB,CAAC,MAAM,CAAC;IACzE,SAAS,CAAC,YAAY,aAAsB;IAC5C,SAAS,CAAC,gBAAgB,SAAW;IACrC,SAAS,CAAC,aAAa,YAAa;IACpC,UAAmB,YAAY,SAAO;gBAGpC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,MAAM,CAAC;IAmBtD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const BPM188_SERVICE = "000018f0-0000-1000-8000-00805f9b34fb";
|
|
4
|
+
export declare const BPM188_WRITE = "00002af1-0000-1000-8000-00805f9b34fb";
|
|
5
|
+
export declare const BPM188_NOTIFY = "00002af0-0000-1000-8000-00805f9b34fb";
|
|
6
|
+
export declare const Bpm188MessageType: {
|
|
7
|
+
readonly info: 171;
|
|
8
|
+
readonly syncTime: 176;
|
|
9
|
+
readonly records: 177;
|
|
10
|
+
readonly recordsEnd: 179;
|
|
11
|
+
};
|
|
12
|
+
/** The B02T/B02S checksum starts with 0x40 and XORs bytes 2 through n-2. */
|
|
13
|
+
export declare const calculateBpm188Checksum: (bytes: readonly string[]) => string;
|
|
14
|
+
export declare const bpm188GetInfo: () => string[];
|
|
15
|
+
export declare const bpm188SyncTime: (now?: Date) => string[];
|
|
16
|
+
export declare const bpm188GetRecords: () => string[];
|
|
17
|
+
export interface Bpm188Response {
|
|
18
|
+
type: number;
|
|
19
|
+
content: string[];
|
|
20
|
+
}
|
|
21
|
+
export declare const decodeBpm188Response: (bytes: readonly string[]) => Bpm188Response | undefined;
|
|
22
|
+
export interface Bpm188Record {
|
|
23
|
+
systolic: number;
|
|
24
|
+
diastolic: number;
|
|
25
|
+
heartRate: number;
|
|
26
|
+
userId: number;
|
|
27
|
+
storeId: number;
|
|
28
|
+
recordedAt: Date;
|
|
29
|
+
}
|
|
30
|
+
export declare const parseBpm188Record: (content: readonly string[]) => Bpm188Record | undefined;
|
|
31
|
+
/** Reads the split and concatenated 02 40 dd history responses. */
|
|
32
|
+
export declare class Bpm188FrameReader implements FrameReader {
|
|
33
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
34
|
+
private findStart;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=viatom.bpm188.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.bpm188.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.bpm188.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,eAAO,MAAM,cAAc,yCAAyC,CAAC;AACrE,eAAO,MAAM,YAAY,yCAAyC,CAAC;AACnE,eAAO,MAAM,aAAa,yCAAyC,CAAC;AAEpE,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC;AAKX,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB,GAClC,OAAO,SAAS,MAAM,EAAE,KACvB,MAQF,CAAC;AAUF,eAAO,MAAM,aAAa,QAAO,MAAM,EACN,CAAC;AAElC,eAAO,MAAM,cAAc,GAAI,UAAgB,KAAG,MAAM,EAQpD,CAAC;AAEL,eAAO,MAAM,gBAAgB,QAAO,MAAM,EACoB,CAAC;AAE/D,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,eAAO,MAAM,oBAAoB,GAC/B,OAAO,SAAS,MAAM,EAAE,KACvB,cAAc,GAAG,SA0BnB,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,IAAI,CAAC;CAClB;AA6BD,eAAO,MAAM,iBAAiB,GAC5B,SAAS,SAAS,MAAM,EAAE,KACzB,YAAY,GAAG,SAsBjB,CAAC;AAEF,mEAAmE;AACnE,qBAAa,iBAAkB,YAAW,WAAW;IAC5C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;IAiC5D,OAAO,CAAC,SAAS;CAalB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BloodPressureMeasurement } from "@ovok/core";
|
|
2
|
+
import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
|
|
3
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
4
|
+
import { MeasurementWithCaseType } from "../../../types/measurement-with-case-type";
|
|
5
|
+
interface Bpm188SequencerParams {
|
|
6
|
+
write: Omit<DeviceCommand, "frame">;
|
|
7
|
+
onResult: (result: MeasurementWithCaseType<BloodPressureMeasurement>) => void;
|
|
8
|
+
now?: () => Date;
|
|
9
|
+
}
|
|
10
|
+
/** Drives the BPM-188 info -> clock -> two-user history exchange. */
|
|
11
|
+
export declare class Bpm188Sequencer implements CommandSequencer {
|
|
12
|
+
private readonly params;
|
|
13
|
+
private phase;
|
|
14
|
+
private readonly endedUsers;
|
|
15
|
+
constructor(params: Bpm188SequencerParams);
|
|
16
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
17
|
+
isHistoryTransfer: () => boolean;
|
|
18
|
+
isNormalDisconnect: () => boolean;
|
|
19
|
+
commandTimeoutMs: () => number | undefined;
|
|
20
|
+
onCommandTimeout: () => CommandTimeoutResult;
|
|
21
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
22
|
+
private write;
|
|
23
|
+
private remember;
|
|
24
|
+
}
|
|
25
|
+
export type { Bpm188SequencerParams };
|
|
26
|
+
//# sourceMappingURL=viatom.bpm188.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.bpm188.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAsB,MAAM,YAAY,CAAC;AAG1E,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAWpF,UAAU,qBAAqB;IAC7B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACpC,QAAQ,EAAE,CACR,MAAM,EAAE,uBAAuB,CAAC,wBAAwB,CAAC,KACtD,IAAI,CAAC;IACV,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AAOD,qEAAqE;AACrE,qBAAa,eAAgB,YAAW,gBAAgB;IAInC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAH1C,OAAO,CAAC,KAAK,CAAgD;IAC7D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqB;gBAEZ,MAAM,EAAE,qBAAqB;IAE1D,eAAe,QAAO,SAAS,aAAa,EAAE,CACR;IAEtC,iBAAiB,QAAO,OAAO,CAAS;IAExC,kBAAkB,QAAO,OAAO,CAA0B;IAE1D,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACJ;IAErC,gBAAgB,QAAO,oBAAoB,CAIhD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAsDrC;IAEF,OAAO,CAAC,KAAK,CACuB;IAEpC,OAAO,CAAC,QAAQ,CAEd;CACH;AAED,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
export declare const pc100MainServices: IService[];
|
|
7
|
+
/** Viatom PC-100 spot-check monitor over the FFF0 AA55 protocol. */
|
|
8
|
+
export declare class Pc100Device extends BTManagedDevice<IntegratedDevices.PC100> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
protected preferredMtu: number;
|
|
13
|
+
constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.PC100>);
|
|
14
|
+
protected handleSuccessResult(): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=viatom.pc100.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.pc100.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.pc100.device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,EASvC,CAAC;AAEF,oEAAoE;AACpE,qBAAa,WAAY,SAAQ,eAAe,CAAC,iBAAiB,CAAC,KAAK,CAAC;IACvE,SAAS,CAAC,YAAY,aAAqB;IAC3C,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;IACpC,UAAmB,YAAY,SAAO;gBAGpC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAmBrD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const PC100_SERVICE = "0000fff0-0000-1000-8000-00805f9b34fb";
|
|
4
|
+
export declare const PC100_WRITE = "0000fff2-0000-1000-8000-00805f9b34fb";
|
|
5
|
+
export declare const PC100_NOTIFY = "0000fff1-0000-1000-8000-00805f9b34fb";
|
|
6
|
+
export declare const Pc100Command: {
|
|
7
|
+
readonly handshake: 255;
|
|
8
|
+
readonly deviceId: 255;
|
|
9
|
+
readonly deviceInfo: 81;
|
|
10
|
+
readonly bloodPressureResult: 67;
|
|
11
|
+
readonly bloodOxygenParameters: 83;
|
|
12
|
+
};
|
|
13
|
+
/** Builds the PC-100 AA55 frame used by Pc100BleCmd. */
|
|
14
|
+
export declare const pc100Command: (command: number, type: number, payload?: readonly string[]) => string[];
|
|
15
|
+
export declare const pc100Handshake: () => string[];
|
|
16
|
+
export declare const pc100GetDeviceId: () => string[];
|
|
17
|
+
export declare const pc100GetDeviceInfo: () => string[];
|
|
18
|
+
export declare const pc100GetBloodPressureResult: () => string[];
|
|
19
|
+
export interface Pc100Response {
|
|
20
|
+
command: number;
|
|
21
|
+
type: number;
|
|
22
|
+
content: string[];
|
|
23
|
+
}
|
|
24
|
+
export declare const decodePc100Response: (bytes: readonly string[]) => Pc100Response | undefined;
|
|
25
|
+
export interface Pc100BloodPressureResult {
|
|
26
|
+
systolic: number;
|
|
27
|
+
diastolic: number;
|
|
28
|
+
heartRate: number;
|
|
29
|
+
irregularHeartbeat: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare const parsePc100BloodPressureResult: (content: readonly string[]) => Pc100BloodPressureResult | undefined;
|
|
32
|
+
export interface Pc100BloodOxygenResult {
|
|
33
|
+
bloodOxygen: number;
|
|
34
|
+
pulseRate: number;
|
|
35
|
+
perfusionIndex: number;
|
|
36
|
+
}
|
|
37
|
+
export declare const parsePc100BloodOxygenResult: (content: readonly string[]) => Pc100BloodOxygenResult | undefined;
|
|
38
|
+
/** Reads split and concatenated PC-100 AA55 frames. */
|
|
39
|
+
export declare class Pc100FrameReader implements FrameReader {
|
|
40
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
41
|
+
private findStart;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=viatom.pc100.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.pc100.protocol.d.ts","sourceRoot":"","s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M,CAAC;CACxB;AAED,eAAO,MAAM,2BAA2B,GACtC,SAAS,SAAS,MAAM,EAAE,KACzB,sBAAsB,GAAG,SAwB3B,CAAC;AAEF,uDAAuD;AACvD,qBAAa,gBAAiB,YAAW,WAAW;IAC3C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;IAqC5D,OAAO,CAAC,SAAS,CAWf;CACH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BloodPressureMeasurement, PulseOximeterMeasurement } from "@ovok/core";
|
|
2
|
+
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
3
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
4
|
+
import { MeasurementWithCaseType } from "../../../types/measurement-with-case-type";
|
|
5
|
+
type Pc100Measurement = BloodPressureMeasurement | PulseOximeterMeasurement;
|
|
6
|
+
interface Pc100SequencerParams {
|
|
7
|
+
write: Omit<DeviceCommand, "frame">;
|
|
8
|
+
onResult: (result: MeasurementWithCaseType<Pc100Measurement>) => void;
|
|
9
|
+
now?: () => Date;
|
|
10
|
+
}
|
|
11
|
+
/** Reads the last PC-100 BP result and accepts live oxygen frames when present. */
|
|
12
|
+
export declare class Pc100Sequencer implements CommandSequencer {
|
|
13
|
+
private readonly params;
|
|
14
|
+
private phase;
|
|
15
|
+
constructor(params: Pc100SequencerParams);
|
|
16
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
17
|
+
isNormalDisconnect: () => boolean;
|
|
18
|
+
commandTimeoutMs: () => number | undefined;
|
|
19
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
20
|
+
onCommandTimeout: () => {
|
|
21
|
+
terminal: boolean;
|
|
22
|
+
};
|
|
23
|
+
private write;
|
|
24
|
+
}
|
|
25
|
+
export type { Pc100Measurement, Pc100SequencerParams };
|
|
26
|
+
//# sourceMappingURL=viatom.pc100.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.pc100.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAExB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAapF,KAAK,gBAAgB,GAAG,wBAAwB,GAAG,wBAAwB,CAAC;AAE5E,UAAU,oBAAoB;IAC5B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtE,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AASD,mFAAmF;AACnF,qBAAa,cAAe,YAAW,gBAAgB;IAGlC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAF1C,OAAO,CAAC,KAAK,CAA2B;gBAEJ,MAAM,EAAE,oBAAoB;IAEzD,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,kBAAkB,QAAO,OAAO,CAA0B;IAE1D,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACJ;IAErC,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAiErC;IAEK,gBAAgB;;MAIrB;IAEF,OAAO,CAAC,KAAK,CACuB;CACrC;AAED,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Device } from "react-native-ble-plx";
|
|
2
|
+
import { CreateDeviceParams } from "../../../types/create-device-params";
|
|
3
|
+
import { IntegratedDevices } from "../../../types/integrated-devices";
|
|
4
|
+
import { IService } from "../../../types/service.type";
|
|
5
|
+
import { BTManagedDevice } from "../bt-managed-device";
|
|
6
|
+
export declare const pc300MainServices: IService[];
|
|
7
|
+
/** Viatom PC-300/PC-200 spot-check family over the FFF0 AA55 protocol. */
|
|
8
|
+
export declare class Pc300Device extends BTManagedDevice<IntegratedDevices.PC300> {
|
|
9
|
+
protected mainServices: IService[];
|
|
10
|
+
protected stuckDataTimeout: number;
|
|
11
|
+
protected onStreamStart: undefined;
|
|
12
|
+
protected preferredMtu: number;
|
|
13
|
+
constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.PC300>);
|
|
14
|
+
protected handleSuccessResult(): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=viatom.pc300.device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.pc300.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.pc300.device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,EASvC,CAAC;AAEF,0EAA0E;AAC1E,qBAAa,WAAY,SAAQ,eAAe,CAAC,iBAAiB,CAAC,KAAK,CAAC;IACvE,SAAS,CAAC,YAAY,aAAqB;IAC3C,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;IACpC,UAAmB,YAAY,SAAO;gBAGpC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAmBrD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { FrameReadResult } from "../../../types/frame-read-result";
|
|
2
|
+
import { FrameReader } from "../../../types/frame-reader";
|
|
3
|
+
export declare const PC300_SERVICE = "0000fff0-0000-1000-8000-00805f9b34fb";
|
|
4
|
+
export declare const PC300_WRITE = "0000fff2-0000-1000-8000-00805f9b34fb";
|
|
5
|
+
export declare const PC300_NOTIFY = "0000fff1-0000-1000-8000-00805f9b34fb";
|
|
6
|
+
export declare const Pc300Command: {
|
|
7
|
+
readonly bloodPressureResult: 67;
|
|
8
|
+
readonly temperatureResult: 114;
|
|
9
|
+
readonly glucoseResult: 115;
|
|
10
|
+
readonly baijieResult: 226;
|
|
11
|
+
readonly oxygenParameters: 83;
|
|
12
|
+
readonly ecgWave: 50;
|
|
13
|
+
readonly ecgResult: 51;
|
|
14
|
+
};
|
|
15
|
+
/** Builds the AA55 frame used by the ViHealth PC-300 family. */
|
|
16
|
+
export declare const pc300Command: (command: number, type: number, payload?: readonly string[]) => string[];
|
|
17
|
+
export declare const pc300GetBloodPressureResult: () => string[];
|
|
18
|
+
export declare const pc300GetTemperatureResult: () => string[];
|
|
19
|
+
export declare const pc300GetGlucoseResult: () => string[];
|
|
20
|
+
export declare const pc300GetBaijieGlucoseResult: () => string[];
|
|
21
|
+
export declare const pc300GetBaijieUricAcidResult: () => string[];
|
|
22
|
+
export interface Pc300Response {
|
|
23
|
+
command: number;
|
|
24
|
+
type: number;
|
|
25
|
+
content: string[];
|
|
26
|
+
}
|
|
27
|
+
export declare const decodePc300Response: (bytes: readonly string[]) => Pc300Response | undefined;
|
|
28
|
+
export interface Pc300BloodPressureResult {
|
|
29
|
+
systolic: number;
|
|
30
|
+
diastolic: number;
|
|
31
|
+
meanArterialPressure: number;
|
|
32
|
+
heartRate: number;
|
|
33
|
+
irregularHeartbeat: boolean;
|
|
34
|
+
}
|
|
35
|
+
export declare const parsePc300BloodPressureResult: (content: readonly string[]) => Pc300BloodPressureResult | undefined;
|
|
36
|
+
export interface Pc300TemperatureResult {
|
|
37
|
+
bodyTemp: number;
|
|
38
|
+
probeOff: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare const parsePc300TemperatureResult: (content: readonly string[]) => Pc300TemperatureResult | undefined;
|
|
41
|
+
export interface Pc300GlucoseResult {
|
|
42
|
+
bloodGlucose: number;
|
|
43
|
+
unit: "mg/dL" | "mmol/L";
|
|
44
|
+
}
|
|
45
|
+
export declare const parsePc300GlucoseResult: (content: readonly string[]) => Pc300GlucoseResult | undefined;
|
|
46
|
+
export interface Pc300UricAcidResult {
|
|
47
|
+
uricAcid: number;
|
|
48
|
+
}
|
|
49
|
+
export declare const parsePc300UricAcidResult: (content: readonly string[]) => Pc300UricAcidResult | undefined;
|
|
50
|
+
export interface Pc300BloodOxygenResult {
|
|
51
|
+
bloodOxygen: number;
|
|
52
|
+
pulseRate: number;
|
|
53
|
+
perfusionIndex: number;
|
|
54
|
+
probeOff: boolean;
|
|
55
|
+
}
|
|
56
|
+
export declare const parsePc300BloodOxygenResult: (content: readonly string[]) => Pc300BloodOxygenResult | undefined;
|
|
57
|
+
export interface Pc300EcgWave {
|
|
58
|
+
sequence: number;
|
|
59
|
+
diagramPoints: number[];
|
|
60
|
+
probeOff: boolean;
|
|
61
|
+
}
|
|
62
|
+
export declare const parsePc300EcgWave: (content: readonly string[]) => Pc300EcgWave | undefined;
|
|
63
|
+
export interface Pc300EcgResult {
|
|
64
|
+
heartRate: number;
|
|
65
|
+
status: number;
|
|
66
|
+
}
|
|
67
|
+
export declare const parsePc300EcgResult: (content: readonly string[]) => Pc300EcgResult | undefined;
|
|
68
|
+
/** Reads split and concatenated PC-300 AA55 frames. */
|
|
69
|
+
export declare class Pc300FrameReader implements FrameReader {
|
|
70
|
+
readFrame(buffer: readonly string[]): FrameReadResult;
|
|
71
|
+
private findStart;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=viatom.pc300.protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.pc300.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.pc300.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,eAAO,MAAM,aAAa,yCAAyC,CAAC;AACpE,eAAO,MAAM,WAAW,yCAAyC,CAAC;AAClE,eAAO,MAAM,YAAY,yCAAyC,CAAC;AAEnE,eAAO,MAAM,YAAY;;;;;;;;CAQf,CAAC;AAKX,gEAAgE;AAChE,eAAO,MAAM,YAAY,GACvB,SAAS,MAAM,EACf,MAAM,MAAM,EACZ,UAAS,SAAS,MAAM,EAAO,KAC9B,MAAM,EAcR,CAAC;AAEF,eAAO,MAAM,2BAA2B,QAAO,MAAM,EACF,CAAC;AAEpD,eAAO,MAAM,yBAAyB,QAAO,MAAM,EACF,CAAC;AAElD,eAAO,MAAM,qBAAqB,QAAO,MAAM,EACF,CAAC;AAE9C,eAAO,MAAM,2BAA2B,QAAO,MAAM,EACT,CAAC;AAE7C,eAAO,MAAM,4BAA4B,QAAO,MAAM,EACV,CAAC;AAE7C,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB,GAC9B,OAAO,SAAS,MAAM,EAAE,KACvB,aAAa,GAAG,SA0BlB,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,6BAA6B,GACxC,SA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;AAEF,uDAAuD;AACvD,qBAAa,gBAAiB,YAAW,WAAW;IAC3C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;IAqC5D,OAAO,CAAC,SAAS,CAWf;CACH"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BloodGlucoseMeasurement, BloodPressureMeasurement, BodyTemperatureMeasurement, EcgMeasurement, PulseOximeterMeasurement } from "@ovok/core";
|
|
2
|
+
import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
|
|
3
|
+
import { DeviceCommand } from "../../../types/device-command";
|
|
4
|
+
import { MeasurementWithCaseType } from "../../../types/measurement-with-case-type";
|
|
5
|
+
type Pc300Measurement = BloodPressureMeasurement | PulseOximeterMeasurement | BodyTemperatureMeasurement | BloodGlucoseMeasurement | EcgMeasurement;
|
|
6
|
+
interface Pc300SequencerParams {
|
|
7
|
+
write: Omit<DeviceCommand, "frame">;
|
|
8
|
+
onResult: (result: MeasurementWithCaseType<Pc300Measurement>) => void;
|
|
9
|
+
now?: () => Date;
|
|
10
|
+
}
|
|
11
|
+
/** Reads the last PC-300 family readings and accepts live oxygen/ECG frames. */
|
|
12
|
+
export declare class Pc300Sequencer implements CommandSequencer {
|
|
13
|
+
private readonly params;
|
|
14
|
+
private phase;
|
|
15
|
+
private ecgPoints;
|
|
16
|
+
constructor(params: Pc300SequencerParams);
|
|
17
|
+
initialCommands: () => readonly DeviceCommand[];
|
|
18
|
+
isNormalDisconnect: () => boolean;
|
|
19
|
+
commandTimeoutMs: () => number | undefined;
|
|
20
|
+
onCommandTimeout: () => CommandTimeoutResult;
|
|
21
|
+
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
22
|
+
private write;
|
|
23
|
+
}
|
|
24
|
+
export type { Pc300Measurement, Pc300SequencerParams };
|
|
25
|
+
//# sourceMappingURL=viatom.pc300.sequencer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viatom.pc300.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAE1B,cAAc,EAEd,wBAAwB,EACzB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAgBpF,KAAK,gBAAgB,GACjB,wBAAwB,GACxB,wBAAwB,GACxB,0BAA0B,GAC1B,uBAAuB,GACvB,cAAc,CAAC;AAEnB,UAAU,oBAAoB;IAC5B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtE,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AASD,gFAAgF;AAChF,qBAAa,cAAe,YAAW,gBAAgB;IAIlC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAH1C,OAAO,CAAC,KAAK,CAAgC;IAC7C,OAAO,CAAC,SAAS,CAAgB;gBAEG,MAAM,EAAE,oBAAoB;IAEzD,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,kBAAkB,QAAO,OAAO,CAA0B;IAE1D,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACJ;IAErC,gBAAgB,QAAO,oBAAoB,CAIhD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CA+HrC;IAEF,OAAO,CAAC,KAAK,CACuB;CACrC;AAED,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -25,6 +25,8 @@ type VerovalEcgMeasurement = EcgMeasurement & {
|
|
|
25
25
|
};
|
|
26
26
|
interface DeviceMeasurementMap {
|
|
27
27
|
[IntegratedDevices.F4]: BodyWeightMeasurement;
|
|
28
|
+
[IntegratedDevices.LEPU_F4_SCALE]: BodyWeightMeasurement;
|
|
29
|
+
[IntegratedDevices.LEPU_F5_SCALE]: BodyWeightMeasurement;
|
|
28
30
|
[IntegratedDevices.BP2]: BloodPressureMeasurement | EcgMeasurement;
|
|
29
31
|
[IntegratedDevices.SPO2]: PulseOximeterMeasurement;
|
|
30
32
|
[IntegratedDevices.MYSENSE]: import("@ovok/core").BodyTemperatureMeasurement;
|
|
@@ -44,7 +46,7 @@ interface DeviceMeasurementMap {
|
|
|
44
46
|
[IntegratedDevices.CLEVERTEMP]: never;
|
|
45
47
|
[IntegratedDevices.CMED]: never;
|
|
46
48
|
[IntegratedDevices.SP80B]: never;
|
|
47
|
-
[IntegratedDevices.S5]:
|
|
49
|
+
[IntegratedDevices.S5]: BodyWeightMeasurement;
|
|
48
50
|
[IntegratedDevices.ALIVE_COR]: never;
|
|
49
51
|
[IntegratedDevices.BGM]: BloodGlucoseMeasurement;
|
|
50
52
|
[IntegratedDevices.GENIAL_T31]: BodyTemperatureMeasurement;
|
|
@@ -56,6 +58,11 @@ interface DeviceMeasurementMap {
|
|
|
56
58
|
[IntegratedDevices.AP20]: PulseOximeterMeasurement;
|
|
57
59
|
[IntegratedDevices.AP20_WPS]: PulseOximeterMeasurement;
|
|
58
60
|
[IntegratedDevices.PC68B]: PulseOximeterMeasurement;
|
|
61
|
+
[IntegratedDevices.PC100]: BloodPressureMeasurement | PulseOximeterMeasurement;
|
|
62
|
+
[IntegratedDevices.BPM188]: BloodPressureMeasurement;
|
|
63
|
+
[IntegratedDevices.PC300]: BloodPressureMeasurement | PulseOximeterMeasurement | BodyTemperatureMeasurement | BloodGlucoseMeasurement | EcgMeasurement;
|
|
64
|
+
[IntegratedDevices.POCTOR_M3102]: BloodGlucoseMeasurement | UrineAnalyzeMeasurement;
|
|
65
|
+
[IntegratedDevices.BIOLAND_BGM]: BloodGlucoseMeasurement;
|
|
59
66
|
}
|
|
60
67
|
/**
|
|
61
68
|
* A built-in device has a measurement type the SDK knows statically. A device registered
|
package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-measurement-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/device-measurement-map.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,wBAAwB,EACxB,uBAAuB,EACxB,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CA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ACtC,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC;IAChC,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACjC,CAAC,iBAAiB,CAAC,EAAE,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"device-measurement-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/device-measurement-map.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,wBAAwB,EACxB,uBAAuB,EACxB,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,kBAAkB,EAAE,kBAAkB,CAAC,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF,KAAK,qBAAqB,GAAG,cAAc,GAAG;IAC5C,UAAU,CAAC,EAAE,MAAM,CAA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CAAC,EAC5B,uBAAuB,GACvB,uBAAuB,CAAC;IAC5B,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,uBAAuB,CAAC;CAC1D;AAED;;;GAGG;AACH,KAAK,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAAI,CAAC,SAAS,iBAAiB,GACxE,oBAAoB,CAAC,CAAC,CAAC,GACvB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS,SAAS,EAAE,IAClE,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare enum IntegratedDevices {
|
|
2
2
|
F4 = "F4",
|
|
3
|
+
LEPU_F4_SCALE = "Lepu F4 scale",
|
|
4
|
+
LEPU_F5_SCALE = "Lepu F5 scale",
|
|
3
5
|
BP2 = "BP2",
|
|
4
6
|
SPO2 = "Oxyfit",
|
|
5
7
|
MYSENSE = "mySense",
|
|
@@ -30,6 +32,11 @@ export declare enum IntegratedDevices {
|
|
|
30
32
|
CHECKME_POD_WPS = "Checkme Pod-WPS",
|
|
31
33
|
AP20 = "AP-20",
|
|
32
34
|
AP20_WPS = "AP-20-WPS",
|
|
33
|
-
PC68B = "PC-68B"
|
|
35
|
+
PC68B = "PC-68B",
|
|
36
|
+
PC100 = "PC-100",
|
|
37
|
+
BPM188 = "BPM-188",
|
|
38
|
+
PC300 = "PC300",
|
|
39
|
+
POCTOR_M3102 = "PoctorM3102",
|
|
40
|
+
BIOLAND_BGM = "Bioland-BGM"
|
|
34
41
|
}
|
|
35
42
|
//# sourceMappingURL=integrated-devices.d.ts.map
|