
Documentation Center
MQTT Subscribe to Data Server
To better demonstrate the functionality we will use the Application Server Integration feature to subscribe to the
Built-In Network Server Topics, using the MQTT client, to obtain data and send instructions to the RAK7431.
Figure 15: Gateway MQTT Topic Templates
To communicate with the MQTT bridge in the gateway we need to use MQTT Topic Templates.
MQTT Topic Configuration:
to read the topics and send data to the gateway and node.
2. After installation, the MQTT Client must be configured. Select local mosquitto from the drop-down list and click
the edit connection profiles icon marked in the image below to open the settings page.
Figure 16: MQTT.fx Client
3. On the next window, input the Broker Adress and Broker Port. If the Client ID is empty press Generate. Then
click OK.
Broken Address: Address of MQTT server – the gateway IP.
Broker Port: Consistent with MQTT Broker Port set by the gateway - by default 1883.
Application/
{{
application_ID
}}
/device/
{{
device_EUI
}}
/join
Application/
{{
application_ID
}}
/device/
{{
device_EUI
}}
/rx
Application/
{{
application_ID
}}
/device/
{{
device_EUI
}}
/tx
Application/
{{
application_ID
}}
/device/
{{
device_EUI
}}
/ack
Application/
{{
application_ID
}}
/device/
{{
device_EUI
}}
/status
sh