Function anj_coap_downloader_resume

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.