nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ fota_download_external_start()

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.

Parameters
hostName of host.
fileFile path of the firmware image.
expected_typeType of firmware image to be installed.
image_sizeSize of the firmware image.
Return values
0If successful. Otherwise, a (negative) error code is returned.