nRF Connect SDK API 0.1.0
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,.

embed:rst:inline :kconfig:option:`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.