AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
mqttMsg_st Struct Reference

Structure to represent MQTT message. More...

#include <lib_msg.h>

Data Fields

char payloadStr [LENGTH_MQTT_PAYLOAD]
 
uint16_t payloadLen_u16
 
uint8_t topicLen_u8
 
qos_et qos_e
 
bool retain_b8
 

Detailed Description

Structure to represent MQTT message.

Field Documentation

◆ payloadLen_u16

uint16_t mqttMsg_st::payloadLen_u16

Length of payload

◆ payloadStr

char mqttMsg_st::payloadStr[LENGTH_MQTT_PAYLOAD]

MQTT message payload

◆ qos_e

qos_et mqttMsg_st::qos_e

QOS levels

◆ retain_b8

bool mqttMsg_st::retain_b8

Retain falg

◆ topicLen_u8

uint8_t mqttMsg_st::topicLen_u8

Length of topic


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