Analog Devices Wi-Fi Software Reference Manual  Release 1.0.0
Public Attributes | List of all members
MQTTHeader Union Reference

#include <MQTTPacket.h>

Public Attributes

unsigned char byte
 
struct {
   unsigned int   retain: 1
 
   unsigned int   qos: 2
 
   unsigned int   dup: 1
 
   unsigned int   type: 4
 
bits
 

Detailed Description

Bitfields for the MQTT header byte.

Member Data Documentation

§ byte

unsigned char MQTTHeader::byte

the whole byte

§ dup

unsigned int MQTTHeader::dup

DUP flag bit

§ qos

unsigned int MQTTHeader::qos

QoS value, 0, 1 or 2

§ retain

unsigned int MQTTHeader::retain

retained flag bit

§ type

unsigned int MQTTHeader::type

message type nibble


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