nRF Connect SDK API 0.1.0
|
int nrf_cloud_fota_fmfu_dev_set | ( | const struct dfu_target_fmfu_fdev *const | fmfu_dev_inf | ) |
#include <include/net/nrf_cloud.h>
Set the flash device used for full modem FOTA updates. This function is intended to be used by custom REST-based FOTA implementations. It is called internally when nrf_cloud_init is executed if.
embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA`
is enabled. It can be called before nrf_cloud_init if required by the application.
[in] | fmfu_dev_inf | Flash device information. |
0 | Flash device was successfully set. |
1 | Flash device has already been set. |