
Page 52 of 56
King Pigeon Hi-Tech. Co., Ltd.
Ver 2.3
Industrial Ethernet Remote I/O Module
IoT Data Acquisition Module
10.Appendix
Application of MQTT
Introduction to mqtt
MQTT is a client-server based message publish/subscribe transfer protocol. The MQTT protocol is
lightweight,simple, open, and easy to implement. These characteristics make it applicable to a wide range. In many
cases,including restricted environments, such as: machine-to-machine (M2M) communication and Internet ofThings
(IoT). It has been widely used in communication sensors via satellite links, occasionally dialed medicaldevices,
smart homes, and some miniaturized devices. The MQTT protocol runs on TCP/IP or other network
protocols and provides orderly, lossless, bidirectional connections.
Implementation principle of mqtt
There are three kinds of identities in the MQTT protocol: publisher (Publish), broker (Broker) (server), and
subscriber (Subscribe). Among them, the publisher and subscriber of the message are both clients, the message
broker is the server, and the message publisher can also be a subscriber. Take MXXXT connected to King Pigeon
cloud 2.0 platform as an example:
When the equipment releases IIO point data:
Publisher
MXXXT
Broker(King
Pigeon
Cloud2.0)
Subscriber
User account
Publish
Subscribe to
Publish
When the customer controls the equipment:
Publisher
User account
Broker(King
Pigeon
Cloud2.0)
Subscriber
MXXXT
Publish
Subscribe to
Publish