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

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

is enabled (MQTT FOTA).

Return values
0SMP update installed successfully.
-ENOTSUPError;
embed:rst:inline :kconfig:option:`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.