nRF Connect SDK API 2.8.99
|
int dfu_target_suit_init | ( | size_t | file_size, |
int | img_num, | ||
dfu_target_callback_t | cb ) |
#include <include/dfu/dfu_target_suit.h>
Initialize the DFU target for the specific image and perform the necessary steps to receive the firmware.
If you call this function, you must call dfu_target_suit_done() to finalize the firmware upgrade before initializing any other images.
[in] | file_size | Size of the current file being downloaded. |
[in] | img_num | Image index. |
[in] | cb | Callback for signaling events(unused). |