Skip to main content
Use this API to remove a listener registered with my.onBLEConnectionStateChanged. If no callback is provided, all listeners are removed.

Parameters

Code Example

Remove All Listeners

Remove Specific Listener

IDE simulation is not supported for this API. Test on a real device.

my.onBLEConnectionStateChanged

Listen for connection state changes

my.disconnectBLEDevice

Disconnect from a BLE device