Configuration

Asset Tracker Template

tags
Asset Tracker Template

You can configure the Network module with the following Kconfig options:

  • CONFIG_APP_NETWORK_THREAD_STACK_SIZE: Sets the stack size for the Network module thread.
  • CONFIG_APP_NETWORK_WATCHDOG_TIMEOUT_SECONDS: Defines the timeout in seconds for the Network module watchdog. This timeout covers both waiting for incoming messages and message processing time.
  • CONFIG_APP_NETWORK_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_NETWORK_SEARCH_NETWORK_ON_STARTUP: When enabled, the module automatically searches for a network on startup. When disabled, a NETWORK_CONNECT message triggers the network search.
  • CONFIG_APP_NETWORK_LOG_LEVEL_*: Controls the logging level for the Network module. This follows Zephyr's standard logging configuration pattern.