GW-UNI-01
User Manual
© 2016 IQ HOME Kft.
www.iqhome.org
9 / 21
2.2
MQTT Interface
The Universal Gateway MQTT Interface is a MQTT 3.1.1 compliant interface with SSL/TLS support.
This interface designed to enables all MQTT features to IQRF IQMESH networks via a transparent
interface. The IQRF requests and responses transferred directly in HEX string format to simplify data
processing in high-level programming or script languages. The interface in addition handles the MQTT
traffic topics according to the configurations. The Figure 6 shows the operation of the MQTT
interface.
Figure 6 MQTT Client Interface
The basic operation shown on Figure 6 and work simple as:
1.
Subscribe for all topics specified in the
/etc/unid/subscribe.conf
configuration file (“subscribe”
parameter)
2.
If any message received to any specific subscribed topic and the
target
is set to
network
the
daemon sends the message to the IQRF module on the gateway
3.
If
response
option is set
true
the daemon send the IQRF response to the specified
publish
topic
(“publish” parameter)
Caution!
The current version of the Universal Gateway firmware not handle timing. It must be managed on
the application side.