To obtain the full code, including examples and tests, you can clone the git repository: git clone The latest stable version is available in the Python Package Index (PyPi) and can be installed using pip install paho-mqtt Designed as an extremely lightweight publish/subscribe messaging transport, it is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. The MQTT protocol is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol. It also provides some helper functions to make publishing one off messages to an MQTT server very straightforward. This code provides a client class which enable applications to connect to an MQTT broker to publish messages, and to subscribe to topics and receive published messages. This document describes the source code for the Eclipse Paho MQTT Python client library, which implements versions 5.0, 3.1.1, and 3.1 of the MQTT protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |