pub unsafe extern "C" fn nrf_modem_gnss_use_case_set(
    use_case: u8
) -> i32
Expand description

Sets targeted start and runtime performance.

@details Default value: #NRF_MODEM_GNSS_USE_CASE_MULTIPLE_HOT_START

  • use_case - Bit mask, see @ref nrf_modem_gnss_use_case_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.