![]() |
nRF Connect SDK API 3.3.99
|
| int dfu_target_smp_init | ( | size_t | file_size, |
| int | img_num, | ||
| dfu_target_callback_t | cb ) |
#include <include/dfu/dfu_target_smp.h>
Initialize DFU target, perform steps necessary to receive firmware.
| [in] | file_size | Size of the current file being downloaded. |
| [in] | img_num | Image pair index. |
| [in] | cb | Callback for signaling events (unused). |
| 0 | on success, negative errno otherwise. |