<
From version < 13.1 >
edited by Xiaoling
on 2022/07/13 18:16
To version < 16.1 >
edited by Edwin Chen
on 2022/08/23 11:59
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
Content
... ... @@ -15,11 +15,13 @@
15 15  Unencrypt Network modified from LoRaWAN
16 16  
17 17  
18 +
18 18  = 2. Analyze the LoRaWAN packet =
19 19  
20 20  
21 21  If the gateway is connected to LoRaWAN server via UDP packet fordward. We can set the server address to a UDP server to get the LoRaWAN packets.
22 22  
24 +
23 23  [[image:image-20220527090005-2.png]]
24 24  
25 25  UDP Server
... ... @@ -39,6 +39,8 @@
39 39  
40 40  (((
41 41  Below is an example, from
44 +
45 +
42 42  )))
43 43  
44 44  [[image:image-20220527090122-4.png]]
... ... @@ -46,6 +46,7 @@
46 46  Decode the packet
47 47  
48 48  
53 +
49 49  = 3. Difference between OTAA and ABP mode =
50 50  
51 51  
... ... @@ -55,8 +55,6 @@
55 55  * ABP: Activation by personalization. There is no hand-shake with LoRaWAN server for activition. The end node will use fix Dev Addr / APP Session Key(AppSkey / Network Session Key(NwkSKey) to upload the packet. So the packet can be decode if someone know these fix keys
56 56  
57 57  
58 -
59 -
60 60  = 4. Get and decode the packet =
61 61  
62 62  
... ... @@ -66,8 +66,6 @@
66 66  1. Add decode program and add the keys of the sensor. So to get the payload. There is an example for such application, see [[Communication with ABP End Node>>Communicate with ABP End Node without LoRaWAN Network Server --- LG308]]
67 67  
68 68  
69 -
70 -
71 71  = 5. Use an unencrypt firmware =
72 72  
73 73  
... ... @@ -80,8 +80,14 @@
80 80  [[image:image-20220527090341-5.png]]
81 81  
82 82  Unencrypt packet
83 -
84 84  
85 +
86 +Note: In the new firmware with 007 stack . There is a AT Command to Disable Encryption. See below:
87 +
88 +* AT+DECRYPT=1 The payload is uploaded without encryption
89 +* AT+DECRYPT=0 Encrypt when uploading payload (default)
90 +
91 +
85 85  = 6. limitation =
86 86  
87 87  
... ... @@ -90,3 +90,5 @@
90 90  * No security.
91 91  * No Downlink
92 92  * Only use for ABP
100 +
101 +
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0