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

◆ ntn_location_set()

int ntn_location_set ( double latitude,
double longitude,
float altitude,
uint32_t validity )

#include <include/modem/ntn.h>

Set location to the modem.

This function is used to set the location to the modem for NTN usage.

Parameters
[in]latitudeLatitude in degrees.
[in]longitudeLongitude in degrees.
[in]altitudeAltitude in meters.
[in]validityLocation validity in seconds. 0 means infinite validity.
Return values
0Location was set successfully.
-EFAULTAT command could not be sent to the modem.