coreMQTT  v1.1.0
MQTT 3.1.1 Client Library
MQTTPublishInfo Struct Reference

MQTT PUBLISH packet parameters. More...

#include <core_mqtt_serializer.h>

Data Fields

MQTTQoS_t qos
 Quality of Service for message.
bool retain
 Whether this is a retained message.
bool dup
 Whether this is a duplicate publish message.
const char * pTopicName
 Topic name on which the message is published.
uint16_t topicNameLength
 Length of topic name.
const void * pPayload
 Message payload.
size_t payloadLength
 Message payload length.

Detailed Description

MQTT PUBLISH packet parameters.

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