nrfxlib API 2.8.99
|
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
[in] | nmea_mode | See QZSS NMEA mode enumerator. |
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. |