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

◆ nrf_cloud_fota_smp_install()

int nrf_cloud_fota_smp_install ( void )

#include <include/net/nrf_cloud.h>

Install a downloaded SMP FOTA job. Called automatically if.

CONFIG_NRF_CLOUD_FOTA 

is enabled (MQTT FOTA).

Return values
0SMP update installed successfully.
-ENOTSUPError;
CONFIG_NRF_CLOUD_FOTA_SMP 
is not enabled.
-EIOError; failed to schedule image installation.
-EPROTOError; failed to reset SMP device.
Returns
A negative value indicates an error.