CONFIG_NRF9160_GPS_PRIORITY_WINDOW_TIMEOUT_SEC

Enable GPS priority window if the GPS is blocked for this duration

Type: int

Help

This configuration sets the amount of time the GPS must be blocked by LTE before requesting GPS priority. For GPS priority to be requested after this timeout, the GPS must also be configured with the priority flag enabled when starting it. When GPS priority is enabled, the modem grants the GPS prioritized access to the radio at the cost of LTE activity. If the value of this option is kept low, GPS priority is requested at an earlier point of time after the GPS is actively blocked by LTE activity. This means that data traffic scheduled during a GPS search is more likely to be blocked by the GPS. Increasing the value of this option will favor data traffic since the GPS will be blocked for a longer duration before GPS priority is requested. Note that GPS priority might not be granted by the modem, even though it is requested by the driver.

Direct dependencies

NRF9160_GPS

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

At <nRF>/drivers/gps/nrf9160_gps/Kconfig:41

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:27<nRF>/drivers/Kconfig:13<nRF>/drivers/gps/Kconfig:11

Menu path: (Top) → Modules → Nordic nRF Connect → Device Drivers → GPS Drivers → nRF9160 GPS driver [experimental]

config NRF9160_GPS_PRIORITY_WINDOW_TIMEOUT_SEC
    int "Enable GPS priority window if the GPS is blocked for this duration"
    default 10
    depends on NRF9160_GPS
    help
      This configuration sets the amount of time the GPS must be blocked by
      LTE before requesting GPS priority. For GPS priority to be requested
      after this timeout, the GPS must also be configured with the priority
      flag enabled when starting it. When GPS priority is enabled, the
      modem grants the GPS prioritized access to the radio at the cost of
      LTE activity. If the value of this option is kept low, GPS priority is
      requested at an earlier point of time after the GPS is actively
      blocked by LTE activity. This means that data traffic scheduled during
      a GPS search is more likely to be blocked by the GPS. Increasing the
      value of this option will favor data traffic since the GPS will be
      blocked for a longer duration before GPS priority is requested.
      Note that GPS priority might not be granted by the modem, even though
      it is requested by the driver.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)