nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ priority_mode

bool location_gnss_config::priority_mode

Enable GNSS priority mode if GNSS does not get enough runtime due to LTE idle mode operations.

If set to true, the library triggers GNSS priority mode if five consecutive PVT messages indicate that GNSS is blocked by LTE idle mode operations. This is especially helpful if A-GNSS or P-GPS is not enabled or downloading assistance data fails and GNSS module has to decode navigation data from the satellite broadcast. Priority mode is disabled automatically after the first fix or after 40 seconds.

If the device attempts to send data during the priority mode, it will be buffered and sent after the priority time window ends. In case of mobile terminated data reception during the priority mode the network will typically buffer the data and sent them to the device once the priority time window ends. However, it is possible that the network drops the data, or some protocol timer expires causing data transfer to fail.

Default value is false. It is applied when location_config_defaults_set() function is called and can be changed at build time with

embed:rst:inline :kconfig:option:`CONFIG_LOCATION_REQUEST_DEFAULT_GNSS_PRIORITY_MODE` 

configuration.