Skip to main content

VerovalActivitySequencer

Drives the private history protocol used by the Veroval Activity wristband.

Kind: Class
Package: @ovok/native

Import​

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

TypeScript signatures​

(params: VerovalActivitySequencerParams): VerovalActivitySequencer
ParameterTypeDetails
paramsVerovalActivitySequencerParams—

Returns: VerovalActivitySequencer.

Public members​

MemberTypeDetails
initialCommands(): readonly DeviceCommand[]Sent once every characteristic is subscribed. Empty starts a device that only listens.
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.