This represents the default values for the configuration macros for the MQTT-Agent library. More...
#include "core_mqtt_agent_config.h"
Go to the source code of this file.
Macros | |
#define | MQTT_AGENT_DO_NOT_USE_CUSTOM_CONFIG |
Define this macro to build the MQTT library without the custom config file core_mqtt_agent_config.h. More... | |
#define | MQTT_AGENT_MAX_OUTSTANDING_ACKS ( 20U ) |
The maximum number of pending acknowledgments to track for a single connection. More... | |
#define | MQTT_AGENT_MAX_EVENT_QUEUE_WAIT_TIME ( 1000U ) |
Time in milliseconds that the MQTT agent task will wait in the Blocked state (so not using any CPU time) for a command to arrive in its command queue before exiting the blocked state so it can call MQTT_ProcessLoop(). More... | |
#define | MQTT_AGENT_USE_QOS_1_2_PUBLISH ( 1 ) |
Whether the agent should configure the coreMQTT library to be used with publishes greater than QoS0. Setting this to 0 will disallow the coreMQTT library to send publishes with QoS > 0. More... | |
This represents the default values for the configuration macros for the MQTT-Agent library.
#define MQTT_AGENT_DO_NOT_USE_CUSTOM_CONFIG |
Define this macro to build the MQTT library without the custom config file core_mqtt_agent_config.h.
Without the custom config, the MQTT library builds with default values of config macros defined in core_mqtt_agent_config_defaults.h file.
If a custom config is provided, then MQTT_AGENT_DO_NOT_USE_CUSTOM_CONFIG should be defined.
#define MQTT_AGENT_MAX_OUTSTANDING_ACKS ( 20U ) |
The maximum number of pending acknowledgments to track for a single connection.
Possible values: Any positive integer up to SIZE_MAX.
Default value: 20
#define MQTT_AGENT_MAX_EVENT_QUEUE_WAIT_TIME ( 1000U ) |
Time in milliseconds that the MQTT agent task will wait in the Blocked state (so not using any CPU time) for a command to arrive in its command queue before exiting the blocked state so it can call MQTT_ProcessLoop().
Possible values: Any positive 32 bit integer.
Default value: 1000
#define MQTT_AGENT_USE_QOS_1_2_PUBLISH ( 1 ) |
Whether the agent should configure the coreMQTT library to be used with publishes greater than QoS0. Setting this to 0 will disallow the coreMQTT library to send publishes with QoS > 0.
Possible values: 0 or 1
Default value: 1