![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_rest_pgps_data_get | ( | struct nrf_cloud_rest_context *const | rest_ctx, |
| struct nrf_cloud_rest_pgps_request const *const | request ) |
#include <include/net/nrf_cloud_rest.h>
nRF Cloud Predicted GPS (P-GPS) data request.
| [in,out] | rest_ctx | Context for communicating with nRF Cloud's REST API. If successful, rest_ctx->result will point to the P-GPS data; which, along with rest_ctx->response_len, can be passed into nrf_cloud_pgps_process. |
| [in] | request | Data to be provided in API call. |
| 0 | If successful. Otherwise, a (negative) error code is returned. See "nRF Cloud: Request Failure" for details. |