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

◆ location_config_defaults_set()

void location_config_defaults_set ( struct location_config * config,
uint8_t methods_count,
enum location_method * method_types )

#include <include/modem/location.h>

Sets the default values to a given configuration.

Parameters
[in,out]configConfiguration to be supplied with default values.
[in]methods_countNumber of location methods. This must not exceed
CONFIG_LOCATION_METHODS_LIST_SIZE 
.
[in]method_typesList of location method types in priority order. Location methods with these types are initialized with default values into given configuration. List size must be as given in 'methods_count'.