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

◆ dfu_target_suit_schedule_update()

int dfu_target_suit_schedule_update ( int img_num)

#include <include/dfu/dfu_target_suit.h>

Schedule an update.

This call processes SUIT envelope and requests images update.

Firmware update will start after the device reboot. You can reboot device, for example, by calling dfu_target_suit_reboot().

Parameters
[in]img_numGiven image pair index or -1 for all of image pair indexes.
Return values
0Successful request.
negative_errno_codeNegative error code indicating the reason of failure.