AM335X-PAC Series User Manual version 2.0.1 Page: 122
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
As an MQTT client, the MQ‐7200M series module is able to publish messages
that related to the
status of the Digital I/O to a broker and subscribe to topics from a broker that are used to control
the DO lines. In a similar way, other MQTT clients can obtain the status information from the
Digital I/O by subscribing to a topic from the broker and then publishing messages to the broker
that then control the DO lines, as illustrated in Figure 7.3-3. An example application is
demonstrated below.
Figure 7.3-3.
Controlling the device via the MQTT broker