Skip to main content

CheckmeProSequencer

Downloads Checkme Pro history using the command exchange in ViHealth's CheckmeBleInterface. The device returns list records first; the daily list and ECG list then point to waveform files, which are read with the same offset-based transfer.

Kind: Class
Package: @ovok/native

Import​

import { CheckmeProSequencer } from '@ovok/native/bt-management';

TypeScript signatures​

(params: CheckmeTransferParams): CheckmeProSequencer
ParameterTypeDetails
paramsCheckmeTransferParams—

Returns: CheckmeProSequencer.

Public members​

MemberTypeDetails
initialCommands(): readonly DeviceCommand[]Sent once every characteristic is subscribed. Empty starts a device that only listens.
isHistoryTransfer(): booleanTrue when accepted results are records downloaded from device history.
commandTimeoutMs(): number | undefinedThe response timeout for the currently outstanding command, when a protocol needs one.
onCommandTimeout(): CommandTimeoutResultRe-sends the current command or ends the exchange after a response timeout.
isNormalDisconnect(): booleanTrue when a timeout-style disconnect is the device's normal completion signal.
nextCommand(frame: readonly string[]): readonly DeviceCommand[] | undefinedAnswers one complete frame. Returning undefined sends nothing, which is how a sequencer waits: an unidentified device is left alone rather than addressed with an opcode that may mean something else on the hardware actually present.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.