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

◆ dfu_target_smp_schedule_update()

int dfu_target_smp_schedule_update ( int  img_num)

#include <include/dfu/dfu_target_smp.h>

Schedule update of image.

This call requests image update. The update will be performed after the device resets.

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.