nRF Connect SDK API 2.8.0
|
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).
0 | SMP update installed successfully. |
-ENOTSUP | Error; CONFIG_NRF_CLOUD_FOTA_SMPis not enabled. |
-EIO | Error; failed to schedule image installation. |
-EPROTO | Error; failed to reset SMP device. |