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

◆ ftp_init()

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.

Parameters
ctrl_callbackCallback for FTP command result.
data_callbackCallback for FTP received data.
Return values
0If successfully initialized. Otherwise, a negative value is returned.