nRF Connect SDK API 2.8.99
|
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.
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. |