EMQX Dedicated New Feature: Event History is available for private beta test. →
Topics
MQTT 5.0 Packet Explained 06: AUTH
Sep 19, 2023EMQX Team
MQTT 5.0 Packet Explained 06: AUTH

To achieve the Enhanced Authentication, MQTT introduced the AUTH packet to implement any number of authentication data exchanges, to support various types of authentication mechanisms, such as SCRAM, Kerberos authentication, and so on.

MQTT 5.0 Packet Explained 05: DISCONNECT
Sep 19, 2023EMQX Team
MQTT 5.0 Packet Explained 05: DISCONNECT

In MQTT, both the client and the server can send a DISCONNECT packet to the other party before disconnecting the network connection, indicating the reason for the connection closure.

MQTT 5.0 Packet Explained 04: PINGREQ & PINGRESP
Sep 19, 2023EMQX Team
MQTT 5.0 Packet Explained 04: PINGREQ & PINGRESP

MQTT has a type of packet used to simulate heartbeats between the client and server to maintain the connection. They are PINGREQ and PINGRESP packets, which we often call heartbeat packets.

MQTT 5.0 Packet Explained 03: SUBSCRIBE & UNSUBSCRIBE
Sep 15, 2023EMQX Team
MQTT 5.0 Packet Explained 03: SUBSCRIBE & UNSUBSCRIBE

In MQTT, the SUBSCRIBE packet is used to initiate a subscription request, while the SUBACK packet is used to return the subscription result. The UNSUBSCRIBE and UNSUBACK packets are used when unsubscribing.

Subscribe to our blogs