Skip to main content

createFakeBleDevice

Creates a GATT-capable fake device for connection and notification tests.

Kind: Function
Package: @ovok/native

Import​

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

TypeScript signatures​

({ id, name, localName, manufacturerData, serviceUUIDs, mtu, characteristics, }: FakeBleDeviceOptions): FakeBleDevice
ParameterTypeDetails
__0FakeBleDeviceOptions—

Returns: FakeBleDevice.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.