Configurations

Serial Modem Host Applications

tags
Serial Modem Host Applications

Check and configure the following Kconfig options:

  • CONFIG_APP_NETWORK: Enables the Network module. Enabled by default.

  • 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 publishes NETWORK_CONNECT to itself on startup. If disabled, connecting must be triggered by a NETWORK_CONNECT message from the application or the shell.

  • CONFIG_APP_NETWORK_LOG_LEVEL_*: Controls the logging level for the network module. This follows Zephyr's standard logging configuration pattern.