nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ dfu_multi_image_done()

int dfu_multi_image_done ( bool  success)

#include <include/dfu/dfu_multi_image.h>

Complete DFU Multi Image package write.

Close an open image writer if such exists. Additionally, if success argument is true, the function validates that all images listed in the package header have been fully written.

Parameters
[in]successIndicates that a user expects all the package contents to have been written successfully.
Returns
-ESPIPE If success and not all package contents have been written yet.
negative On other failure.
0 On success.