Skip to main content
Use this API to disconnect from a connected Bluetooth Low Energy (BLE) device.

Parameters

Code Example

Basic Usage

Disconnect with UI Update

Cleanup on Page Exit

Always disconnect from BLE devices when leaving a page to free up the connection slot for other apps.

my.connectBLEDevice

Connect to device

my.getConnectedBluetoothDevices

Get connected devices