nRF Connect SDK API 2.8.0
|
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.
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
CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE
.
0 | Modem update installed successfully. |
-EACCES | Flash device not set; see nrf_cloud_fota_fmfu_dev_set or nrf_cloud_init. |