nRF Connect SDK API 0.1.0
|
int fota_download_external_start | ( | const char * | host, |
const char * | file, | ||
const enum dfu_target_image_type | expected_type, | ||
const size_t | image_size | ||
) |
#include <include/net/fota_download.h>
Start a FOTA download using an external download client. Requires.
embed:rst:inline :kconfig:option:`CONFIG_FOTA_DOWNLOAD_EXTERNAL_DL`
to be enabled.
host | Name of host. |
file | File path of the firmware image. |
expected_type | Type of firmware image to be installed. |
image_size | Size of the firmware image. |
0 | If successful. Otherwise, a (negative) error code is returned. |