FreeRTOS
Data Fields
MQTTPublishData Struct Reference

The data sent by the MQTT library in the user supplied callback when a publish message from the broker is received. More...

#include <aws_mqtt_lib.h>

Data Fields

MQTTQoS_t xQos
 
const uint8_t * pucTopic
 
uint16_t usTopicLength
 
const void * pvData
 
uint32_t ulDataLength
 
MQTTBufferHandle_t xBuffer
 

Detailed Description

The data sent by the MQTT library in the user supplied callback when a publish message from the broker is received.

Definition at line 252 of file aws_mqtt_lib.h.

Field Documentation

◆ pucTopic

const uint8_t* pucTopic

The topic on which the message is received.

Definition at line 255 of file aws_mqtt_lib.h.

◆ pvData

const void* pvData

The received message.

Definition at line 257 of file aws_mqtt_lib.h.

◆ ulDataLength

uint32_t ulDataLength

Length of the message.

Definition at line 258 of file aws_mqtt_lib.h.

◆ usTopicLength

uint16_t usTopicLength

Length of the topic.

Definition at line 256 of file aws_mqtt_lib.h.

◆ xBuffer

MQTTBufferHandle_t xBuffer

The buffer containing the whole MQTT message. Both pcTopic and pvData are pointers to the locations in this buffer.

Definition at line 259 of file aws_mqtt_lib.h.

◆ xQos

MQTTQoS_t xQos

Quality of Service (QoS).

Definition at line 254 of file aws_mqtt_lib.h.


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