nRF Connect SDK API 0.1.0
|
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.
[in,out] | config | Configuration to be supplied with default values. |
[in] | methods_count | Number of location methods. This must not exceed embed:rst:inline :kconfig:option:`CONFIG_LOCATION_METHODS_LIST_SIZE`. |
[in] | method_types | List 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'. |