close

abstract fun close()

Closes the connection to the peripheral.

Throws

If BLUETOOTH_CONNECT permission is denied.