IoT::MQTT

struct ConnectionInfo

File Information

Library: IoT/MQTT
Package: MQTTClient
Header: IoT/MQTT/Types.h

Variables

mqttVersion

int mqttVersion = MQTT_VERSION_DEFAULT;

The MQTT version used in the connection (see MQTTVersion).

properties

std::vector < Property > properties;

MQTT V5 properties returned by the server.

serverURI

std::string serverURI;

URI of server the client is connected to.

sessionPresent

bool sessionPresent = false;

True if a previously set up session is present on the server.

Securely control IoT edge devices from anywhere   Connect a Device