nrfxlib API 2.8.99
|
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
[in] | mode | Selected dynamics mode, see Dynamics mode enumerator. |
0 | on success. |
-NRF_EPERM | The Modem library is not initialized. |
-NRF_EACCES | GNSS is not enabled in system or functional mode. |
-NRF_EINVAL | The GNSS stack returned an error or the operation cannot be executed while GNSS is stopped. |
-NRF_ENOMEM | There is not enough shared memory for this request. |
-NRF_ESHUTDOWN | The modem was shut down. |