Check and configure the following Kconfig options:
-
CONFIG_APP_LOCATION: Enables the Location module. Enabled by default when the Location library is enabled, which the location overlay does.
-
CONFIG_APP_LOCATION_THREAD_STACK_SIZE: Sets the stack size for the location module thread.
-
CONFIG_APP_LOCATION_WATCHDOG_TIMEOUT_SECONDS: Defines the timeout in seconds for the location module watchdog. This timeout covers both waiting for incoming messages and message processing time.
-
CONFIG_APP_LOCATION_MSG_PROCESSING_TIMEOUT_SECONDS: Sets the maximum time allowed for processing a single message in the module's state machine. This value must be smaller than the watchdog timeout.
-
CONFIG_APP_LOCATION_WIFI_APS_MAX: Sets the maximum number of Wi-Fi access points stored in a location request, and thereby the size of
struct location_msg. It must be at leastCONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT. -
CONFIG_APP_LOCATION_LOG_LEVEL_*: Controls the logging level for the location module. This follows Zephyr's standard logging configuration pattern.