<
From version < 8.1 >
edited by Xiaoling
on 2022/05/27 13:49
To version < 10.2 >
edited by Xiaoling
on 2022/05/27 13:52
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -263,6 +263,7 @@
263 263  
264 264  This section is an example to show how to set up LG01-N to communicate with a MQTT server. The MQTT server is a simple utility set up in a local PC. Note: User can set up same server via [[this instruction>>url:http://www.steves-internet-guide.com/install-mosquitto-broker/]].
265 265  
266 +
266 266  == 4.2 Simulate via MQTT.fx utility ==
267 267  
268 268  The [[MQTT.fx>>url:http://mqttfx.jensd.de/index.php/download]] is a MQTT client tool. We can use this to simulate a MQTT connection to our MQTT broker first to make sure the MQTT broker works. This will also help us understand how it works.
... ... @@ -271,19 +271,21 @@
271 271  In this test, the MQTT broker and MQTT.fx are installed in the same PC, so the MQTT server address in MQTT.fx should be localhost. Below shows how to connect to the server.
272 272  )))
273 273  
274 -[[image:https://wiki.dragino.com/images/thumb/0/06/MQTT_Forward_4.png/600px-MQTT_Forward_4.png||height="201" width="600"]]
275 +[[image:image-20220527134929-6.png]]
275 275  
276 276  Connect to MQTT Broker
277 277  
279 +
278 278  After connected, use publish to public some thing to MQTT server. This to simulate upsteam
279 279  
280 -[[image:https://wiki.dragino.com/images/thumb/b/bd/MQTT_Forward_5.png/600px-MQTT_Forward_5.png||height="149" width="600"]]
282 +[[image:image-20220527135037-7.png]]
281 281  
282 282  Upstream: Publish message to MQTT Broker
283 283  
286 +
284 284  To simulate a downstream, use MQTT.fx to subscribe a topic, and publish something to this topic. as Below:
285 285  
286 -[[image:https://wiki.dragino.com/images/thumb/3/3d/MQTT_Forward_6.png/600px-MQTT_Forward_6.png||height="279" width="600"]]
289 +[[image:image-20220527135215-8.png]]
287 287  
288 288  Downstream: Subscribe a topic to get downstream
289 289  
image-20220527135037-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +65.1 KB
Content
image-20220527135215-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +125.6 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0