pub unsafe extern "C" fn nrf_modem_gnss_qzss_nmea_mode_set(
    nmea_mode: u8
) -> i32
Expand description

Sets the used QZSS NMEA mode.

@details 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

@note This feature is only supported by modem firmware v1.3.0 or later.

  • nmea_mode - See @ref nrf_modem_gnss_qzss_nmea_mode.

Returns 0 on success. Returns -NRF_EPERM The Modem library is not initialized. Returns -NRF_EACCES GNSS is not enabled in system or functional mode. Returns -NRF_EINVAL The GNSS stack returned an error or the operation cannot be executed while GNSS is running. Returns -NRF_ENOMEM There is not enough shared memory for this request. Returns -NRF_ESHUTDOWN The modem was shut down.