CommsChampion Ecosystem MQTT v5 Client
MQTT v5 Client Library.
Public Attributes | List of all members
CC_Mqtt5MessageInfo Struct Reference

Received message information. More...

#include "common.h"

Public Attributes

const char * m_contentType
 "Content Type" property if provided, NULL if not.
 
const unsigned char * m_correlationData
 Pointer to the "Correlation Data" property value when provided, NULL if not.
 
unsigned m_correlationDataLen
 Amount of "Correlation Data" bytes;.
 
const unsigned char * m_data
 Pointer to the temporary buffer containin message data.
 
unsigned m_dataLen
 Amount of data bytes.
 
CC_Mqtt5PayloadFormat m_format
 "Payload Format Indicator" property, defaults to CC_Mqtt5PayloadFormat_Unspecified when not reported.
 
unsigned m_messageExpiryInterval
 "Message Expiry Interval" property, defaults to 0 when not reported.
 
CC_Mqtt5QoS m_qos
 QoS value used by the broker to report the message.
 
const char * m_responseTopic
 "Response Topic" property when provided, NULL if not.
 
bool m_retained
 Indication of whether the received message was "retained".
 
const unsigned * m_subIds
 Pointer to array containing "Subscription Identifier" properties list when provided, NULL if not.
 
unsigned m_subIdsCount
 Amount of "Subscription Identifiers" in array.
 
const char * m_topic
 Topic used to publish the message.
 
const CC_Mqtt5UserPropm_userProps
 Pointer to the "User Property" properties array when provided, NULL if not.
 
unsigned m_userPropsCount
 Amount of "User Property" properties.
 

Detailed Description

Received message information.


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