AM335X-PAC Series User Manual version 2.0.1 Page: 120
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
7.3. Building a sample MQTT application using LinPAC
MQTT (Message Queuing Telemetry Transport) is an ISO standard publish-subscribe based
messaging protocol. It is a lightweight connectivity protocol for M2M (machine to machine)
communication that works on top of the TCP/IP protocol. The protocol uses a publish-subscribe
model for message exchange between machines, based on the efficient distribution of messages
to one or many receivers through a broker. It is useful for mobile applications because of its small
size, low power usage and minimized data packets.
The LinPAC controller provides message transfer functionality for MQTT applications
. Let’s look at
an example where we wish to communicate between an MQTT client and an MQTT server
(broker). The following is a demonstration of the configuration and processes involved, as
illustrated in Figure 7.3-1.
Figure 7.3-1.
MQTT architecture for LinPAC
Refer to the following websites for more detailed information.
UA-5200 series:
http://www.icpdas.com/root/product/solutions/industrial_communication/m2m_iiot_server/opc_ua.html
MQ-7200M series:
http://www.icpdas.com/root/product/solutions/remote_io/mqtt_io/mq-7200m_introduction.html