Function anj_coap_downloader_resume
Defined in File coap_downloader.h
Function Documentation
-
int anj_coap_downloader_resume(anj_coap_downloader_t *coap_downloader)
Resumes a download operation previously suspended using anj_coap_downloader_suspend in the same downloader instance.
- Parameters:
coap_downloader – CoAP downloader state.
- Returns:
0 on success, or ANJ_COAP_DOWNLOADER_ERR_INVALID_STATE if there is no suspended operation that can be resumed.