<
From version < 15.2 >
edited by Xiaoling
on 2022/05/27 13:59
To version < 22.1 >
edited by Xiaoling
on 2022/05/27 14:05
>
Change comment: Uploaded new attachment "image-20220527140542-20.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -363,6 +363,7 @@
363 363  
364 364  MQTT Channel settings
365 365  
366 +
366 366  (((
367 367  For example, if we put a data(temp=46) on the file /var/iot/channels/4567, because 4567 match the remote channel 78901. the gateway will run this command:
368 368  )))
... ... @@ -381,7 +381,7 @@
381 381  Below is a simulation to put this data to active the MQTT publish.
382 382  )))
383 383  
384 -[[image:https://wiki.dragino.com/images/thumb/3/30/MQTT_Command_11.png/600px-MQTT_Command_11.png||height="308" width="600"]]
385 +[[image:image-20220527140023-14.png]]
385 385  
386 386  MQTT Publish
387 387  
... ... @@ -395,7 +395,7 @@
395 395  mosquitto_sub -h 192.168.199.148 -p 1883 -i dragino-1b7060 -t command.
396 396  )))
397 397  
398 -[[image:https://wiki.dragino.com/images/3/36/MQTT_Command_12.png||height="173" width="579"]]
399 +[[image:image-20220527140100-15.png]]
399 399  
400 400  MQTT Subscribe
401 401  
... ... @@ -404,7 +404,7 @@
404 404  When MQTT broker receive a update on this topic, the gateway will get the update and use LoRa radio to broadcast this message. The LoRa parameters used for update is:
405 405  )))
406 406  
407 -[[image:https://wiki.dragino.com/images/thumb/b/b8/MQTT_Command_13.png/600px-MQTT_Command_13.png||height="300" width="600"]]
408 +[[image:image-20220527140148-16.png]]
408 408  
409 409  LoRa Broadcast parameters.
410 410  
... ... @@ -411,7 +411,7 @@
411 411  
412 412  And below is the subscribe simulation:
413 413  
414 -[[image:https://wiki.dragino.com/images/thumb/6/60/MQTT_Command_14.png/600px-MQTT_Command_14.png||height="255" width="600"]]
415 +[[image:image-20220527140238-17.png]]
415 415  
416 416  downstream simulation
417 417  
... ... @@ -420,6 +420,7 @@
420 420  
421 421  In above section, we have configured the UI to support MQTT upstream and downstream. We can simulate via Linux command. In this section, we will guide how to communicate with remote LoRa End Node for upstream and downstream.
422 422  
424 +
423 423  === 4.5.1 Use LoRa Raw protocol for communication ~-~- For LG01/LG02 ===
424 424  
425 425  (((
... ... @@ -442,7 +442,7 @@
442 442  * Downstream: Listening broadcast message from gateway, and print it in console.
443 443  * The LoRa parameter settings in Arduino should match the LoRa settings in gateway, as below:
444 444  
445 -[[image:https://wiki.dragino.com/images/thumb/3/3b/MQTT_Command_17.png/600px-MQTT_Command_17.png||height="197" width="600"]]
447 +[[image:image-20220527140354-18.png]]
446 446  
447 447  LoRa Parameter should match
448 448  
... ... @@ -449,10 +449,11 @@
449 449  
450 450  Below is the test result after the Arduino Sketch is running.
451 451  
452 -[[image:https://wiki.dragino.com/images/thumb/6/63/MQTT_Command_18.png/600px-MQTT_Command_18.png||height="319" width="600"]]
454 +[[image:image-20220527140459-19.png]]
453 453  
454 454  Upstream Data Flow
455 455  
458 +
456 456  [[image:https://wiki.dragino.com/images/thumb/1/18/MQTT_Command_19.png/600px-MQTT_Command_19.png||height="309" width="600"]]
457 457  
458 458  Downstream Data Flow
image-20220527140023-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +182.2 KB
Content
image-20220527140100-15.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +8.2 KB
Content
image-20220527140148-16.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +34.0 KB
Content
image-20220527140238-17.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +126.3 KB
Content
image-20220527140354-18.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +62.7 KB
Content
image-20220527140459-19.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +151.0 KB
Content
image-20220527140542-20.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +165.4 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0