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

◆ dl_transport_evt_data()

int dl_transport_evt_data ( struct downloader * dl,
void * data,
size_t len )

#include <include/net/downloader_transport.h>

Transport data event callback.

This function is called by the transport to notify the downloader of downloaded data.

Parameters
dlDownloader instance.
dataDownloaded data.
lenLength of downloaded data.
Return values
Zeroif the fragment was accepted and the download can continue.
Returns
Negative errno if the fragment was refused by the application and the download should be aborted.