You can configure the Cloud module with the following Kconfig options from Kconfig.cloud:
- CONFIG_APP_CLOUD_SHELL: Enables shell support for cloud operations.
- CONFIG_APP_CLOUD_PAYLOAD_BUFFER_MAX_SIZE: Defines the maximum size for JSON payloads sent to the cloud.
- CONFIG_APP_CLOUD_SHADOW_RESPONSE_BUFFER_MAX_SIZE: Sets the maximum buffer size for receiving shadow data.
- CONFIG_APP_CLOUD_CONFIRMABLE_MESSAGES: Uses confirmable CoAP messages for reliability.
- CONFIG_APP_CLOUD_BACKOFF_INITIAL_SECONDS: Starting delay in seconds before reconnect attempts.
- CONFIG_APP_CLOUD_BACKOFF_TYPE: Specifies the backoff strategy, which is none, linear, or exponential.
- CONFIG_APP_CLOUD_BACKOFF_TYPE_EXPONENTIAL: Uses exponential backoff time. The module doubles the backoff time after each failed attempt until it reaches the maximum backoff time.
- CONFIG_APP_CLOUD_BACKOFF_TYPE_LINEAR: Uses linear backoff time. The module increments the backoff time by a fixed amount after each failed attempt until it reaches the maximum backoff time.
- CONFIG_APP_CLOUD_BACKOFF_LINEAR_INCREMENT_SECONDS: Defines how much time linear backoff adds after each failed attempt.
- CONFIG_APP_CLOUD_BACKOFF_MAX_SECONDS: Maximum reconnect backoff limit.
- CONFIG_APP_CLOUD_HANDLE_WRONG_SAMPLE_TIMESTAMPS_DROP: Drops samples with invalid timestamps when sending data to the cloud.
- CONFIG_APP_CLOUD_HANDLE_WRONG_SAMPLE_TIMESTAMPS_KEEP: Sends samples with invalid timestamps to the cloud without modification.
- CONFIG_APP_CLOUD_HANDLE_WRONG_SAMPLE_TIMESTAMPS_NOW: Replaces invalid timestamps with the current time before sending to the cloud.
- CONFIG_APP_CLOUD_HANDLE_WRONG_SAMPLE_TIMESTAMPS_NO_TIMESTAMP: Sends samples with invalid timestamps to the cloud with
NRF_CLOUD_NO_TIMESTAMP, which makes nRF Cloud assign the timestamp on reception. - CONFIG_APP_CLOUD_THREAD_STACK_SIZE: Stack size for the Cloud module's main thread.
- CONFIG_APP_CLOUD_MESSAGE_QUEUE_SIZE: Size of the zbus message queue.
- CONFIG_APP_CLOUD_WATCHDOG_TIMEOUT_SECONDS: Watchdog timeout for the module's thread. This value must be larger than the message processing timeout.
- CONFIG_APP_CLOUD_MSG_PROCESSING_TIMEOUT_SECONDS: Maximum time allowed for processing a single incoming message.
For more information about these and other configuration options, see the Kconfig.cloud file.