IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt MQTT

Provides classes and functions to make MQTT programming simple and portable.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt MQTT

MQTT is a machine-to-machine (M2M) protocol utilizing the publish-and-subscribe paradigm. Its purpose is to provide a channel with minimal communication overhead.

Generally, MQTT is used on top of a TCP connection. However, the base requirement is defined as an ordered, lossless, bidirectional connection.

The Qt MQTT module provides a standard compliant implementation of the MQTT protocol specification. It enables applications to act as telemetry displays and devices to publish telemetry data. The supported versions are MQTT 3.1, MQTT 3.1.1, and MQTT 5.0.

Qt MQTT is part of the Qt for Automation offering and not Qt. For further details please see Qt for Automation.

Getting Started

To include the definitions of the module's classes, use the following directive:

 
Sélectionnez
#include <QtMqtt/QtMqtt>

To link against the module, add this line to your qmake .pro file:

 
Sélectionnez
QT += mqtt

Articles and Guides

Examples

Reference

Licenses and Attributions

Qt MQTT is available under commercial licenses from The Qt Company. In addition, it is available under the GNU General Public License, version 3.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+