nRF Connect SDK API 0.1.0
|
int nrf_cloud_coap_pgps_url_get | ( | struct nrf_cloud_rest_pgps_request const *const | request, |
struct nrf_cloud_pgps_result * | file_location | ||
) |
#include <include/net/nrf_cloud_coap.h>
Request URL for nRF Cloud Predicted GPS (P-GPS) data.
After a successful call to this function, pass the file_location to nrf_cloud_pgps_update(), which then downloads and processes the file's binary P-GPS data.
[in] | request | Data to be provided in API call. |
[in,out] | file_location | Structure that will contain the host and path to the prediction file. |
-EACCES | Device does not have a valid nRF Cloud CoAP connection. |