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

◆ dfu_target_mcuboot_schedule_update()

int dfu_target_mcuboot_schedule_update ( int img_num)

#include <include/dfu/dfu_target_mcuboot.h>

Schedule update of one or more images.

This call requests images update. The update will be performed after the device reset.

Parameters
[in]img_numGiven image pair index or -1 for all of image pair indexes.
Returns
0 for a successful request or a negative error code identicating reason of failure.