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

◆ nrf_cloud_pgps_inject()

int nrf_cloud_pgps_inject ( struct nrf_cloud_pgps_prediction p,
const struct nrf_modem_gnss_agnss_data_frame *  request 
)

#include <include/net/nrf_cloud_pgps.h>

Injects binary P-GPS data to the modem. If request is NULL, it is assumed that only ephemerides assistance should be injected.

Parameters
pPointer to a prediction.
requestWhich assistance elements the modem needs. May be NULL.
Returns
0 if successful, otherwise a (negative) error code.