coreMQTT v2.0.0
MQTT 3.1.1 Client Library
MQTTConnectInfo_t Struct Reference

MQTT CONNECT packet parameters. More...

#include <core_mqtt_serializer.h>

Data Fields

bool cleanSession
 Whether to establish a new, clean session or resume a previous session.
 
uint16_t keepAliveSeconds
 MQTT keep alive period.
 
const char * pClientIdentifier
 MQTT client identifier. Must be unique per client.
 
uint16_t clientIdentifierLength
 Length of the client identifier.
 
const char * pUserName
 MQTT user name. Set to NULL if not used.
 
uint16_t userNameLength
 Length of MQTT user name. Set to 0 if not used.
 
const char * pPassword
 MQTT password. Set to NULL if not used.
 
uint16_t passwordLength
 Length of MQTT password. Set to 0 if not used.
 

Detailed Description

MQTT CONNECT packet parameters.


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