Skip to main content
Use this API to initialize the Bluetooth adapter. This must be called before using any other Bluetooth APIs.

Parameters

Success Callback

Code Example

Basic Usage

Check Bluetooth Before Operations

Error Codes

Always call my.closeBluetoothAdapter when you’re done using Bluetooth to release system resources.

my.closeBluetoothAdapter

Close Bluetooth adapter

my.startBluetoothDevicesDiscovery

Start device discovery