IoT::MQTT

struct TopicQoS

Library: IoT/MQTT
Package: MQTTClient
Header: IoT/MQTT/MQTTClient.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;

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