confirm

suspend fun confirm(hash: ByteArray? = null): McuMgrImageStateResponse

Confirms the image with the given hash, or the running image, so that it is run after every reset.

Parameters

hash

The hash of the image, or null to confirm the one that is running.