nRF Connect SDK API 2.8.0
|
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.
latitude | Current latitude in degrees. |
longitude | Current longitude in degrees. |