updateFirmware

abstract suspend fun updateFirmware(firmwareFile: ByteArray, infoFile: ByteArray, updateProgress: suspend (progress: Progress) -> Unit = {})

Updates firmware of the device.

Parameters

firmwareFile

file containing firmware as byte array

infoFile

file containing info as byte array

updateProgress

of the operation