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

Summary

Details

Page properties
Content
... ... @@ -383,7 +383,9 @@
383 383  )))
384 384  
385 385  
386 +(((
386 386  Below is a simulation to put this data to active the MQTT publish.
388 +)))
387 387  
388 388  [[image:https://wiki.dragino.com/images/thumb/3/30/MQTT_Command_11.png/600px-MQTT_Command_11.png||height="308" width="600"]]
389 389  
... ... @@ -426,13 +426,21 @@
426 426  
427 427  === 4.5.1 Use LoRa Raw protocol for communication ~-~- For LG01/LG02 ===
428 428  
431 +(((
429 429  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 +)))
430 430  
435 +(((
431 431  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 +)))
432 432  
439 +(((
433 433  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 +)))
434 434  
443 +(((
435 435  What does the Arduino Sketch do? The Arduino Sketch will:
445 +)))
436 436  
437 437  * 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).
438 438  * Downstream: Listening broadcast message from gateway, and print it in console.
... ... @@ -456,18 +456,22 @@
456 456  
457 457  === 4.5.2 Use LoRaWAN Protocol for communication ~-~- For LG308/LPS8/DLOS8 ===
458 458  
469 +(((
459 459  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 +)))
460 460  
473 +(((
461 461  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 -
465 465  Video Instruction:[[https:~~/~~/youtu.be/qJTY441-t90>>url:https://youtu.be/qJTY441-t90]]
466 -
476 +)))
467 467  
478 +(((
468 468  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 +)))
469 469  
482 +(((
470 470  Step 2: Make sure your Radio settings match the End Node settings.
484 +)))
471 471  
472 472  [[image:https://wiki.dragino.com/images/thumb/f/f7/LG308_MQTT_5.png/600px-LG308_MQTT_5.png||height="387" width="600"]]
473 473  
... ... @@ -474,7 +474,9 @@
474 474  Use Same Frequency Band as End Node
475 475  
476 476  
491 +(((
477 477  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 +)))
478 478  
479 479  [[image:https://wiki.dragino.com/images/thumb/8/8d/LG308_MQTT_3.png/600px-LG308_MQTT_3.png||height="385" width="600"]]
480 480  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0