Last modified by Xiaoling on 2023/04/20 18:14
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoling - Content
-
... ... @@ -12,6 +12,8 @@ 12 12 * No internet connection. 13 13 * User wants to get data forward in gateway and forward to their server base on MQTT/HTTP, etc. (Combine ABP communication method and [[MQTT forward together>>MQTT Forward Instruction]]). 14 14 15 + 16 + 15 15 ((( 16 16 The basic of this feature is the decoding of (% style="color:red" %)**LoRaWAN ABP End Node**(%%). Requirements: 17 17 ))) ... ... @@ -20,6 +20,9 @@ 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 25 + 26 + 27 + 23 23 = 2. How it works = 24 24 25 25 ... ... @@ -83,6 +83,8 @@ 83 83 * **SNR**: 3030 3030 3030 3546 = 0x0000 005F = 95, need to divide 10 so SNR is 9.5 84 84 * **Payload**: 0xcc0c 0b63 0266 017f ff7f ff00 85 85 91 + 92 + 86 86 (% class="box" %) 87 87 ((( 88 88 (% style="color:red" %)**Notice 1**(%%): The data file stored in LG308 for the end node is bin file. If the end node sends ASCII string to gateway, the output will as below: ... ... @@ -168,6 +168,9 @@ 168 168 * the last line return is what will be used for MQTT 169 169 * User can use other language ,not limited to Lua, just make sure the return is what you want to send. 170 170 178 + 179 + 180 + 171 171 == 2.2 Downstream == 172 172 173 173 ... ... @@ -178,9 +178,9 @@ 178 178 (% style="color:#037691" %)**dev_addr,imme/time,txt/hex,payload** 179 179 180 180 181 -Since fimware > [[Dragino lgw~~-~~-build-v5.4.1668567157>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308-LG301/Firmware/Release/]]. Support more option191 +Since fimware > Dragino-v2 lgw-5.4.1608518541 . Support more option 182 182 183 -(% style="color:#037691" %)**dev_addr,imme/time,txt/hex,payload,txpw,txbw,SF,frequency,rxwindow ,Fport**193 +(% style="color:#037691" %)**dev_addr,imme/time,txt/hex,payload,txpw,txbw,SF,frequency,rxwindow** 184 184 185 185 * **dev_addr:** Inptu the device address 186 186 * **imme/time:** ... ... @@ -199,13 +199,16 @@ 199 199 * **SF:** Spreading Factor : SF7/SF8/SF9/SF10/SF11/SF12 200 200 * **Frequency:** Transmit Frequency: example: 923300000 201 201 * **rxwindow:** transmit on Rx1Window or Rx2Window. 202 -* **Fport: **Transmit port,example:8 203 203 213 + 214 + 204 204 (% style="color:blue" %)**Completely exmaple:** 205 205 206 206 * **Old version:** echo 018193F4,imme,hex,0101 > /var/iot/push/test 207 -* **New version:** echo 018193F4,imme,hex,0101,20,1,SF12,923300000,2 ,8> /var/iot/push/test218 +* **New version:** echo 018193F4,imme,hex,0101,20,1,SF12,923300000,2 > /var/iot/push/test 208 208 220 + 221 + 209 209 (% style="color:#037691" %)**Downstream Frequency:** 210 210 211 211 The LG308 will use the RX2 window info to send the downstream payload, use the default LoRaWAN settings, as below: ... ... @@ -219,6 +219,8 @@ 219 219 * IN865: 866.55Mhz, SF10 BW125 220 220 * RU864: 869.1Mhz, SF12 BW125 221 221 235 + 236 + 222 222 (% style="color:#037691" %)**Examples:** 223 223 224 224 (% class="box" %)