Skip to main content

GenialT31CommandSequencer.nextCommand

Answers 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.

Kind: Class method
Package: @ovok/native

Import​

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

TypeScript signatures​

nextCommand(frame: readonly string[]): readonly DeviceCommand[] | undefined
ParameterTypeDetails
framereadonly string[]—

Returns: readonly DeviceCommand[] | undefined.

Class​

This method is available on GenialT31CommandSequencer.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.