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 |
Length of MQTT payload.
Referenced by AckStatusCallback(), aws_iot_mqtt_publish(), main(), MQTTcallbackHandler(), pahoMessageCallback(), publishToShadowAction(), and shadow_delta_callback().
void* MQTTMessageParams::pPayload |
Pointer to MQTT message payload (bytes).
Referenced by AckStatusCallback(), aws_iot_mqtt_publish(), main(), MQTTcallbackHandler(), pahoMessageCallback(), publishToShadowAction(), and shadow_delta_callback().
QoSLevel MQTTMessageParams::qos |
Message Quality of Service.
Referenced by aws_iot_mqtt_publish(), main(), pahoMessageCallback(), and publishToShadowAction().