nRF Connect SDK API 0.1.0
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

embed:rst:inline :kconfig:option:`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

embed:rst:inline :kconfig:option:`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.