AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
|
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 |
Structure to represent MQTT message.
uint16_t mqttMsg_st::payloadLen_u16 |
Length of payload
char mqttMsg_st::payloadStr[LENGTH_MQTT_PAYLOAD] |
MQTT message payload
qos_et mqttMsg_st::qos_e |
QOS levels
bool mqttMsg_st::retain_b8 |
Retain falg
uint8_t mqttMsg_st::topicLen_u8 |
Length of topic