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

◆ methods

struct location_method_config location_config::methods[CONFIG_LOCATION_METHODS_LIST_SIZE]

Selected location methods and associated configurations in priority order.

Index 0 has the highest priority. Number of used methods is indicated in 'methods_count' and it can be smaller than the size of this table.

Wi-Fi and cellular scan results are combined into single cloud request, that is, these methods are handled together, if the following conditions are met:

  • Methods are one after the other in location request method list
  • mode is LOCATION_REQ_MODE_FALLBACK
  • Requested cloud service for Wi-Fi and cellular is the same