![]() |
nrfxlib API 3.3.99
|
| int32_t nrf_modem_gnss_signal_mask_set | ( | uint8_t | signal_mask | ) |
#include <nrf_modem/include/nrf_modem_gnss.h>
Sets the supported GNSS signals. Signals which have the corresponding bit set are enabled.
Default value: All signals supported by the modem firmware are enabled
| [in] | signal_mask | Signal bitmask, see GNSS signal bitmask values. |
| 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. |