nrfxlib API 0.1.0
|
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
[in] | angle | Value between 0 and 90 (degrees above the horizon). |
0 | on success. |
-NRF_EPERM | The Modem library is not initialized. |
-NRF_EACCES | GNSS is not enabled in system or functional mode. |
-NRF_EINVAL | The GNSS stack returned an error or the operation cannot be executed while GNSS is running. |
-NRF_ENOMEM | There is not enough shared memory for this request. |
-NRF_ESHUTDOWN | The modem was shut down. |