<
From version < 16.3 >
edited by Xiaoling
on 2022/07/22 11:41
To version < 16.1 >
edited by Xiaoling
on 2022/07/22 11:33
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -21,6 +21,8 @@
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 23  
24 +
25 +
24 24  = 2. How it works =
25 25  
26 26  
... ... @@ -136,23 +136,19 @@
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
141 +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.
143 +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
145 +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:
147 +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.
152 +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/]]
... ... @@ -195,7 +195,6 @@
195 195  
196 196  
197 197  
198 -
199 199  (% style="color:blue" %)**Completely exmaple:**
200 200  
201 201  * **Old version:** echo 018193F4,imme,hex,0101 > /var/iot/push/test
... ... @@ -202,8 +202,6 @@
202 202  * **New version:** echo 018193F4,imme,hex,0101,20,1,SF12,923300000,2 > /var/iot/push/test
203 203  
204 204  
205 -
206 -
207 207  (% style="color:#037691" %)**Downstream Frequency**
208 208  
209 209  The LG308 will use the RX2 window info to send the downstream payload, use the default LoRaWAN settings, as below:
... ... @@ -218,8 +218,6 @@
218 218  * RU864: 869.1Mhz, SF12 BW125
219 219  
220 220  
221 -
222 -
223 223  (% style="color:#037691" %)**Examples:**
224 224  
225 225  (% class="box" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0