CommsChampion Ecosystem MQTT v5 Client
MQTT v5 Client Library.
Loading...
Searching...
No Matches
Public Attributes | List of all members
CC_Mqtt5ConnectWillConfig Struct Reference

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.
 

Detailed Description

Configuration structure to be passed to the cc_mqtt5_client_connect_config_will().

See also
cc_mqtt5_client_connect_init_config_will()

The documentation for this struct was generated from the following file: