CONFIG_NRF_CLOUD_PGPS_REPLACEMENT_THRESHOLD

Number of predictions remaining before fetching more.

Type: int

Help

When set to 0, no attempt will be made to update the prediction
set from the cloud until all predictions have expired. When set
to an even number less than or equal to
NRF_CLOUD_PGPS_NUM_PREDICTIONS - 2, any expired predictions will be
replaced with predictions following the last remaining valid
prediction. Odd numbers are not allowed.

Direct dependencies

NRF_CLOUD_PGPS

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <nRF>/subsys/net/lib/nrf_cloud/Kconfig.nrf_cloud_pgps:48

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:20<nRF>/subsys/net/Kconfig:8<nRF>/subsys/net/lib/Kconfig:29<nRF>/subsys/net/lib/nrf_cloud/Kconfig:24

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Networking → Application protocols → Enable nRF Cloud Predicted GPS (P-GPS)

config NRF_CLOUD_PGPS_REPLACEMENT_THRESHOLD
    int "Number of predictions remaining before fetching more."
    range 0 82
    default 0
    depends on NRF_CLOUD_PGPS
    help
      When set to 0, no attempt will be made to update the prediction
      set from the cloud until all predictions have expired. When set
      to an even number less than or equal to
      NRF_CLOUD_PGPS_NUM_PREDICTIONS - 2, any expired predictions will be
      replaced with predictions following the last remaining valid
      prediction. Odd numbers are not allowed.

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