Skip to main content

viatomBpMonitor

Declares one monitor of the BP2 series.

advertisedName is the name the vendor's SDK matches - BP2A, BP2T - and the matcher derived from it excludes every longer name in the family, so a declaration for BP2 cannot pick up a BP2W.

Kind: Function
Package: @ovok/native

Import​

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

TypeScript signatures​

(advertisedName: string, params: ViatomBpParams): CustomDeviceDefinition
ParameterTypeDetails
advertisedNamestring—
paramsViatomBpParams—

Returns: CustomDeviceDefinition.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.