MQTT C Client Libraries Internals
Data Fields
Header Union Reference

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
 

Detailed Description

Bitfields for the MQTT header byte.


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