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

◆ nrf_modem_gnss_nmea_mask_set()

int32_t nrf_modem_gnss_nmea_mask_set ( uint16_t  nmea_mask)

#include <nrf_modem/include/nrf_modem_gnss.h>

Sets which NMEA strings are enabled.

Default value: 0

Parameters
[in]nmea_maskBit mask, see NMEA string 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.