Ready

data class Ready(val release: FirmwareRelease?, val deviceHardware: DeviceHardware, val address: String, val showBootloaderWarning: Boolean, val updateMethod: FirmwareUpdateMethod, val currentFirmwareVersion: String? = null, val isRecovery: Boolean = false) : FirmwareUpdateState(source)

Device and release info resolved; the user may initiate an update.

Constructors

Link copied to clipboard
constructor(release: FirmwareRelease?, deviceHardware: DeviceHardware, address: String, showBootloaderWarning: Boolean, updateMethod: FirmwareUpdateMethod, currentFirmwareVersion: String? = null, isRecovery: Boolean = false)

Properties

Link copied to clipboard

Bare device address with the InterfaceId transport prefix stripped (e.g. MAC or IP).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True when reached while disconnected to re-flash a device stranded in bootloader mode after an interrupted update (see FirmwareUpdateViewModel.checkForUpdates). Drives recovery-specific copy and routing.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard