![]() |
nRF Connect SDK API 3.4.99
|
| int nrf_cloud_pgps_request | ( | const struct gps_pgps_request * | request | ) |
#include <nrf_cloud_pgps.h>
Requests specified P-GPS data from nRF Cloud via MQTT. Not used for other transports.
| request | Pointer to structure specifying what P-GPS data is desired. The request may fail if there no cloud connection; if the specified GPS day and GPS time of day is in the past or more than 2 weeks in the future; if the GPS time of day is larger than 86339; or if the prediction_period_min field is not within the range 120 to 480. |
| 0 | Request sent successfully. |
| -EACCES | Cloud connection is not established; wait for NRF_CLOUD_EVT_READY. |