pub unsafe extern "C" fn nrf_modem_gnss_elevation_threshold_set(
angle: u8
) -> i32
Expand description
Set below which elevation angle GNSS should stop tracking a satellite.
@details Satellites with elevation angle less than the threshold are excluded from the estimation.
Default value: 5 deg
angle
- Value between 0 and 90 (degrees above the horizon).
Returns 0 on success. Returns -NRF_EPERM The Modem library is not initialized. Returns -NRF_EACCES GNSS is not enabled in system or functional mode. Returns -NRF_EINVAL The GNSS stack returned an error or the operation cannot be executed while GNSS is running. Returns -NRF_ENOMEM There is not enough shared memory for this request. Returns -NRF_ESHUTDOWN The modem was shut down.