<
From version < 17.1 >
edited by Edwin Chen
on 2022/08/23 12:02
To version < 14.1 >
edited by Xiaoling
on 2022/07/13 18:32
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -15,13 +15,11 @@
15 15  Unencrypt Network modified from LoRaWAN
16 16  
17 17  
18 -
19 19  = 2. Analyze the LoRaWAN packet =
20 20  
21 21  
22 22  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.
23 23  
24 -
25 25  [[image:image-20220527090005-2.png]]
26 26  
27 27  UDP Server
... ... @@ -41,8 +41,6 @@
41 41  
42 42  (((
43 43  Below is an example, from
44 -
45 -
46 46  )))
47 47  
48 48  [[image:image-20220527090122-4.png]]
... ... @@ -59,6 +59,9 @@
59 59  * OTAA: Over the air activation. In this mode, the end node will send a Join Request to server, server will reply with a Join Accept and the end node will parse this Join Accept message to get the Dev Addr / APP Session Key(AppSkey / Network Session Key(NwkSKey). Because the AppSkey and NwkSkey is dynamic, OTAA mode provide more security.
60 60  * 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
61 61  
58 +
59 +
60 +
62 62  = 4. Get and decode the packet =
63 63  
64 64  
... ... @@ -67,6 +67,9 @@
67 67  1. Setting the end node to ABP mode
68 68  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]]
69 69  
69 +
70 +
71 +
70 70  = 5. Use an unencrypt firmware =
71 71  
72 72  
... ... @@ -79,14 +79,9 @@
79 79  [[image:image-20220527090341-5.png]]
80 80  
81 81  Unencrypt packet
84 +
82 82  
83 83  
84 -Note: In some device's firmware . There is a AT Command to Disable Encryption. See below:
85 -
86 -* AT+DECRYPT=1 The payload is uploaded without encryption
87 -* AT+DECRYPT=0 Encrypt when uploading payload (default)
88 -
89 -
90 90  = 6. limitation =
91 91  
92 92  
... ... @@ -95,5 +95,3 @@
95 95  * No security.
96 96  * No Downlink
97 97  * Only use for ABP
98 -
99 -
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0