UpdateStatusRecord

data class UpdateStatusRecord(val updateType: Int, val requester: Int, val timestamp: Long, val status: Int, val errorCounter: Int, val error: Int, val extraFlags: Int, val extensionData: Int) : BootloaderDiagnosticData

One of the last four firmware update attempts the device recorded.

Constructors

Link copied to clipboard
constructor(updateType: Int, requester: Int, timestamp: Long, status: Int, errorCounter: Int, error: Int, extraFlags: Int, extensionData: Int)

Properties

Link copied to clipboard
val error: Int

Code of the last error the attempt ran into.

Link copied to clipboard

How many errors the attempt ran into.

Link copied to clipboard

Additional data the bootloader recorded.

Link copied to clipboard

Additional flags the bootloader recorded.

Link copied to clipboard

What asked for the update.

Link copied to clipboard
val status: Int

Status the attempt ended in.

Link copied to clipboard

Unix timestamp of the attempt.

Link copied to clipboard

Which piece of diagnostic data this is.

Link copied to clipboard

What kind of update was attempted.