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

◆ nrf_cloud_pgps_set_location()

void nrf_cloud_pgps_set_location ( double  latitude,
double  longitude 
)

#include <include/net/nrf_cloud_pgps.h>

Update the storage of the most recent known location in degrees. This will be injected along with the current time and relevant predicted ephemerides to the GPS unit in order to get the fastest possible fix, when the P-GPS subsystem is built with A-GNSS disabled, or when A-GNSS data is unavailable due to lack of a cloud connection. Current time is also stored.

Parameters
latitudeCurrent latitude in degrees.
longitudeCurrent longitude in degrees.