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

◆ nrf_cloud_rest_pgps_data_get()

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.

Parameters
[in,out]rest_ctxContext 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]requestData to be provided in API call.
Return values
0If successful. Otherwise, a (negative) error code is returned. See "nRF Cloud: Request Failure" for details.