#include <MQTTPacket.h>
Public Attributes | |
union { | |
unsigned char all | |
struct { | |
unsigned int reserved: 7 | |
bool sessionPresent: 1 | |
} bits | |
} | flags |
Header | header |
unsigned int | MQTTVersion |
MQTTProperties | properties |
unsigned char | rc |
Data for a connack packet.
Definition at line 133 of file MQTTPacket.h.
unsigned char Connack::all |
all connack flags
Definition at line 138 of file MQTTPacket.h.
struct { ... } Connack::bits |
union { ... } Connack::flags |
connack flags byte
Header Connack::header |
MQTT header byte
Definition at line 135 of file MQTTPacket.h.
unsigned int Connack::MQTTVersion |
the version of MQTT
Definition at line 154 of file MQTTPacket.h.
MQTTProperties Connack::properties |
MQTT 5.0 properties. Not used for MQTT < 5.0
Definition at line 155 of file MQTTPacket.h.
unsigned char Connack::rc |
connack reason code
Definition at line 153 of file MQTTPacket.h.
unsigned int Connack::reserved |
message type nibble
Definition at line 149 of file MQTTPacket.h.
bool Connack::sessionPresent |
was a session found on the server?
Definition at line 148 of file MQTTPacket.h.