nRF Connect SDK API 0.1.0
|
int suit_dfu_cleanup | ( | void | ) |
#include <include/dfu/suit_dfu.h>
Purge all the SUIT DFU partitions and perform cleanup.
Call this if the update needs to be interrupted after suit_dfu_candidate_envelope_stored is called. This will purge the dfu_partition as well as all DFU cache partitions. To start the update again, the SUIT envelope must be downloaded again and SUIT DFU be reinitialized with suit_dfu_candidate_envelope_stored.