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

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,4 @@
1 -*
2 -** Table of** **Contents:
1 +**Table of Contents:**
3 3  
4 4  {{toc/}}
5 5  
... ... @@ -21,6 +21,7 @@
21 21  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]]
22 22  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/]](%%)**
23 23  
23 +
24 24  = 2. How it works =
25 25  
26 26  
... ... @@ -132,22 +132,27 @@
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 +
135 135  === 2.2.2 How to Decode My End Node ===
136 136  
137 137  
138 -1/ Configure the ABP keys for your end node in the gateway. enable ABP decode in Web UI
139 +**1.** Configure the ABP keys for your end node in the gateway. enable ABP decode in Web UI
139 139  
140 -2/ Don't choose MQTT service, use LoRaWAN.
141 +**2. **Don't choose MQTT service, use LoRaWAN.
141 141  
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
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
143 143  
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:
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:
145 145  
146 146  {{{/etc/lora/decoder/Dragino_LHT65 END_NODE_DEV_ADDR
147 147  }}}
148 148  
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:
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.
150 150  
152 +
153 +(% style="color:red" %)
154 +**Some notice:**
155 +
151 151  * RSSI and SNR are added when gateway receive the packet, so there is always this field.
152 152  * If you rename the file, please make it executable.
153 153  * See this link for lua.bit module: [[http:~~/~~/luaforge.net/projects/bit/>>url:http://luaforge.net/projects/bit/]]
... ... @@ -188,14 +188,11 @@
188 188  * **Frequency:** Transmit Frequency: example: 923300000
189 189  * **rxwindow:** transmit on Rx1Window or Rx2Window.
190 190  
191 -
192 192  (% style="color:blue" %)**Completely exmaple:**
193 193  
194 194  * **Old version:** echo 018193F4,imme,hex,0101 > /var/iot/push/test
195 195  * **New version:** echo 018193F4,imme,hex,0101,20,1,SF12,923300000,2 > /var/iot/push/test
196 196  
197 -
198 -
199 199  (% style="color:#037691" %)**Downstream Frequency**
200 200  
201 201  The LG308 will use the RX2 window info to send the downstream payload, use the default LoRaWAN settings, as below:
... ... @@ -209,8 +209,6 @@
209 209  * IN865: 866.55Mhz, SF10 BW125
210 210  * RU864: 869.1Mhz, SF12 BW125
211 211  
212 -
213 -
214 214  (% style="color:#037691" %)**Examples:**
215 215  
216 216  (% class="box" %)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0