<
From version < 9.1 >
edited by Xiaoling
on 2022/05/27 13:50
To version < 11.2 >
edited by Xiaoling
on 2022/05/27 13:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -276,15 +276,17 @@
276 276  
277 277  Connect to MQTT Broker
278 278  
279 +
279 279  After connected, use publish to public some thing to MQTT server. This to simulate upsteam
280 280  
281 -[[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]]
282 282  
283 283  Upstream: Publish message to MQTT Broker
284 284  
286 +
285 285  To simulate a downstream, use MQTT.fx to subscribe a topic, and publish something to this topic. as Below:
286 286  
287 -[[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]]
288 288  
289 289  Downstream: Subscribe a topic to get downstream
290 290  
... ... @@ -296,7 +296,7 @@
296 296  In the Dragino Gateway, we use [[mosquitto client>>url:https://mosquitto.org/]] for MQTT connection.
297 297  
298 298  
299 -(% class="mark" %)**For Upstream**
301 +(% style="color:#4f81bd" %)**For Upstream**
300 300  
301 301  command is [[mosquitto_pub>>url:https://mosquitto.org/man/mosquitto_pub-1.html]]
302 302  
... ... @@ -304,7 +304,7 @@
304 304  
305 305  Note: 192.168.199.148 is MQTT broker address, the gateway and the MQTT broker PC are in the same network.
306 306  
307 -[[image:https://wiki.dragino.com/images/thumb/d/d0/MQTT_Command_6.png/600px-MQTT_Command_6.png||height="188" width="600"]]
309 +[[image:image-20220527135310-9.png]]
308 308  
309 309  mosquitto_pub
310 310  
image-20220527135215-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +125.6 KB
Content
image-20220527135310-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +87.9 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0