my.onBLEConnectionStateChanged. If no callback is provided, all listeners are removed.
Parameters
Code Example
Remove All Listeners
Remove Specific Listener
Related APIs
my.onBLEConnectionStateChanged
Listen for connection state changes
my.disconnectBLEDevice
Disconnect from a BLE device