nRF Connect SDK API 2.8.0
|
int download_client_disconnect | ( | struct download_client * | client | ) |
#include <include/net/download_client.h>
Initiate disconnection.
Request client to disconnect from the server. This does not block. When client have been disconnected, it send DOWNLOAD_CLIENT_EVT_CLOSED event.
Request client to disconnect from the server. This does not block. When client has been disconnected, it sends DOWNLOAD_CLIENT_EVT_CLOSED event.
[in] | client | Client instance. |