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

◆ nrf_modem_gnss_signal_mask_set()

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

Note
GPS L1 C/A can't be disabled and remains enabled even if the corresponding bit is not set.
Parameters
[in]signal_maskSignal bitmask, see GNSS signal bitmask values.
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.