<
From version < 3.3 >
edited by Xiaoling
on 2022/05/27 16:14
To version < 1.11 >
edited by Xiaoling
on 2022/05/12 18:09
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,19 +11,18 @@
11 11  * 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>>url:https://wiki.dragino.com/index.php/MQTT_Forward_Instruction]]).
12 12  
13 13  (((
14 -The basic of this feature is the decoding of (% style="color:red" %)**LoRaWAN ABP End Node**(%%). Requirements:
14 +The basic of this feature is the decoding of **LoRaWAN ABP End Node**. Requirements:
15 15  )))
16 16  
17 17  1. LoRaWAN End Node in ABP mode. Make sure your end node works in this mode. End node most are default set to OTAA mode
18 18  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]]
19 -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/]](%%)**
19 +1. Firmware version for below instruction:[[Since LG02_LG08~~-~~-build-v5.4.1593400722-20200629-1120>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
20 20  
21 21  = 2. How it works =
22 22  
23 23  
24 -(% style="color:#037691" %)**Video Instruction**(%%)**[[https:~~/~~/youtu.be/ZBjXwmp7rwM>>url:https://youtu.be/ZBjXwmp7rwM]]**
24 +**Video Instruction**: [[https:~~/~~/youtu.be/ZBjXwmp7rwM>>url:https://youtu.be/ZBjXwmp7rwM]]
25 25  
26 -
27 27  Assume we have the LoRaWAN tracker LGT92 which works in ABP mode and US915 band. It has below keys:
28 28  
29 29  (% class="box infomessage" %)
... ... @@ -39,7 +39,7 @@
39 39  
40 40  We need to input above keys in LG308 and enable ABP decryption.
41 41  
42 -[[image:image-20220527161119-1.png]]
41 +[[image:https://wiki.dragino.com/images/thumb/5/55/LG308_MQTT_1.png/600px-LG308_MQTT_1.png||height="329" width="600"]]
43 43  
44 44  Input the ABP keys in LG308
45 45  
... ... @@ -52,7 +52,7 @@
52 52  We can see the log of LG308 to know this packet arrive
53 53  )))
54 54  
55 -[[image:image-20220527161149-2.png]]
54 +[[image:https://wiki.dragino.com/images/thumb/1/16/ABP_DECODE_2.png/600px-ABP_DECODE_2.png||height="205" width="600"]]
56 56  
57 57  LG308 log by "logread -f" command
58 58  
... ... @@ -62,8 +62,8 @@
62 62  (% class="box" %)
63 63  (((
64 64  root@dragino-1d25dc:~~# hexdump /var/iot/channels/2602111D
65 -0000000 (% style="color:#037691" %)**4646 4646 4646 3946 3030 3030 3030 3546**(%%)      ~-~-> Got RSSI and SNR    
66 -0000010 (% style="color:#037691" %)**cc0c 0b63 0266 017f ff7f ff00 **(%%) ~-~-> Payload
64 +0000000 (% class="mark" %)**4646 4646 4646 3946 3030 3030 3030 3546**(%%)      ~-~-> Got RSSI and SNR    
65 +0000010 (% class="mark" %)**cc0c 0b63 0266 017f ff7f ff00 **(%%) ~-~-> Payload
67 67  000001c
68 68  )))
69 69  
... ... @@ -73,8 +73,8 @@
73 73  
74 74  (% class="box" %)
75 75  (((
76 -(% 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:
77 -in LGT92, use **(% style="color:#037691" %)AT+SEND=12:hello world** (%%)to send ASCII string
75 +(% class="mark" %)**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:
76 +in LGT92, use **AT+SEND=12**:hello world to send ASCII string
78 78  root@dragino-1d25dc:~~# hexdump /var/iot/channels/2602111D
79 79  0000000 4646 4646 4646 3946 3030 3030 3030 3546
80 80  0000010 6865 6c6c 6f20 776f 726c 6400      ~-~-> Got ASCII code "hello world"    
... ... @@ -83,7 +83,7 @@
83 83  
84 84  (% class="box" %)
85 85  (((
86 -(% style="color:#037691" %)**Notice 2**(%%): The upstream payload length should match the LoRaWAN length requirement (max length depends on Frequency and DR), otherwise the gateway can't decode the payload.
85 +(% class="mark" %)**Notice 2**(%%): The upstream payload length should match the LoRaWAN length requirement (max length depends on Frequency and DR), otherwise the gateway can't decode the payload.
87 87  )))
88 88  
89 89  === 2.2.1 Decode Method ===
... ... @@ -328,8 +328,9 @@
328 328  
329 329  (% class="mark" %)**Video Instruction**: [[https:~~/~~/youtu.be/-nevW6U2TsE>>url:https://youtu.be/-nevW6U2TsE]]
330 330  
331 -(% class="mark" %)**Note: Firmware version must be higher than lgw-5.4.1607519907**
332 332  
331 +Note: Firmware version must be higher than lgw-5.4.1607519907
332 +
333 333  Assume we already set up ABP keys in the gateway:
334 334  
335 335  [[image:https://wiki.dragino.com/images/thumb/b/bf/LPS8_LT-22222_1.png/600px-LPS8_LT-22222_1.png||height="335" width="600"]]
image-20220527161119-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -128.8 KB
Content
image-20220527161149-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -103.9 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0