#include <MQTTPacket.h>
Public Attributes | |
Header | header |
uint8_t | mask [4] |
int | MQTTVersion |
int | msgId |
char * | payload |
int | payloadlen |
MQTTProperties | properties |
char * | topic |
int | topiclen |
Data for a publish packet.
Definition at line 197 of file MQTTPacket.h.
Header Publish::header |
MQTT header byte
Definition at line 199 of file MQTTPacket.h.
uint8_t Publish::mask[4] |
the websockets mask the payload is masked with, if any
Definition at line 207 of file MQTTPacket.h.
int Publish::MQTTVersion |
the version of MQTT
Definition at line 205 of file MQTTPacket.h.
int Publish::msgId |
MQTT message id
Definition at line 202 of file MQTTPacket.h.
char* Publish::payload |
binary payload, length delimited
Definition at line 203 of file MQTTPacket.h.
int Publish::payloadlen |
payload length
Definition at line 204 of file MQTTPacket.h.
MQTTProperties Publish::properties |
MQTT 5.0 properties. Not used for MQTT < 5.0
Definition at line 206 of file MQTTPacket.h.
char* Publish::topic |
topic string
Definition at line 200 of file MQTTPacket.h.
int Publish::topiclen |
Definition at line 201 of file MQTTPacket.h.