<
From version < 1.20 >
edited by Xiaoling
on 2022/05/12 16:26
To version < 1.19 >
edited by Xiaoling
on 2022/05/12 16:20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -383,9 +383,7 @@
383 383  )))
384 384  
385 385  
386 -(((
387 387  Below is a simulation to put this data to active the MQTT publish.
388 -)))
389 389  
390 390  [[image:https://wiki.dragino.com/images/thumb/3/30/MQTT_Command_11.png/600px-MQTT_Command_11.png||height="308" width="600"]]
391 391  
... ... @@ -428,21 +428,13 @@
428 428  
429 429  === 4.5.1 Use LoRa Raw protocol for communication ~-~- For LG01/LG02 ===
430 430  
431 -(((
432 432  We can use [[LoRa Shield>>url:http://www.dragino.com/products/lora/item/102-lora-shield.html]] to send LoRa Raw data to Gateway and receive data from gateway.
433 -)))
434 434  
435 -(((
436 436  The example Sketch for LoRa Shield +Arduino is here: [[LoRa_Shield_Sketch_For_MQTT>>url:http://www.dragino.com/downloads/index.php?dir=LoraShield/]]
437 -)))
438 438  
439 -(((
440 440  And this link is the required library: [[arduino-LoRa-master>>url:http://www.dragino.com/downloads/index.php?dir=LoraShield/]]. Unzip this library and put in Arduino library location.
441 -)))
442 442  
443 -(((
444 444  What does the Arduino Sketch do? The Arduino Sketch will:
445 -)))
446 446  
447 447  * Upstream: Keep sending a LoRa Message every minutes with this payload : <4567>tem=xx&hum=yy (Where xx and yy are temperature and humidity value generated randomly).
448 448  * Downstream: Listening broadcast message from gateway, and print it in console.
... ... @@ -466,22 +466,18 @@
466 466  
467 467  === 4.5.2 Use LoRaWAN Protocol for communication ~-~- For LG308/LPS8/DLOS8 ===
468 468  
469 -(((
470 470  Since firmware LG02_LG08~-~-build-v5.3.1585192026-20200326-1109, Dragino LoRaWAN gateways support the communication to LoRaWAN ABP end node locally without the need of LoRaWAN server. This feature allow us to integrate MQTT in the gateway to support LoRaWAN to MQTT forwarding or visa verse.
471 -)))
472 472  
473 -(((
474 474  When use test this feature, please use the version higher then : LG02_LG08~-~-build-v5.4.1593400722-20200629-1120, in this version, the upload format is changed and readable, which is easier for integration.
462 +
463 +
464 +
475 475  Video Instruction:[[https:~~/~~/youtu.be/qJTY441-t90>>url:https://youtu.be/qJTY441-t90]]
476 -)))
466 +
477 477  
478 -(((
479 479  Step 1: Refer [[Communicate with ABP End Node>>url:https://wiki.dragino.com/index.php/Communication_with_ABP_End_Node]] to know how to set up LG308 to work with LoRaWAN End node.
480 -)))
481 481  
482 -(((
483 483  Step 2: Make sure your Radio settings match the End Node settings.
484 -)))
485 485  
486 486  [[image:https://wiki.dragino.com/images/thumb/f/f7/LG308_MQTT_5.png/600px-LG308_MQTT_5.png||height="387" width="600"]]
487 487  
... ... @@ -488,9 +488,7 @@
488 488  Use Same Frequency Band as End Node
489 489  
490 490  
491 -(((
492 492  Step 3: Set up publish format and MQTT channel. The LG308 will store the Data from End node in HEX format in the file. And we need to config the format to META
493 -)))
494 494  
495 495  [[image:https://wiki.dragino.com/images/thumb/8/8d/LG308_MQTT_3.png/600px-LG308_MQTT_3.png||height="385" width="600"]]
496 496  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0