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

◆ download_client_init()

int download_client_init ( struct download_client * client,
download_client_callback_t callback )

#include <include/net/download_client.h>

Initialize the download client.

This function can only be called once in each client instance as it starts the background thread.

Parameters
[in]clientClient instance.
[in]callbackCallback function.
Return values
intZero on success, otherwise a negative error code.