nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_gnss_qzss_nmea_mode_set()

int32_t nrf_modem_gnss_qzss_nmea_mode_set ( uint8_t nmea_mode)

#include <nrf_modem/include/nrf_modem_gnss.h>

Sets the used QZSS NMEA mode.

NMEA 4.10 standard does not support QZSS satellites, so in standard NMEA mode QZSS satellites are not reported in GPGSA and GPGSV sentences. In custom NMEA mode satellite IDs 193...202 are used for QZSS satellites.

Default value: NRF_MODEM_GNSS_QZSS_NMEA_MODE_STANDARD

Parameters
[in]nmea_modeSee QZSS NMEA mode enumerator.
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.