Skip to main content
Use this API to start discovering nearby Bluetooth devices. Use my.onBluetoothDeviceFound to receive discovered devices.

Parameters

Code Example

Basic Usage

Filter by Service UUID

Complete Discovery Flow

Bluetooth discovery is power-intensive. Stop discovery with my.stopBluetoothDevicesDiscovery when you’ve found the device you need.

my.stopBluetoothDevicesDiscovery

Stop discovery

my.onBluetoothDeviceFound

Listen for devices