@ovok/native 1.17.0-dev.2222 → 1.17.0-dev.2225
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/next/bluetooth/core/device-link.js +8 -0
- package/lib/commonjs/modules/next/bluetooth/core/device-link.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/core/device.js +17 -25
- package/lib/commonjs/modules/next/bluetooth/core/device.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/core/live-session.js +63 -0
- package/lib/commonjs/modules/next/bluetooth/core/live-session.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/families/sig/indication-protocol.js +3 -0
- package/lib/commonjs/modules/next/bluetooth/families/sig/indication-protocol.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/families/sig-blood-pressure/models.js +9 -8
- package/lib/commonjs/modules/next/bluetooth/families/sig-blood-pressure/models.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/families/sig-blood-pressure/variants.js +14 -3
- package/lib/commonjs/modules/next/bluetooth/families/sig-blood-pressure/variants.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/device-link.js +8 -0
- package/lib/module/modules/next/bluetooth/core/device-link.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/device.js +18 -26
- package/lib/module/modules/next/bluetooth/core/device.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/live-session.js +59 -0
- package/lib/module/modules/next/bluetooth/core/live-session.js.map +1 -0
- package/lib/module/modules/next/bluetooth/families/sig/indication-protocol.js +3 -0
- package/lib/module/modules/next/bluetooth/families/sig/indication-protocol.js.map +1 -1
- package/lib/module/modules/next/bluetooth/families/sig-blood-pressure/models.js +10 -9
- package/lib/module/modules/next/bluetooth/families/sig-blood-pressure/models.js.map +1 -1
- package/lib/module/modules/next/bluetooth/families/sig-blood-pressure/variants.js +14 -3
- package/lib/module/modules/next/bluetooth/families/sig-blood-pressure/variants.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device-link.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device-link.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/live-session.d.ts +34 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/live-session.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/protocol.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/sig/indication-protocol.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/sig/indication-protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/sig-blood-pressure/models.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/sig-blood-pressure/variants.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/sig-blood-pressure/variants.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/device-link.d.ts +2 -0
- package/lib/typescript/module/src/modules/next/bluetooth/core/device-link.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/device.d.ts +3 -3
- package/lib/typescript/module/src/modules/next/bluetooth/core/device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/live-session.d.ts +34 -0
- package/lib/typescript/module/src/modules/next/bluetooth/core/live-session.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/core/protocol.d.ts +2 -0
- package/lib/typescript/module/src/modules/next/bluetooth/core/protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/families/sig/indication-protocol.d.ts +2 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/sig/indication-protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/families/sig-blood-pressure/models.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/families/sig-blood-pressure/variants.d.ts +3 -1
- package/lib/typescript/module/src/modules/next/bluetooth/families/sig-blood-pressure/variants.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/typescript/commonjs/src/modules/next/bluetooth/families/sig-blood-pressure/variants.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BloodPressureVariant } from "./protocol";
|
|
2
2
|
/** The profile as written, with a Current Time write for the clock. */
|
|
3
3
|
declare const STANDARD: BloodPressureVariant;
|
|
4
|
+
/** Monitors that take the phone's time while they pair, on a link that stays a moment and closes before any data. */
|
|
5
|
+
declare const TIME_WHILE_PAIRING: BloodPressureVariant;
|
|
4
6
|
/** Monitors that must have the time before they send, and a moment to apply it. */
|
|
5
7
|
declare const CLOCK_BEFORE_DATA: BloodPressureVariant;
|
|
6
8
|
/** A monitor that must not be sent the time. */
|
|
@@ -25,5 +27,5 @@ declare const VEROVAL_FUSION: BloodPressureVariant;
|
|
|
25
27
|
declare const QARDIO_ARM: BloodPressureVariant;
|
|
26
28
|
/** Every monitor variant that syncs its stored measurements. */
|
|
27
29
|
declare const BLOOD_PRESSURE_VARIANTS: readonly BloodPressureVariant[];
|
|
28
|
-
export { BEURER, BEURER_BM85, BLOOD_PRESSURE_VARIANTS, CLOCK_BEFORE_DATA, NO_CLOCK, PULSE_BIG_ENDIAN, QARDIO_ARM, ROSSMAX, ROSSMAX_X5, STANDARD, VENDOR_SERVICE_BIG_ENDIAN, VEROVAL_BPW26, VEROVAL_FUSION, };
|
|
30
|
+
export { BEURER, BEURER_BM85, BLOOD_PRESSURE_VARIANTS, CLOCK_BEFORE_DATA, NO_CLOCK, PULSE_BIG_ENDIAN, QARDIO_ARM, ROSSMAX, ROSSMAX_X5, STANDARD, TIME_WHILE_PAIRING, VENDOR_SERVICE_BIG_ENDIAN, VEROVAL_BPW26, VEROVAL_FUSION, };
|
|
29
31
|
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig-blood-pressure/variants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig-blood-pressure/variants.ts"],"names":[],"mappings":"AAOA,OAAO,EAAsD,oBAAoB,EAAE,MAAM,YAAY,CAAC;AA4BtG,uEAAuE;AACvE,QAAA,MAAM,QAAQ,EAAE,oBAKf,CAAC;AAEF,qHAAqH;AACrH,QAAA,MAAM,kBAAkB,EAAE,oBAIzB,CAAC;AAEF,mFAAmF;AACnF,QAAA,MAAM,iBAAiB,EAAE,oBAIxB,CAAC;AAEF,gDAAgD;AAChD,QAAA,MAAM,QAAQ,EAAE,oBAA+D,CAAC;AAEhF,sFAAsF;AACtF,QAAA,MAAM,gBAAgB,EAAE,oBAIvB,CAAC;AAEF,qEAAqE;AACrE,QAAA,MAAM,MAAM,EAAE,oBAIb,CAAC;AAEF,oGAAoG;AACpG,QAAA,MAAM,WAAW,EAAE,oBAIlB,CAAC;AAEF,iGAAiG;AACjG,QAAA,MAAM,yBAAyB,EAAE,oBAMhC,CAAC;AAEF,kHAAkH;AAClH,QAAA,MAAM,OAAO,EAAE,oBAQd,CAAC;AAEF,uFAAuF;AACvF,QAAA,MAAM,UAAU,EAAE,oBAIjB,CAAC;AAEF,oFAAoF;AACpF,QAAA,MAAM,aAAa,EAAE,oBAIpB,CAAC;AAEF,qEAAqE;AACrE,QAAA,MAAM,cAAc,EAAE,oBAIrB,CAAC;AAEF,0FAA0F;AAC1F,QAAA,MAAM,UAAU,EAAE,oBAKjB,CAAC;AAEF,gEAAgE;AAChE,QAAA,MAAM,uBAAuB,EAAE,SAAS,oBAAoB,EAc3D,CAAC;AAEF,OAAO,EACL,MAAM,EACN,WAAW,EACX,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,aAAa,EACb,cAAc,GACf,CAAC"}
|
|
@@ -29,6 +29,8 @@ declare class DeviceLink {
|
|
|
29
29
|
constructor(address: string, deps: LinkDeps, callbacks: LinkCallbacks);
|
|
30
30
|
/** The protocol's per-link state, connecting first when there is no link. */
|
|
31
31
|
connection(state?: ConnectionState): Promise<unknown>;
|
|
32
|
+
/** Runs the protocol's own pairing on this link and closes it; for a protocol without one, pairing only connects. */
|
|
33
|
+
pair(connection: unknown): Promise<void>;
|
|
32
34
|
close(): Promise<void>;
|
|
33
35
|
private openLink;
|
|
34
36
|
/** Identify, clock, battery: what every new link runs before any action. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/device-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAA2B,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,UAAU,EAAY,MAAM,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1D,KAAK,QAAQ,GAAG;IAAE,QAAQ,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,UAAU,CAAC;IAAC,GAAG,EAAE,MAAM,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnG,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAE1C,qDAAqD;IACrD,WAAW,EAAE,CAAC,MAAM,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AAqD;IACrD,WAAW,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,SAAS,EAAE,MAAM,IAAI,CAAC;IAEtB,6EAA6E;IAC7E,MAAM,EAAE,YAAY,CAAC;IAErB,iGAAiG;IACjG,aAAa,EAAE,MAAM,aAAa,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,2GAA2G;AAC3G,cAAM,UAAU;IAIK,OAAO,CAAC,QAAQ,CAAC,OAAO;IAAU,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAY,OAAO,CAAC,QAAQ,CAAC,SAAS;IAHhH,OAAO,CAAC,IAAI,CAAuB;IACnC,OAAO,CAAC,OAAO,CAAgC;gBAEX,OAAO,EAAE,MAAM,EAAmB,IAAI,EAAE,QAAQ,EAAmB,SAAS,EAAE,aAAa;IAE/H,6EAA6E;IAChE,UAAU,CAAC,KAAK,GAAE,eAA8B,GAAG,OAAO,CAAC,OAAO,CAAC;IAYhF,qHAAqH;IACxG,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAOxC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAcrB,QAAQ;IAoCtB,4EAA4E;YAC9D,YAAY;IAmB1B,gIAAgI;YAClH,SAAS;IAUvB,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,MAAM;CAMf;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -14,8 +14,7 @@ declare class Device {
|
|
|
14
14
|
private queue;
|
|
15
15
|
private readonly unacknowledged;
|
|
16
16
|
private readonly recorder;
|
|
17
|
-
private readonly
|
|
18
|
-
private readonly liveStream;
|
|
17
|
+
private readonly live;
|
|
19
18
|
constructor(record: PairedDevice, deps: DeviceDeps, latestAdvertisement?: Advertisement | undefined);
|
|
20
19
|
/** The address its record is stored under. */
|
|
21
20
|
get address(): string;
|
|
@@ -58,7 +57,8 @@ declare class Device {
|
|
|
58
57
|
private known;
|
|
59
58
|
private fetchRecord;
|
|
60
59
|
private deliver;
|
|
61
|
-
|
|
60
|
+
/** A measurement streamed live has ended and the device has had time to store it; one that syncs by itself reads it. */
|
|
61
|
+
private readStoredByItself;
|
|
62
62
|
/** Ids stay newest last, so a broadcasting device's last id is the result it keeps repeating. */
|
|
63
63
|
private addToCursor;
|
|
64
64
|
private updateRecord;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAGL,WAAW,EACX,cAAc,
|
|
1
|
+
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAGL,WAAW,EACX,cAAc,EAGd,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAOxC,4GAA4G;AAC5G,cAAM,MAAM;IAeS,OAAO,CAAC,MAAM;IAAgB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAc,OAAO,CAAC,mBAAmB,CAAC;IAdhH,OAAO,CAAC,IAAI,CAAiB;IAC7B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;IAClC,OAAO,CAAC,KAAK,CAAuC;IACpD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAqB;IACpD,OAAO,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H;IAC9G,IAAI,CAAC,EAAE,EAAE,aAAa,GAAG,IAAI;IAapC,OAAO,CAAC,GAAG;YAYG,OAAO;YAmBP,OAAO;YAaP,SAAS;YAaT,WAAW;IAazB,8DAA8D;IAC9D,OAAO,CAAC,KAAK,CAA2F;YAE1F,WAAW;YAIX,OAAO;IAiBrB,wHAAwH;IACxH,OAAO,CAAC,kBAAkB;IAM1B,iGAAiG;IACjG,OAAO,CAAC,WAAW;YAIL,YAAY;IAM1B,OAAO,CAAC,KAAK;CAId;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DeviceEvent, DeviceSnapshot } from "./device-snapshot";
|
|
2
|
+
import { LiveFrame } from "./reading";
|
|
3
|
+
/** How long a device may take to store a measurement it has just finished, before its records are read. */
|
|
4
|
+
declare const STORED_AFTER_MS = 3000;
|
|
5
|
+
/** Streams the device's frames to `onFrame` until `signal` aborts. */
|
|
6
|
+
type Live = (onFrame: (frame: LiveFrame) => void, signal: AbortSignal) => Promise<void>;
|
|
7
|
+
type LiveSessionCallbacks = {
|
|
8
|
+
/** The stream started or ended, failed, or the device started or stopped measuring. */
|
|
9
|
+
changed: (change: Partial<Pick<DeviceSnapshot, "live" | "lastError" | "measuringSince">>) => void;
|
|
10
|
+
/** The live numbers and samples of one frame. */
|
|
11
|
+
emit: (event: DeviceEvent) => void;
|
|
12
|
+
/** A measurement ended while the stream still ran, long enough ago for the device to have stored it. */
|
|
13
|
+
stored: () => void;
|
|
14
|
+
now: () => Date;
|
|
15
|
+
};
|
|
16
|
+
/** One device's live stream and whether it is measuring; a measurement that ends mid-stream is reported as stored. */
|
|
17
|
+
declare class LiveSession {
|
|
18
|
+
private readonly callbacks;
|
|
19
|
+
private storedTimer;
|
|
20
|
+
private readonly measuring;
|
|
21
|
+
private readonly stream;
|
|
22
|
+
constructor(callbacks: LiveSessionCallbacks);
|
|
23
|
+
/** Starts streaming unless a stream is running. */
|
|
24
|
+
start(live: Live): void;
|
|
25
|
+
/** Stops the stream and waits until the device has stopped sending; a stored measurement is still reported. */
|
|
26
|
+
stop: () => Promise<void>;
|
|
27
|
+
/** Ends the stream without waiting, for a link that dropped. */
|
|
28
|
+
abort: () => void;
|
|
29
|
+
/** Stops the stream for good, without reporting a measurement that is still being stored. */
|
|
30
|
+
close: () => Promise<void>;
|
|
31
|
+
private measuringChanged;
|
|
32
|
+
}
|
|
33
|
+
export { LiveSession, STORED_AFTER_MS };
|
|
34
|
+
//# sourceMappingURL=live-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"live-session.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/live-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAgB,MAAM,mBAAmB,CAAC;AAG9E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,2GAA2G;AAC3G,QAAA,MAAM,eAAe,OAAQ,CAAC;AAE9B,sEAAsE;AACtE,KAAK,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAExF,KAAK,oBAAoB,GAAG;IAE1B,uFAAuF;IACvF,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC,KAAK,IAAI,CAAC;IAElG,iDAAiD;IACjD,IAAI,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAEnC,wGAAwG;IACxG,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,IAAI,CAAC;CACjB,CAAC;AAEF,sHAAsH;AACtH,cAAM,WAAW;IAKI,OAAO,CAAC,QAAQ,CAAC,SAAS;IAJ7C,OAAO,CAAC,WAAW,CAA4C;IAC/D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAa;gBAEA,SAAS,EAAE,oBAAoB;IAQnE,mDAAmD;IAC5C,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAS9B,+GAA+G;IACxG,IAAI,QAAO,OAAO,CAAC,IAAI,CAAC,CAAuB;IAEtD,gEAAgE;IACzD,KAAK,QAAO,IAAI,CAAwB;IAE/C,6FAA6F;IACtF,KAAK,QAAO,OAAO,CAAC,IAAI,CAAC,CAI9B;IAEF,OAAO,CAAC,gBAAgB;CAOzB;AAED,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -51,6 +51,8 @@ interface DeviceProtocol<C = unknown> {
|
|
|
51
51
|
identify?(connection: C): Promise<Omit<DeviceIdentity, "at">>;
|
|
52
52
|
/** Sets the device's clock to `now`. */
|
|
53
53
|
setClock?(connection: C, now: Date): Promise<void>;
|
|
54
|
+
/** What pairing needs after the connect steps, on a link of its own that closes once it is done. */
|
|
55
|
+
pairing?(connection: C): Promise<void>;
|
|
54
56
|
/** Reads the battery level. */
|
|
55
57
|
battery?(connection: C): Promise<Omit<Battery, "at">>;
|
|
56
58
|
/** Lists the records stored on the device, without reading them. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtD,gIAAgI;AAChI,K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,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/next/bluetooth/families/sig/indication-protocol.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ type SessionHooks = {
|
|
|
18
18
|
openChannel?: (link: GattLink) => Promise<() => void>;
|
|
19
19
|
/** Runs once indications are on, for a sensor that sends only after being asked. */
|
|
20
20
|
afterSubscribe?: (link: GattLink) => Promise<void>;
|
|
21
|
+
/** What the sensor needs while it pairs, after its clock is set; the pairing link closes afterwards. */
|
|
22
|
+
pairing?: () => Promise<void>;
|
|
21
23
|
/** Chooses which records of a sync count; every record counts without it. */
|
|
22
24
|
select?: RecordPolicy;
|
|
23
25
|
};
|
package/lib/typescript/module/src/modules/next/bluetooth/families/sig/indication-protocol.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indication-protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig/indication-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAe,MAAM,SAAS,CAAC;AAEnD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGlE,yFAAyF;AACzF,KAAK,aAAa,GAAG,aAAa,GAAG;IAEnC,mCAAmC;IACnC,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gHAAgH;AAChH,KAAK,YAAY,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,QAAQ,KAAK,aAAa,CAAC,aAAa,CAAC,CAAC;AAE5G,yFAAyF;AACzF,KAAK,YAAY,GAAG;IAElB,wGAAwG;IACxG,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,IAAI,CAAC,CAAC;IAEtD,oFAAoF;IACpF,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD,6EAA6E;IAC7E,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,qHAAqH;AACrH,KAAK,gBAAgB,CAAC,OAAO,IAAI,YAAY,GAAG;IAE9C,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IAEX,wCAAwC;IACxC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAE5B,mDAAmD;IACnD,WAAW,EAAE,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,gBAAgB,CAAC,CAAC;IAElE,oFAAoF;IACpF,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzD,8DAA8D;IAC9D,MAAM,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,KAAK,cAAc,GAAG,IAAI,CAAC;CACzF,CAAC;AAEF,mDAAmD;AACnD,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC,GAAG;IAC7E,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AA0BF,yFAAyF;AACzF,QAAA,MAAM,kBAAkB,GAAI,OAAO,EAAE,QAAQ,gBAAgB,CAAC,OAAO,CAAC,KAAG,cAAc,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"indication-protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig/indication-protocol.ts"],"names":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CAAC,CAAC;IAElE,oFAAoF;IACpF,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzD,8DAA8D;IAC9D,MAAM,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,KAAK,cAAc,GAAG,IAAI,CAAC;CACzF,CAAC;AAEF,mDAAmD;AACnD,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC,GAAG;IAC7E,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AA0BF,yFAAyF;AACzF,QAAA,MAAM,kBAAkB,GAAI,OAAO,EAAE,QAAQ,gBAAgB,CAAC,OAAO,CAAC,KAAG,cAAc,CAAC,oBAAoB,CAkB3G,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/next/bluetooth/families/sig-blood-pressure/models.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig-blood-pressure/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig-blood-pressure/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAsDpE,6GAA6G;AAC7G,QAAA,MAAM,yBAAyB,EAAE,SAAS,WAAW,EAqFpD,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/next/bluetooth/families/sig-blood-pressure/variants.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BloodPressureVariant } from "./protocol";
|
|
2
2
|
/** The profile as written, with a Current Time write for the clock. */
|
|
3
3
|
declare const STANDARD: BloodPressureVariant;
|
|
4
|
+
/** Monitors that take the phone's time while they pair, on a link that stays a moment and closes before any data. */
|
|
5
|
+
declare const TIME_WHILE_PAIRING: BloodPressureVariant;
|
|
4
6
|
/** Monitors that must have the time before they send, and a moment to apply it. */
|
|
5
7
|
declare const CLOCK_BEFORE_DATA: BloodPressureVariant;
|
|
6
8
|
/** A monitor that must not be sent the time. */
|
|
@@ -25,5 +27,5 @@ declare const VEROVAL_FUSION: BloodPressureVariant;
|
|
|
25
27
|
declare const QARDIO_ARM: BloodPressureVariant;
|
|
26
28
|
/** Every monitor variant that syncs its stored measurements. */
|
|
27
29
|
declare const BLOOD_PRESSURE_VARIANTS: readonly BloodPressureVariant[];
|
|
28
|
-
export { BEURER, BEURER_BM85, BLOOD_PRESSURE_VARIANTS, CLOCK_BEFORE_DATA, NO_CLOCK, PULSE_BIG_ENDIAN, QARDIO_ARM, ROSSMAX, ROSSMAX_X5, STANDARD, VENDOR_SERVICE_BIG_ENDIAN, VEROVAL_BPW26, VEROVAL_FUSION, };
|
|
30
|
+
export { BEURER, BEURER_BM85, BLOOD_PRESSURE_VARIANTS, CLOCK_BEFORE_DATA, NO_CLOCK, PULSE_BIG_ENDIAN, QARDIO_ARM, ROSSMAX, ROSSMAX_X5, STANDARD, TIME_WHILE_PAIRING, VENDOR_SERVICE_BIG_ENDIAN, VEROVAL_BPW26, VEROVAL_FUSION, };
|
|
29
31
|
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig-blood-pressure/variants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/sig-blood-pressure/variants.ts"],"names":[],"mappings":"AAOA,OAAO,EAAsD,oBAAoB,EAAE,MAAM,YAAY,CAAC;AA4BtG,uEAAuE;AACvE,QAAA,MAAM,QAAQ,EAAE,oBAKf,CAAC;AAEF,qHAAqH;AACrH,QAAA,MAAM,kBAAkB,EAAE,oBAIzB,CAAC;AAEF,mFAAmF;AACnF,QAAA,MAAM,iBAAiB,EAAE,oBAIxB,CAAC;AAEF,gDAAgD;AAChD,QAAA,MAAM,QAAQ,EAAE,oBAA+D,CAAC;AAEhF,sFAAsF;AACtF,QAAA,MAAM,gBAAgB,EAAE,oBAIvB,CAAC;AAEF,qEAAqE;AACrE,QAAA,MAAM,MAAM,EAAE,oBAIb,CAAC;AAEF,oGAAoG;AACpG,QAAA,MAAM,WAAW,EAAE,oBAIlB,CAAC;AAEF,iGAAiG;AACjG,QAAA,MAAM,yBAAyB,EAAE,oBAMhC,CAAC;AAEF,kHAAkH;AAClH,QAAA,MAAM,OAAO,EAAE,oBAQd,CAAC;AAEF,uFAAuF;AACvF,QAAA,MAAM,UAAU,EAAE,oBAIjB,CAAC;AAEF,oFAAoF;AACpF,QAAA,MAAM,aAAa,EAAE,oBAIpB,CAAC;AAEF,qEAAqE;AACrE,QAAA,MAAM,cAAc,EAAE,oBAIrB,CAAC;AAEF,0FAA0F;AAC1F,QAAA,MAAM,UAAU,EAAE,oBAKjB,CAAC;AAEF,gEAAgE;AAChE,QAAA,MAAM,uBAAuB,EAAE,SAAS,oBAAoB,EAc3D,CAAC;AAEF,OAAO,EACL,MAAM,EACN,WAAW,EACX,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,aAAa,EACb,cAAc,GACf,CAAC"}
|