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

◆ nrf_cloud_bootloader_fota_slot_set()

int nrf_cloud_bootloader_fota_slot_set ( struct nrf_cloud_settings_fota_job *const job)

#include <include/net/nrf_cloud.h>

Set the active bootloader (B1) slot flag which is needed to validate a bootloader FOTA update. For proper functionality,.

CONFIG_FOTA_DOWNLOAD 

must be enabled.

Parameters
[in,out]jobFOTA job state information.
Return values
0Flag set successfully or not a bootloader FOTA update.
Returns
A negative value indicates an error.