<
From version < 16.2 >
edited by Xiaoling
on 2022/07/22 11:41
To version < 15.1 >
edited by Xiaoling
on 2022/07/22 11:32
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,5 @@
1 -**Table of Contents:**
1 +*
2 +** Table of** **Contents:
2 2  
3 3  {{toc/}}
4 4  
... ... @@ -20,7 +20,6 @@
20 20  1. LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]]
21 21  1. Firmware version for below instruction:**[[(% style="color:purple" %)Since LG02_LG08~~-~~-build-v5.4.1593400722-20200629-1120>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]](%%)**
22 22  
23 -
24 24  = 2. How it works =
25 25  
26 26  
... ... @@ -132,27 +132,22 @@
132 132  Above scripts are store in /etc/lora/decoder/. User can put their scripts here and select it in the UI.
133 133  
134 134  
135 -
136 136  === 2.2.2 How to Decode My End Node ===
137 137  
138 138  
139 -**1.** Configure the ABP keys for your end node in the gateway. enable ABP decode in Web UI
138 +1/ Configure the ABP keys for your end node in the gateway. enable ABP decode in Web UI
140 140  
141 -**2. **Don't choose MQTT service, use LoRaWAN.
140 +2/ Don't choose MQTT service, use LoRaWAN.
142 142  
143 -**3.** When your end node send a message to the gateway, there will be a file store in /var/iot/channels. full path should be /var/iot/channels/END_NODE_DEV_ADDR
142 +3/ When your end node send a message to the gateway, there will be a file store in /var/iot/channels. full path should be /var/iot/channels/END_NODE_DEV_ADDR
144 144  
145 -**4.** Use the /etc/lora/decoder/Dragino_LHT65 as template to decode your payload. This script is written in Lua language. User can manually call this script when you see the data file in /var/iot/channels by running:
144 +4/ Use the /etc/lora/decoder/Dragino_LHT65 as template to decode your payload. This script is written in Lua language. User can manually call this script when you see the data file in /var/iot/channels by running:
146 146  
147 147  {{{/etc/lora/decoder/Dragino_LHT65 END_NODE_DEV_ADDR
148 148  }}}
149 149  
150 -**5.** What you see as output is the MQTT data device will upload, user's end node has different payload compare with LHT65, most properly this file will report with error. User need to modify to match the actual payload.
149 +5/ What you see as output is the MQTT data device will upload, user's end node has different payload compare with LHT65, most properly this file will report with error. User need to modify to match the actual payload. Some notice:
151 151  
152 -
153 -(% style="color:red" %)
154 -**Some notice:**
155 -
156 156  * RSSI and SNR are added when gateway receive the packet, so there is always this field.
157 157  * If you rename the file, please make it executable.
158 158  * See this link for lua.bit module: [[http:~~/~~/luaforge.net/projects/bit/>>url:http://luaforge.net/projects/bit/]]
... ... @@ -193,11 +193,14 @@
193 193  * **Frequency:** Transmit Frequency: example: 923300000
194 194  * **rxwindow:** transmit on Rx1Window or Rx2Window.
195 195  
191 +
196 196  (% style="color:blue" %)**Completely exmaple:**
197 197  
198 198  * **Old version:** echo 018193F4,imme,hex,0101 > /var/iot/push/test
199 199  * **New version:** echo 018193F4,imme,hex,0101,20,1,SF12,923300000,2 > /var/iot/push/test
200 200  
197 +
198 +
201 201  (% style="color:#037691" %)**Downstream Frequency**
202 202  
203 203  The LG308 will use the RX2 window info to send the downstream payload, use the default LoRaWAN settings, as below:
... ... @@ -211,6 +211,8 @@
211 211  * IN865: 866.55Mhz, SF10 BW125
212 212  * RU864: 869.1Mhz, SF12 BW125
213 213  
212 +
213 +
214 214  (% style="color:#037691" %)**Examples:**
215 215  
216 216  (% class="box" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0