Microchip® Advanced Software Framework

MQTTPacket_connectData Struct Reference

#include <MQTTConnect.h>

Data Fields

unsigned char cleansession
 
MQTTString clientID
 
unsigned short keepAliveInterval
 
unsigned char MQTTVersion
 Version of MQTT to be used. More...
 
MQTTString password
 
char struct_id [4]
 The eyecatcher for this structure. More...
 
int struct_version
 The version number of this structure. More...
 
MQTTString username
 
MQTTPacket_willOptions will
 
unsigned char willFlag
 

unsigned char MQTTPacket_connectData::cleansession
unsigned short MQTTPacket_connectData::keepAliveInterval
unsigned char MQTTPacket_connectData::MQTTVersion

Version of MQTT to be used.

3 = 3.1 4 = 3.1.1

Referenced by MQTTSerialize_connect(), MQTTSerialize_connectLength(), and MQTTStringFormat_connect().

char MQTTPacket_connectData::struct_id[4]

The eyecatcher for this structure.

must be MQTC.

int MQTTPacket_connectData::struct_version

The version number of this structure.

Must be 0

unsigned char MQTTPacket_connectData::willFlag