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

◆ nrf_cloud_pgps_finish_update()

int nrf_cloud_pgps_finish_update ( void  )

#include <include/net/nrf_cloud_pgps.h>

Call this function regardless of whether the download succeeded or failed.

The library calls this automatically for HTTP(S) transports.

For custom transports, the application must call this for transport error, error from a call to nrf_cloud_pgps_process_update(), as well as successful completion. Further, when an error occurs, the application must terminate the transfer.

Return values
0No failure.
Returns
a negative value indicates an error.