Configurations

Serial Modem Host Applications

tags
Serial Modem Host Applications
  • CONFIG_APP_MAIN_SYNC_INTERVAL_SECONDS: Sets the interval between cloud synchronizations while the cloud connection is up.

  • CONFIG_APP_MAIN_CLOUD_SYNC_WORKQ_STACK_SIZE: Sets the stack size for the cloud synchronization workqueue.

  • CONFIG_APP_MAIN_CLOUD_SYNC_WORKQ_PRIORITY: Sets the thread priority of the cloud synchronization workqueue.

  • CONFIG_APP_MAIN_WATCHDOG_TIMEOUT_SECONDS: Defines the timeout in seconds for the main watchdog. This timeout covers both waiting for incoming messages and message processing time.

  • CONFIG_APP_MAIN_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_MAIN_LOG_LEVEL_*: Controls the logging level for the main module. This follows Zephyr's standard logging configuration pattern.

The stack the state machine runs on is the main thread stack, set with CONFIG_MAIN_STACK_SIZE.