nRF Connect SDK API 2.7.99
|
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).
0 | SMP update installed successfully. |
-ENOTSUP | Error; embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA_SMP`is not enabled. |
-EIO | Error; failed to schedule image installation. |
-EPROTO | Error; failed to reset SMP device. |