disconnect

abstract suspend fun disconnect()

Terminates the existing connection. Throws BluetoothConnectionException if an attempt is made to disconnect from a device that was not previously connected.