nRF Connect SDK API 0.1.0
|
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 embed:rst:inline :ref:`nrf_cloud_rest_failure`for details. |