onUpgradeFailed

open fun onUpgradeFailed(state: State, error: McuMgrException)

Called when the firmware upgrade has failed.

Parameters

state

the state the upgrade failed in.

error

the error.