Last modified by Xiaoling on 2023/04/20 18:14
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -21,8 +21,6 @@ 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 - 26 26 = 2. How it works = 27 27 28 28 ... ... @@ -138,19 +138,23 @@ 138 138 === 2.2.2 How to Decode My End Node === 139 139 140 140 141 -1 /Configure the ABP keys for your end node in the gateway. enable ABP decode in Web UI139 +**1.** Configure the ABP keys for your end node in the gateway. enable ABP decode in Web UI 142 142 143 -2 /Don't choose MQTT service, use LoRaWAN.141 +**2. **Don't choose MQTT service, use LoRaWAN. 144 144 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_ADDR143 +**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 146 146 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: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: 148 148 149 149 {{{/etc/lora/decoder/Dragino_LHT65 END_NODE_DEV_ADDR 150 150 }}} 151 151 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: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. 153 153 152 + 153 +(% style="color:red" %) 154 +**Some notice:** 155 + 154 154 * RSSI and SNR are added when gateway receive the packet, so there is always this field. 155 155 * If you rename the file, please make it executable. 156 156 * See this link for lua.bit module: [[http:~~/~~/luaforge.net/projects/bit/>>url:http://luaforge.net/projects/bit/]] ... ... @@ -191,14 +191,11 @@ 191 191 * **Frequency:** Transmit Frequency: example: 923300000 192 192 * **rxwindow:** transmit on Rx1Window or Rx2Window. 193 193 194 - 195 - 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 201 - 202 202 (% style="color:#037691" %)**Downstream Frequency** 203 203 204 204 The LG308 will use the RX2 window info to send the downstream payload, use the default LoRaWAN settings, as below: ... ... @@ -212,7 +212,6 @@ 212 212 * IN865: 866.55Mhz, SF10 BW125 213 213 * RU864: 869.1Mhz, SF12 BW125 214 214 215 - 216 216 (% style="color:#037691" %)**Examples:** 217 217 218 218 (% class="box" %)