Last modified by Xiaoling on 2023/04/20 18:14
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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 ))) ... ... @@ -22,6 +22,7 @@ 22 22 23 23 24 24 27 + 25 25 = 2. How it works = 26 26 27 27 ... ... @@ -52,6 +52,7 @@ 52 52 Input the ABP keys in LG308 53 53 54 54 58 + 55 55 == 2.1 Upstream == 56 56 57 57 ... ... @@ -84,6 +84,8 @@ 84 84 * **SNR**: 3030 3030 3030 3546 = 0x0000 005F = 95, need to divide 10 so SNR is 9.5 85 85 * **Payload**: 0xcc0c 0b63 0266 017f ff7f ff00 86 86 91 + 92 + 87 87 (% class="box" %) 88 88 ((( 89 89 (% 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: ... ... @@ -101,6 +101,7 @@ 101 101 ))) 102 102 103 103 110 + 104 104 === 2.2.1 Decode Method === 105 105 106 106 ... ... @@ -140,6 +140,7 @@ 140 140 Above scripts are store in /etc/lora/decoder/. User can put their scripts here and select it in the UI. 141 141 142 142 150 + 143 143 === 2.2.2 How to Decode My End Node === 144 144 145 145 ... ... @@ -169,6 +169,7 @@ 169 169 170 170 171 171 180 + 172 172 == 2.2 Downstream == 173 173 174 174 ... ... @@ -179,9 +179,9 @@ 179 179 (% style="color:#037691" %)**dev_addr,imme/time,txt/hex,payload** 180 180 181 181 182 -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 183 183 184 -(% 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** 185 185 186 186 * **dev_addr:** Inptu the device address 187 187 * **imme/time:** ... ... @@ -200,13 +200,16 @@ 200 200 * **SF:** Spreading Factor : SF7/SF8/SF9/SF10/SF11/SF12 201 201 * **Frequency:** Transmit Frequency: example: 923300000 202 202 * **rxwindow:** transmit on Rx1Window or Rx2Window. 203 -* **Fport: **Transmit port,example:8 204 204 213 + 214 + 205 205 (% style="color:blue" %)**Completely exmaple:** 206 206 207 207 * **Old version:** echo 018193F4,imme,hex,0101 > /var/iot/push/test 208 -* **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 209 209 220 + 221 + 210 210 (% style="color:#037691" %)**Downstream Frequency:** 211 211 212 212 The LG308 will use the RX2 window info to send the downstream payload, use the default LoRaWAN settings, as below: ... ... @@ -220,6 +220,8 @@ 220 220 * IN865: 866.55Mhz, SF10 BW125 221 221 * RU864: 869.1Mhz, SF12 BW125 222 222 235 + 236 + 223 223 (% style="color:#037691" %)**Examples:** 224 224 225 225 (% class="box" %) ... ... @@ -268,6 +268,7 @@ 268 268 ))) 269 269 270 270 285 + 271 271 = 3. Example 1: Communicate with LT-22222-L = 272 272 273 273 ... ... @@ -350,6 +350,7 @@ 350 350 Output from LPS8 351 351 352 352 368 + 353 353 = 4. Example 2: Communicate to TCP Server = 354 354 355 355