IoT::MQTT

struct TopicQoS

File Information

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

Description

A vector of these is given to MQTTClient::subscribeMany.

Constructors

TopicQoS inline

TopicQoS();

TopicQoS inline

TopicQoS(
    const std::string & t,
    int q = 0
);

Variables

qos

int qos = 0;

The QoS level (0, 1 or 2).

topic

std::string topic;

The topic name, which may contain wildcards.

Securely control IoT edge devices from anywhere   Connect a Device