nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_gnss_dyn_mode_change()

int32_t nrf_modem_gnss_dyn_mode_change ( uint32_t  mode)

#include <nrf_modem/include/nrf_modem_gnss.h>

Changes GNSS dynamics mode.

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

Parameters
[in]modeSelected dynamics mode, see Dynamics mode enumerator.
Return values
0on success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EACCESGNSS is not enabled in system or functional mode.
-NRF_EINVALThe GNSS stack returned an error or the operation cannot be executed while GNSS is stopped.
-NRF_ENOMEMThere is not enough shared memory for this request.
-NRF_ESHUTDOWNThe modem was shut down.