Skip to main content

CustomServiceSpec

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Interface
Package: @ovok/native

Import​

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

TypeScript shape​

interface CustomServiceSpec {
uuid: string;
monitor: CustomMonitorSpec[];
write?: {
uuid: string;
commandHex: string;
};
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
uuidstring—
monitorCustomMonitorSpec[]—
write{ uuid: string; commandHex: string; }Optional. A single static command written after connect and after every processed frame. A device that needs a handshake, a challenge response or a command sequence cannot be declared and still needs a device class.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.