recoverDfuDevice

abstract suspend fun recoverDfuDevice(release: FirmwareRelease, hardware: DeviceHardware, address: String, updateState: (FirmwareUpdateState) -> Unit): FirmwareArtifact?(source)

Recover a device stranded in nRF DFU/bootloader mode after an interrupted update, while the app is disconnected.

Unlike startUpdate, routing does not depend on the (absent) live connection — this always drives the BLE DFU handler, which derives the MAC+1 bootloader address from address and tolerates a device that is already in DFU mode.

Parameters

address

The device's normal mesh BLE address (transport prefix stripped).