BootloaderCommands

Functions

Link copied to clipboard
abstract suspend fun exitBootloader(updateProgress: suspend (progress: Progress) -> Unit = {})

Exit bootloader.

Link copied to clipboard
abstract suspend fun getDiagnosticData(type: BootloaderDiagnosticData.DiagnosticType, updateProgress: suspend (progress: Progress) -> Unit = {}): BootloaderDiagnosticData
Link copied to clipboard
abstract suspend fun getSoftwareVersions(updateProgress: suspend (progress: Progress) -> Unit = {}): BootloaderSoftwareVersions
Link copied to clipboard
abstract suspend fun updateFirmware(firmwareFile: ByteArray, infoFile: ByteArray, updateProgress: suspend (progress: Progress) -> Unit = {})

Updates firmware of the device.