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

◆ dfu_target_smp_init()

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.

Parameters
[in]file_sizeSize of the current file being downloaded.
[in]img_numImage pair index.
[in]cbCallback for signaling events (unused).
Return values
0on success, negative errno otherwise.