nRF Connect SDK API 0.1.0
|
int ftp_init | ( | ftp_client_callback_t | ctrl_callback, |
ftp_client_callback_t | data_callback | ||
) |
#include <include/net/ftp_client.h>
Initialize the FTP client library.
ctrl_callback | Callback for FTP command result. |
data_callback | Callback for FTP received data. |
0 | If successfully initialized. Otherwise, a negative value is returned. |