Function nrfxlib_sys::nrf_modem_gnss_nmea_mask_set
source · pub unsafe extern "C" fn nrf_modem_gnss_nmea_mask_set(
nmea_mask: u16
) -> i32
Expand description
Sets which NMEA strings are enabled.
@details Default value: 0
nmea_mask
- Bit mask, see @ref nrf_modem_gnss_nmea_string_bitmask.
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.