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

◆ dfu_target_schedule_update()

int dfu_target_schedule_update ( int img_num)

#include <include/dfu/dfu_target.h>

Schedule update of one or more images.

This call requests images update. Time of update depends on image type.

Parameters
[in]img_numFor DFU_TARGET_IMAGE_TYPE_MCUBOOT image type: given image pair index or -1 for all of image pair indexes. Disregard otherwise.
Returns
0 for a successful request or a negative error code indicating reason of failure.