|
CommsChampion Ecosystem MQTT v5 Client
MQTT v5 Client Library.
|
Configuration structure to be passed to the cc_mqtt5_client_connect_config_will(). More...
#include "common.h"
Public Attributes | |
| const char * | m_contentType |
| "Content Type" will property, not added when NULL. Defaults to NULL. | |
| const unsigned char * | m_correlationData |
| "Correlation Data" will property, can be NULL. Defaults to NULL. | |
| unsigned | m_correlationDataLen |
| Number of bytes in the "Correlation Data" buffer. Not added when 0. Defaults to 0. | |
| const unsigned char * | m_data |
| Will message data, can be NULL. Defaults to NULL. | |
| unsigned | m_dataLen |
| Number of will data bytes. When 0 means no data. Defaults to 0. | |
| unsigned | m_delayInterval |
| "Will Delay Interval" will property, not added when 0. Defaults to 0. | |
| CC_Mqtt5PayloadFormat | m_format |
| "Payload Format Indicator" will property, defaults to CC_Mqtt5PayloadFormat_Unspecified, not added when CC_Mqtt5PayloadFormat_Unspecified. | |
| unsigned | m_messageExpiryInterval |
| "Message Expiry Interval" will property, not added when 0. Defaults to 0. | |
| CC_Mqtt5QoS | m_qos |
| QoS value of the will message, defaults to CC_Mqtt5QoS_AtMostOnceDelivery. | |
| const char * | m_responseTopic |
| "Response Topic" will property, not added when NULL. Defaults to NULL. | |
| bool | m_retain |
| "Retain" flag, defaults to false. | |
| const char * | m_topic |
| Will topic string, must NOT be NULL or empty. Defaults to NULL. | |
Configuration structure to be passed to the cc_mqtt5_client_connect_config_will().