![]() |
nRF Connect SDK API 3.3.99
|
| int dfu_target_custom_init | ( | size_t | file_size, |
| int | img_num, | ||
| dfu_target_callback_t | cb ) |
#include <include/dfu/dfu_target_custom.h>
Initialize the custom DFU target.
| [in] | file_size | Size of the firmware file to be written. |
| [in] | img_num | Image number for multi-image DFU. |
| [in] | cb | Callback function to be called during the DFU process. |
| 0 | on success, negative errno code on failure. |