Microchip® Advanced Software Framework

MQTTMessageParams Struct Reference

MQTT Message Parameters.

Defines a type for properties of MQTT messages including topic, payload an QoS.

#include <aws_iot_mqtt_interface.h>

Data Fields

uint16_t id
 Message sequence identifier. Handled automatically by the MQTT client. More...
 
bool isDuplicate
 Is this message a duplicate QoS > 0 message? Handled automatically by the MQTT client. More...
 
bool isRetained
 Retained messages are NOT supported by the AWS IoT Service at the time of this SDK release. More...
 
uint32_t PayloadLen
 Length of MQTT payload. More...
 
void * pPayload
 Pointer to MQTT message payload (bytes). More...
 
QoSLevel qos
 Message Quality of Service. More...
 

uint16_t MQTTMessageParams::id

Message sequence identifier. Handled automatically by the MQTT client.

Referenced by aws_iot_mqtt_publish(), and pahoMessageCallback().

bool MQTTMessageParams::isDuplicate

Is this message a duplicate QoS > 0 message? Handled automatically by the MQTT client.

Referenced by aws_iot_mqtt_publish(), and pahoMessageCallback().

bool MQTTMessageParams::isRetained

Retained messages are NOT supported by the AWS IoT Service at the time of this SDK release.

Referenced by aws_iot_mqtt_publish(), and pahoMessageCallback().

uint32_t MQTTMessageParams::PayloadLen
void* MQTTMessageParams::pPayload
QoSLevel MQTTMessageParams::qos

Message Quality of Service.

Referenced by aws_iot_mqtt_publish(), main(), pahoMessageCallback(), and publishToShadowAction().