This article introduces how to use paho-mqtt client library in the Rust project, and implement the connection, subscription and messaging, etc of MQTT.
This article will help you quickly understand the basic features, related concepts of the MQTT protocol, and what's new in MQTT 5.0.
MQTT 5.0 adds a new feature enhanced authentication, which includes query/response style authentication can implement bi-directional authentication of the client and broker.
Four years after the MQTT 3.1.1 has been released and became the OASIS standard, MQTT 5.0 was released, which is a significant improvement and upgrade.
The messaging series start from initiating an MQTT connection request to the server until the connection is interrupted and the session expires is called session.
MQTT 5.0 adds the Response Topic, and defines the interaction process for Request Response. This article will introduce this feature in an easy-to-understand way.
MQTT 5.0 brings many new features, this article will give an introduction to the use of the new feature "flow control" in an easy-to-understand way.
MQTT 5.0 brings many new features, this article will introduce the use of subscription identifier and subscription options, in an easy-to-understand way.
MQTT protocol specifies the 3 QoS (Quality of Service) levels, which guarantees the reliability of message delivery under different network environments.
MQTT is an IoT protocol based on the Pub/Sub model. With its characteristics of simple and easy implementation, support for QoS, and small packet.