Public Attributes | List of all members
Connect Struct Reference

#include <MQTTPacket.h>

Public Attributes

char * clientID
 
union {
   unsigned char   all
 
   struct {
      int   __pad0__: 1
 
      bool   cleanstart: 1
 
      bool   password: 1
 
      bool   username: 1
 
      bool   will: 1
 
      unsigned int   willQoS: 2
 
      bool   willRetain: 1
 
   }   bits
 
flags
 
Header header
 
int keepAliveTimer
 
char * Protocol
 
unsigned char version
 
char * willMsg
 
char * willTopic
 

Detailed Description

Data for a connect packet.

Definition at line 89 of file MQTTPacket.h.

Member Data Documentation

int Connect::__pad0__

unused

Definition at line 109 of file MQTTPacket.h.

unsigned char Connect::all

all connect flags

Definition at line 94 of file MQTTPacket.h.

struct { ... } Connect::bits
bool Connect::cleanstart

cleansession flag

Definition at line 110 of file MQTTPacket.h.

char * Connect::clientID

string client id

Definition at line 120 of file MQTTPacket.h.

union { ... } Connect::flags

connect flags byte

Header Connect::header

MQTT header byte

Definition at line 91 of file MQTTPacket.h.

int Connect::keepAliveTimer

keepalive timeout value in seconds

Definition at line 125 of file MQTTPacket.h.

bool Connect::password

3.1 password

Definition at line 114 of file MQTTPacket.h.

char* Connect::Protocol

MQTT protocol name

Definition at line 120 of file MQTTPacket.h.

bool Connect::username

3.1 user name

Definition at line 115 of file MQTTPacket.h.

unsigned char Connect::version

MQTT version number

Definition at line 126 of file MQTTPacket.h.

bool Connect::will

will flag

Definition at line 111 of file MQTTPacket.h.

char * Connect::willMsg

will payload

Definition at line 120 of file MQTTPacket.h.

unsigned int Connect::willQoS

will QoS value

Definition at line 112 of file MQTTPacket.h.

bool Connect::willRetain

will retain setting

Definition at line 113 of file MQTTPacket.h.

char * Connect::willTopic

will topic

Definition at line 120 of file MQTTPacket.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49