exitInstallMode

suspend fun exitInstallMode(device: BluetoothDevice, exitOOB: ByteArray): Boolean

Exits install mode by sending a reboot command. If device has DFU service available, uses SMP group 1 (reboot). Otherwise, this method falls back to sending SMP reboot for firmware < 2.3.0

Return

true if command was sent successfully

Parameters

device

The device to exit install mode