@ovok/native 1.17.0-dev.2303 → 1.17.0-dev.2307
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/android/src/main/java/com/ovok/sdk/backgroundsync/OvokBackgroundSyncPackage.java +2 -0
- package/android/src/main/java/com/ovok/sdk/pairing/OvokPairingAgentModule.java +85 -0
- package/lib/commonjs/modules/next/bluetooth/adapters/android-pairing-agent.js +25 -0
- package/lib/commonjs/modules/next/bluetooth/adapters/android-pairing-agent.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/core/bluetooth.js +6 -1
- package/lib/commonjs/modules/next/bluetooth/core/bluetooth.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/core/device-link.js +16 -0
- package/lib/commonjs/modules/next/bluetooth/core/device-link.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/core/device.js +7 -3
- package/lib/commonjs/modules/next/bluetooth/core/device.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/core/live-session.js +3 -0
- package/lib/commonjs/modules/next/bluetooth/core/live-session.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/core/ports.js +2 -0
- package/lib/commonjs/modules/next/bluetooth/core/ports.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/create-bluetooth.js +2 -0
- package/lib/commonjs/modules/next/bluetooth/create-bluetooth.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/families/built-in.js +3 -2
- package/lib/commonjs/modules/next/bluetooth/families/built-in.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/bgx.js +16 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/bgx.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.js +17 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/frame.js +52 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/frame.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/models.js +22 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/models.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/monitor.js +167 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/monitor.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/protocol.js +87 -0
- package/lib/commonjs/modules/next/bluetooth/families/clarity-recobro/protocol.js.map +1 -0
- package/lib/module/modules/next/bluetooth/adapters/android-pairing-agent.js +21 -0
- package/lib/module/modules/next/bluetooth/adapters/android-pairing-agent.js.map +1 -0
- package/lib/module/modules/next/bluetooth/core/bluetooth.js +6 -1
- package/lib/module/modules/next/bluetooth/core/bluetooth.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/device-link.js +16 -0
- package/lib/module/modules/next/bluetooth/core/device-link.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/device.js +7 -3
- package/lib/module/modules/next/bluetooth/core/device.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/live-session.js +3 -0
- package/lib/module/modules/next/bluetooth/core/live-session.js.map +1 -1
- package/lib/module/modules/next/bluetooth/core/ports.js +2 -0
- package/lib/module/modules/next/bluetooth/core/ports.js.map +1 -1
- package/lib/module/modules/next/bluetooth/create-bluetooth.js +2 -0
- package/lib/module/modules/next/bluetooth/create-bluetooth.js.map +1 -1
- package/lib/module/modules/next/bluetooth/families/built-in.js +3 -2
- package/lib/module/modules/next/bluetooth/families/built-in.js.map +1 -1
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/bgx.js +14 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/bgx.js.map +1 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.js +9 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.js.map +1 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/frame.js +48 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/frame.js.map +1 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/models.js +20 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/models.js.map +1 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/monitor.js +163 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/monitor.js.map +1 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/protocol.js +84 -0
- package/lib/module/modules/next/bluetooth/families/clarity-recobro/protocol.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/android-pairing-agent.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/android-pairing-agent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/bluetooth-options.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/bluetooth-options.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/bluetooth.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/bluetooth.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device-deps.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device-deps.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/device-link.d.ts +6 -1
- 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 +1 -0
- 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 +3 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/live-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/ports.d.ts +6 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/ports.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/reading.d.ts +10 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/core/reading.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/create-bluetooth.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/built-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/bgx.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/bgx.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/frame.d.ts +10 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/frame.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/models.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/models.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/monitor.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/monitor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/protocol.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/families/clarity-recobro/protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/shared.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/shared.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/adapters/android-pairing-agent.d.ts +8 -0
- package/lib/typescript/module/src/modules/next/bluetooth/adapters/android-pairing-agent.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/core/bluetooth-options.d.ts +3 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/bluetooth-options.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/bluetooth.d.ts +2 -0
- package/lib/typescript/module/src/modules/next/bluetooth/core/bluetooth.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/device-deps.d.ts +3 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/device-deps.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/device-link.d.ts +6 -1
- 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 +1 -0
- 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 +3 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/live-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/ports.d.ts +6 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/ports.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/reading.d.ts +10 -1
- package/lib/typescript/module/src/modules/next/bluetooth/core/reading.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/create-bluetooth.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/families/built-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/bgx.d.ts +8 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/bgx.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.d.ts +6 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/frame.d.ts +10 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/frame.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/models.d.ts +7 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/models.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/monitor.d.ts +19 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/monitor.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/protocol.d.ts +6 -0
- package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/shared.d.ts +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/shared.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -56,6 +56,11 @@ interface BleCentral {
|
|
|
56
56
|
/** Opens a GATT connection to the device at `address`. */
|
|
57
57
|
connect(address: string): Promise<GattLink>;
|
|
58
58
|
}
|
|
59
|
+
/** Answers the system's pairing prompt with a PIN, on a platform that lets an app do so. */
|
|
60
|
+
interface PairingAgent {
|
|
61
|
+
/** Enters `pin` when the device at `address` asks for one, until the returned release is called. */
|
|
62
|
+
expectPin(address: string, pin: string): () => void;
|
|
63
|
+
}
|
|
59
64
|
/** The OS permission prompts Bluetooth needs. */
|
|
60
65
|
interface BluetoothPermissions {
|
|
61
66
|
/** The current permission, without prompting. */
|
|
@@ -113,5 +118,5 @@ declare const alwaysForeground: AppLifecycle;
|
|
|
113
118
|
/** A platform where nothing extra keeps the process alive. */
|
|
114
119
|
declare const noKeepAlive: KeepAlive;
|
|
115
120
|
export { alwaysForeground, noKeepAlive, silentLogger };
|
|
116
|
-
export type { AdapterState, AppLifecycle, AppVisibility, BleCentral, BluetoothPermission, BluetoothPermissions, ChooserFilter, GattLink, KeepAlive, LogContext, Logger, PairedDeviceStore, ReadingSink, SaveOutcome, ScanFilter, ScanHandlers, };
|
|
121
|
+
export type { AdapterState, AppLifecycle, AppVisibility, BleCentral, BluetoothPermission, BluetoothPermissions, ChooserFilter, GattLink, KeepAlive, LogContext, Logger, PairedDeviceStore, PairingAgent, ReadingSink, SaveOutcome, ScanFilter, ScanHandlers, };
|
|
117
122
|
//# sourceMappingURL=ports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/ports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,sEAAsE;AACtE,KAAK,YAAY,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,GAAG,cAAc,GAAG,aAAa,CAAC;AAE9E,gGAAgG;AAChG,KAAK,mBAAmB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExE,8EAA8E;AAC9E,KAAK,aAAa,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC;AAE9E,2DAA2D;AAC3D,KAAK,UAAU,GAAG;IAEhB,iGAAiG;IACjG,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAEnC,kHAAkH;IAClH,OAAO,EAAE,SAAS,aAAa,EAAE,GAAG,IAAI,CAAC;IAEzC,2FAA2F;IAC3F,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC,CAAC;AAEF,gFAAgF;AAChF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GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;AAEnE,0GAA0G;AAC1G,UAAU,MAAM;IAEd,0BAA0B;IAC1B,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAEjD,kDAAkD;IAClD,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAEhD,kDAAkD;IAClD,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAEhD,uCAAuC;IACvC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAClD;AAED,QAAA,MAAM,YAAY,EAAE,MAA6E,CAAC;AAElG,qEAAqE;AACrE,QAAA,MAAM,gBAAgB,EAAE,YAMvB,CAAC;AAEF,8DAA8D;AAC9D,QAAA,MAAM,WAAW,EAAE,SAAyE,CAAC;AAE7F,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;AACvD,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,SAAS,EACT,UAAU,EACV,MAAM,EACN,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
|
|
1
|
+
{"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/ports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,WAA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AE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAEhD,uCAAuC;IACvC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAClD;AAED,QAAA,MAAM,YAAY,EAAE,MAA6E,CAAC;AAElG,qEAAqE;AACrE,QAAA,MAAM,gBAAgB,EAAE,YAMvB,CAAC;AAEF,8DAA8D;AAC9D,QAAA,MAAM,WAAW,EAAE,SAAyE,CAAC;AAE7F,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;AACvD,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,SAAS,EACT,UAAU,EACV,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
|
|
@@ -100,6 +100,13 @@ type LiveValues = {
|
|
|
100
100
|
/** Beat-to-beat intervals in milliseconds, when the device sends them. */
|
|
101
101
|
rrIntervalsMs?: readonly number[];
|
|
102
102
|
};
|
|
103
|
+
/** A finished measurement a live stream carries, such as a bedside monitor's cuff result. */
|
|
104
|
+
type LiveResult = {
|
|
105
|
+
/** Stays the same while the device repeats one result, so the result is delivered once. */
|
|
106
|
+
id: string;
|
|
107
|
+
/** The measurement, as the protocol decoded it. */
|
|
108
|
+
reading: DecodedReading;
|
|
109
|
+
};
|
|
103
110
|
/** What one live notification carries. */
|
|
104
111
|
type LiveFrame = {
|
|
105
112
|
/** Whether the device says it is measuring; without it, a frame with numbers or samples counts as measuring. */
|
|
@@ -110,6 +117,8 @@ type LiveFrame = {
|
|
|
110
117
|
waveform?: Waveform;
|
|
111
118
|
/** What the device reports about itself, for a device whose stream is its state rather than a measurement. */
|
|
112
119
|
state?: DeviceState;
|
|
120
|
+
/** A measurement that finished during the stream, saved like a synced record. */
|
|
121
|
+
result?: LiveResult;
|
|
113
122
|
};
|
|
114
|
-
export type { DecodedReading, DeviceFlag, LiveFrame, LiveSpan, LiveValues, Quantity, Reading, ReadingSource, Series, Waveform };
|
|
123
|
+
export type { DecodedReading, DeviceFlag, LiveFrame, LiveResult, LiveSpan, LiveValues, Quantity, Reading, ReadingSource, Series, Waveform };
|
|
115
124
|
//# sourceMappingURL=reading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reading.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/core/reading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEjE,kCAAkC;AAClC,KAAK,QAAQ,GAAG;IAEd,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IAEd,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,yEAAyE;AACzE,KAAK,UAAU,GAAG;IAEhB,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;IAEb,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,0GAA0G;AAC1G,KAAK,QAAQ,GAAG;IAEd,2BAA2B;IAC3B,MAAM,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAE1C,2CAA2C;IAC3C,YAAY,EAAE,MAAM,CAAC;IAErB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IAEb,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IAEd,uDAAuD;IACvD,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAE5B,yCAAyC;IACzC,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IAE/B,6EAA6E;IAC7E,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,+FAA+F;AAC/F,K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C;CACnC,CAAC;AAEF,6FAA6F;AAC7F,KAAK,UAAU,GAAG;IAEhB,2FAA2F;IAC3F,EAAE,EAAE,MAAM,CAAC;IAEX,mDAAmD;IACnD,OAAO,EAAE,cAAc,CAAC;CACzB,CAAC;AAEF,0CAA0C;AAC1C,KAAK,SAAS,GAAG;IAEf,gHAAgH;IAChH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,sDAAsD;IACtD,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,8GAA8G;IAC9G,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB,iFAAiF;IACjF,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-bluetooth.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/bluetooth/create-bluetooth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"create-bluetooth.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/bluetooth/create-bluetooth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAMzC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,OAAO,EAAE,cAAc,EAAmB,MAAM,8BAA8B,CAAC;AAG/E,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAkB/D,oGAAoG;AACpG,KAAK,sBAAsB,GAAG;IAE5B,kDAAkD;IAClD,IAAI,EAAE,cAAc,CAAC;IAErB,2HAA2H;IAC3H,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,wDAAwD;IACxD,OAAO,EAAE,WAAW,CAAC;CACtB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAE9B;;;GAGG;AACH,QAAA,MAAM,eAAe,GAAI,2CAA2C,sBAAsB,KAAG,SAgB5F,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/families/built-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/next/bluetooth/families/built-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAuFlD,6FAA6F;AAC7F,QAAA,MAAM,eAAe,EAAE,SAAS,WAAW,EAoFzC,CAAC;AAEH,6CAA6C;AAC7C,QAAA,MAAM,kBAAkB,EAAE,SAAS,cAAc,EAoFhD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** The Silicon Labs BGX13 Xpress Streaming Service the Recobro streams through. */
|
|
2
|
+
declare const BGX_SERVICE: string;
|
|
3
|
+
/** The BGX's transmit characteristic: the device's byte stream, as notifications. */
|
|
4
|
+
declare const BGX_STREAM_OUT: string;
|
|
5
|
+
/** The BGX's stream mode; it answers only once the link is paired and encrypted. */
|
|
6
|
+
declare const BGX_MODE: string;
|
|
7
|
+
export { BGX_MODE, BGX_SERVICE, BGX_STREAM_OUT };
|
|
8
|
+
//# sourceMappingURL=bgx.d.ts.map
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/bgx.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bgx.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/clarity-recobro/bgx.ts"],"names":[],"mappings":"AAEA,mFAAmF;AACnF,QAAA,MAAM,WAAW,QAAmD,CAAC;AAErE,qFAAqF;AACrF,QAAA,MAAM,cAAc,QAAmD,CAAC;AAExE,oFAAoF;AACpF,QAAA,MAAM,QAAQ,QAAmD,CAAC;AAElE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DeviceProtocol } from "../../core/protocol";
|
|
2
|
+
import { CLARITY_RECOBRO_MODELS } from "./models";
|
|
3
|
+
/** The protocols of Clarity Medical's Recobro monitors. */
|
|
4
|
+
declare const CLARITY_RECOBRO_PROTOCOLS: readonly DeviceProtocol[];
|
|
5
|
+
export { CLARITY_RECOBRO_MODELS, CLARITY_RECOBRO_PROTOCOLS };
|
|
6
|
+
//# sourceMappingURL=clarity-recobro.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clarity-recobro.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/clarity-recobro/clarity-recobro.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAGlD,2DAA2D;AAC3D,QAAA,MAAM,yBAAyB,EAAE,SAAS,cAAc,EAAc,CAAC;AAEvE,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Framing } from "../frame-tools/frame-stream";
|
|
2
|
+
/**
|
|
3
|
+
* Cuts `55 AA L` frames. They carry no checksum the monitor's own app checks; it trusts a frame once the next frame's
|
|
4
|
+
* sync follows it, and so does this.
|
|
5
|
+
*/
|
|
6
|
+
declare const recobroFraming: Framing;
|
|
7
|
+
/** The bytes after the length, where the frame counter, the module flags and the module blocks are. */
|
|
8
|
+
declare const bodyOf: (frame: Uint8Array) => Uint8Array;
|
|
9
|
+
export { bodyOf, recobroFraming };
|
|
10
|
+
//# sourceMappingURL=frame.d.ts.map
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/frame.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frame.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/clarity-recobro/frame.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAgB,MAAM,6BAA6B,CAAC;AAuB7E;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,OAoBrB,CAAC;AAEF,uGAAuG;AACvG,QAAA,MAAM,MAAM,GAAI,OAAO,UAAU,KAAG,UAA0C,CAAC;AAE/E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DeviceModel } from "../../core/catalog";
|
|
2
|
+
/** The passkey every Recobro's BLE bridge asks for; the device never shows it. */
|
|
3
|
+
declare const RECOBRO_PASSKEY = "821687";
|
|
4
|
+
/** Clarity Medical's monitors in COMM mode BLE; in Bluetooth Classic mode they need an SPP link this SDK does not open. */
|
|
5
|
+
declare const CLARITY_RECOBRO_MODELS: readonly DeviceModel[];
|
|
6
|
+
export { CLARITY_RECOBRO_MODELS, RECOBRO_PASSKEY };
|
|
7
|
+
//# sourceMappingURL=models.d.ts.map
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/models.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/clarity-recobro/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMjD,kFAAkF;AAClF,QAAA,MAAM,eAAe,WAAW,CAAC;AAIjC,2HAA2H;AAC3H,QAAA,MAAM,sBAAsB,EAAE,SAAS,WAAW,EAKjD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/monitor.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LiveValues } from "../../core/reading";
|
|
2
|
+
type Values = LiveValues["values"];
|
|
3
|
+
/** What one frame completes: live numbers, and a finished cuff measurement when the NIBP module commits one. */
|
|
4
|
+
type MonitorRead = {
|
|
5
|
+
values: Values;
|
|
6
|
+
bloodPressure: Values | null;
|
|
7
|
+
};
|
|
8
|
+
/** Turns frame bodies into the values each module commits, about once per 67-frame counter cycle. */
|
|
9
|
+
declare class RecobroMonitor {
|
|
10
|
+
private readonly ecg;
|
|
11
|
+
private readonly spo2;
|
|
12
|
+
private readonly nibp;
|
|
13
|
+
/** What this frame completes; a finished cuff result stays in the slots, so it repeats every cycle. */
|
|
14
|
+
read(body: Uint8Array): MonitorRead;
|
|
15
|
+
private module;
|
|
16
|
+
}
|
|
17
|
+
export { RecobroMonitor };
|
|
18
|
+
export type { MonitorRead };
|
|
19
|
+
//# sourceMappingURL=monitor.d.ts.map
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/monitor.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/clarity-recobro/monitor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAsC1D,KAAK,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;AAkFnC,gHAAgH;AAChH,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAEpE,qGAAqG;AACrG,cAAM,cAAc;IAClB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA+B;IACnD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgC;IACrD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgC;IAErD,uGAAuG;IAChG,IAAI,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW;IAc1C,OAAO,CAAC,MAAM;CAgBf;AAED,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/protocol.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DeviceProtocol, ProtocolContext } from "../../core/protocol";
|
|
2
|
+
type Connection = Pick<ProtocolContext, "link" | "now">;
|
|
3
|
+
/** The Recobro streams its monitor data through the BGX bridge once paired. */
|
|
4
|
+
declare const RECOBRO: DeviceProtocol<Connection>;
|
|
5
|
+
export { RECOBRO };
|
|
6
|
+
//# sourceMappingURL=protocol.d.ts.map
|
package/lib/typescript/module/src/modules/next/bluetooth/families/clarity-recobro/protocol.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/next/bluetooth/families/clarity-recobro/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAStE,KAAK,UAAU,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,KAAK,CAAC,CAAC;AAmDxD,+EAA+E;AAC/E,QAAA,MAAM,OAAO,EAAE,cAAc,CAAC,UAAU,CAKvC,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type { Battery, DeviceIdentity, DeviceSettings, PairedDevice } from "./co
|
|
|
18
18
|
export type { AdapterState, AppLifecycle, AppVisibility, BleCentral, BluetoothPermission, BluetoothPermissions, GattLink, KeepAlive, Logger, PairedDeviceStore, ReadingSink, SaveOutcome, ScanFilter, ScanHandlers, } from "./core/ports";
|
|
19
19
|
export type { OutboxView, OutboxWatch, SaveReceipt } from "./core/outbox-watch";
|
|
20
20
|
export type { DeviceProtocol, DeviceSecret, HistoryRecord, ProtocolContext, RecordInfo } from "./core/protocol";
|
|
21
|
-
export type { DeviceFlag, LiveFrame, LiveSpan, LiveValues, Quantity, Reading, ReadingSource, Series, Waveform } from "./core/reading";
|
|
21
|
+
export type { DeviceFlag, LiveFrame, LiveResult, LiveSpan, LiveValues, Quantity, Reading, ReadingSource, Series, Waveform } from "./core/reading";
|
|
22
22
|
export type { OvokSinkClient } from "./adapters/ovok-reading-sink";
|
|
23
23
|
export type { ReceivedReading, SaveState } from "./core/reading-log";
|
|
24
24
|
export { BUILT_IN_MODELS, BUILT_IN_PROTOCOLS } from "./families/built-in";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/bluetooth/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC3F,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,WAAW,EA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