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

◆ cell_count

uint8_t location_cellular_config::cell_count

Number of cells to be requested for cellular positioning.

Default value is 4. 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_CELL_COUNT` 

configuration.

Maximum value is 15.

The number of cells mean GCI cells including current cell. Normal neighbor cells are received and used but they do not count towards the cell count. If the number of cells is bigger than one, GCI (surrounding) cells are requested. Hence, zero and one mean that only normal neighbor cell search is performed but no GCI search.

Note that even if there are a lot of cells available, the number of cells used for positioning may be lower than the requested number of cells due to the behavior of the search algorithm. Also, the number of cells used for positioning may be higher than the requested number of cells if there are more cells in the history information (including current cell).