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

◆ nrf_cloud_pgps_set_location_normalized()

void nrf_cloud_pgps_set_location_normalized ( int32_t  latitude,
int32_t  longitude 
)

#include <include/net/nrf_cloud_pgps.h>

Update storage of the most recent known location, in modem-specific normalized format (int32_t). Current time is also stored. Normalization: (latitude / 90.0) * (1 << 23) (longitude / 360.0) * (1 << 24)

Parameters
latitudeCurrent latitude normalized.
longitudeCurrent longitude in normalized.