nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_gnss_elevation_threshold_set()

int32_t nrf_modem_gnss_elevation_threshold_set ( uint8_t  angle)

#include <nrf_modem/include/nrf_modem_gnss.h>

Set below which elevation angle GNSS should stop tracking a satellite.

Satellites with elevation angle less than the threshold are excluded from the estimation.

Default value: 5 deg

Parameters
[in]angleValue between 0 and 90 (degrees above the horizon).
Return values
0on success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EACCESGNSS is not enabled in system or functional mode.
-NRF_EINVALThe GNSS stack returned an error or the operation cannot be executed while GNSS is running.
-NRF_ENOMEMThere is not enough shared memory for this request.
-NRF_ESHUTDOWNThe modem was shut down.