Skip to main content

LepuFileTransfer.initialCommands

Sent once every characteristic is subscribed. Empty starts a device that only listens.

Kind: Class method
Package: @ovok/native

Import​

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

TypeScript signatures​

initialCommands(delayBeforeWriteMs?: number): readonly DeviceCommand[]
ParameterTypeDetails
delayBeforeWriteMsnumber—

Returns: readonly DeviceCommand[].

Class​

This method is available on LepuFileTransfer.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.