![]() |
MQTT C Client Libraries Internals
|
Bitfields for the MQTT header byte. More...
#include <MQTTPacket.h>
Data Fields | ||
char | byte | |
the whole byte | ||
struct { | ||
bool retain: 1 | ||
retained flag bit | ||
unsigned int qos: 2 | ||
QoS value, 0, 1 or 2. | ||
bool dup: 1 | ||
DUP flag bit. | ||
unsigned int type: 4 | ||
message type nibble | ||
} | bits | |
Bitfields for the MQTT header byte.