nRF Connect SDK API 2.8.0
|
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.
[in] | client | Client instance. |
[in] | callback | Callback function. |
int | Zero on success, otherwise a negative error code. |