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, any expired predictions will be
replaced with predictions following the last remaining valid
prediction. Odd numbers are not allowed.

Direct dependencies

NRF_CLOUD_PGPS && NRF_CLOUD

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:54<nRF>/subsys/Kconfig:18<nRF>/subsys/net/Kconfig:8<nRF>/subsys/net/lib/Kconfig:8<nRF>/subsys/net/lib/nrf_cloud/Kconfig:26

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

config NRF_CLOUD_PGPS_REPLACEMENT_THRESHOLD
    int "Number of predictions remaining before fetching more."
    range 0 84
    default 0
    depends on NRF_CLOUD_PGPS && NRF_CLOUD
    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, 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.)