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

◆ nrf_cloud_fota_fmfu_apply()

int nrf_cloud_fota_fmfu_apply ( void  )

#include <include/net/nrf_cloud.h>

Install a full modem update from flash. If successful, reboot the device or reinit the modem to complete the update. This function is intended to be used by custom REST-based FOTA implementations. If.

embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA` 

is enabled, call nrf_cloud_fota_pending_job_validate to install a downloaded NRF_CLOUD_FOTA_MODEM_FULL update after the NRF_CLOUD_EVT_FOTA_DONE event is received. Depends on

embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE` 

.

Return values
0Modem update installed successfully.
-EACCESFlash device not set; see nrf_cloud_fota_fmfu_dev_set or nrf_cloud_init.
Returns
A negative value indicates an error. Modem update not installed.