pub unsafe extern "C" fn nrf_modem_gnss_dyn_mode_change(
    mode: u32
) -> i32
Expand description

Changes GNSS dynamics mode.

@details Dynamics mode can be used to tune GNSS performance for a specific use case. Use of a matching dynamics mode improves the positioning performance. Dynamics mode can be changed without disruption in positioning. The selected dynamics mode is stored into non-volatile memory.

Default value: #NRF_MODEM_GNSS_DYNAMICS_GENERAL_PURPOSE

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

  • mode - Selected dynamics mode, see @ref nrf_modem_gnss_dynamics_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 stopped. Returns -NRF_ENOMEM There is not enough shared memory for this request. Returns -NRF_ESHUTDOWN The modem was shut down.