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

◆ timeout

int32_t location_cellular_config::timeout

Timeout (in milliseconds) of how long the cellular positioning procedure can take. SYS_FOREVER_MS means that the timer is disabled.

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

CONFIG_LOCATION_REQUEST_DEFAULT_CELLULAR_TIMEOUT 

configuration.

Timeout only applies to neighbor cell search, not the cloud communication. Timeout for the entire location request specified in location_config structure is still valid. When

CONFIG_LOCATION_SERVICE_EXTERNAL 

is enabled, this timeout stops when event LOCATION_EVT_CLOUD_LOCATION_EXT_REQUEST is sent. However, timeout specified in location_config structure is still valid.