@ovok/native 1.6.43 → 1.6.44
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 +6 -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 +30 -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/device-creator.js +11 -1
- package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
- 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 +5 -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 +6 -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 +30 -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/device-creator.js +11 -1
- package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
- 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 +5 -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/device-creator.d.ts.map +1 -1
- 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 +5 -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 +6 -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/device-creator.d.ts.map +1 -1
- 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 +5 -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 +6 -1
- package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/viatom/viatom.pc100.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,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AEF,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/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AAe;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":"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S]: PulseOximeterMeasurement;
|
|
58
58
|
[IntegratedDevices.PC68B]: PulseOximeterMeasurement;
|
|
59
|
+
[IntegratedDevices.PC100]: BloodPressureMeasurement | PulseOximeterMeasurement;
|
|
60
|
+
[IntegratedDevices.BPM188]: BloodPressureMeasurement;
|
|
61
|
+
[IntegratedDevices.PC300]: BloodPressureMeasurement | PulseOximeterMeasurement | BodyTemperatureMeasurement | BloodGlucoseMeasurement | EcgMeasurement;
|
|
62
|
+
[IntegratedDevices.POCTOR_M3102]: BloodGlucoseMeasurement | UrineAnalyzeMeasurement;
|
|
63
|
+
[IntegratedDevices.BIOLAND_BGM]: BloodGlucoseMeasurement;
|
|
59
64
|
}
|
|
60
65
|
/**
|
|
61
66
|
* A built-in device has a measurement type the SDK knows statically. A device registered
|
package/lib/typescript/module/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,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;
|
|
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,CAAC;CACrB,CAAC;AAEF,UAAU,oBAAoB;IAC5B,CAAC,iBAAiB,CAAC,EAAE,CAAC,EAAE,qBAAqB,CAAC;IAC9C,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,wBAAwB,GAAG,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AC,CAAC,SAAS,SAAS,SAAS,EAAE,IAClE,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC"}
|
|
@@ -30,6 +30,11 @@ export declare enum IntegratedDevices {
|
|
|
30
30
|
CHECKME_POD_WPS = "Checkme Pod-WPS",
|
|
31
31
|
AP20 = "AP-20",
|
|
32
32
|
AP20_WPS = "AP-20-WPS",
|
|
33
|
-
PC68B = "PC-68B"
|
|
33
|
+
PC68B = "PC-68B",
|
|
34
|
+
PC100 = "PC-100",
|
|
35
|
+
BPM188 = "BPM-188",
|
|
36
|
+
PC300 = "PC300",
|
|
37
|
+
POCTOR_M3102 = "PoctorM3102",
|
|
38
|
+
BIOLAND_BGM = "Bioland-BGM"
|
|
34
39
|
}
|
|
35
40
|
//# sourceMappingURL=integrated-devices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrated-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/integrated-devices.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,IAAI,WAAW;IACf,OAAO,YAAY;IACnB,MAAM,YAAY;IAClB,MAAM,aAAa;IACnB,cAAc,kBAAkB;IAChC,UAAU,eAAe;IACzB,YAAY,SAAS;IACrB,QAAQ,cAAc;IACtB,QAAQ,QAAQ;IAChB,IAAI,SAAS;IACb,UAAU,cAAc;IACxB,SAAS,eAAe;IACxB,UAAU,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,aAAa;IAClB,EAAE,UAAU;IACZ,SAAS,aAAa;IACtB,GAAG,QAAQ;IACX,mBAAmB,wBAAwB;IAC3C,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,IAAI,UAAU;IACd,QAAQ,cAAc;IACtB,KAAK,WAAW;
|
|
1
|
+
{"version":3,"file":"integrated-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/integrated-devices.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,IAAI,WAAW;IACf,OAAO,YAAY;IACnB,MAAM,YAAY;IAClB,MAAM,aAAa;IACnB,cAAc,kBAAkB;IAChC,UAAU,eAAe;IACzB,YAAY,SAAS;IACrB,QAAQ,cAAc;IACtB,QAAQ,QAAQ;IAChB,IAAI,SAAS;IACb,UAAU,cAAc;IACxB,SAAS,eAAe;IACxB,UAAU,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,aAAa;IAClB,EAAE,UAAU;IACZ,SAAS,aAAa;IACtB,GAAG,QAAQ;IACX,mBAAmB,wBAAwB;IAC3C,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,IAAI,UAAU;IACd,QAAQ,cAAc;IACtB,KAAK,WAAW;IAChB,KAAK,WAAW;IAChB,MAAM,YAAY;IAClB,KAAK,UAAU;IACf,YAAY,gBAAgB;IAC5B,WAAW,gBAAgB;CAC5B"}
|