PendingFirmwareRecovery

@Serializable
data class PendingFirmwareRecovery(val fullAddress: String, val hwModel: Int, val pioEnv: String, val releaseType: String, val deviceName: String)(source)

A firmware update that was started but may not have finished, leaving the device stranded in nRF DFU/bootloader mode.

Captured at DFU-trigger time (while still connected, when the hardware model and firmware channel are known) so the device can later be re-flashed while disconnected — the bootloader advertises indefinitely at MAC+1 but exposes no mesh service, so there is otherwise no address → hardware link to reconstruct which firmware it needs.

Constructors

Link copied to clipboard
constructor(fullAddress: String, hwModel: Int, pioEnv: String, releaseType: String, deviceName: String)

Properties

Link copied to clipboard

The last-known device name, shown in the recovery prompt.

Link copied to clipboard

The device address with its transport prefix (radioPrefs.devAddr), used to reconnect after recovery and to clear the record when the device returns on its own.

Link copied to clipboard

The numeric hardware model, for re-resolving the org.meshtastic.core.model.DeviceHardware.

Link copied to clipboard

The PlatformIO environment string, the second key for hardware resolution.

Link copied to clipboard

The firmware channel name (STABLE/ALPHA) the interrupted update was flashing.