nRF Connect SDK API 2.8.99
|
int nrf_cloud_fota_smp_client_init | ( | const void * | smp_reset_cb | ) |
#include <include/net/nrf_cloud.h>
Initialize the SMP client. Called automatically if.
CONFIG_NRF_CLOUD_FOTA
or
CONFIG_NRF_CLOUD_FOTA_POLL
is enabled.
smp_reset_cb | Callback of type dfu_target_reset_cb_t for resetting the SMP device to enter MCUboot recovery mode. |
0 | SMP client successfully initialized. |
-ENOTSUP | Error; CONFIG_NRF_CLOUD_FOTA_SMPis not enabled. |