Changes for page How to send none encryption LoRaWAN Packet
Last modified by Xiaoling on 2023/04/19 17:49
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. Edwin1 +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]] ... ... @@ -50,7 +50,6 @@ 50 50 Decode the packet 51 51 52 52 53 - 54 54 = 3. Difference between OTAA and ABP mode = 55 55 56 56 ... ... @@ -60,6 +60,8 @@ 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 62 62 58 + 59 + 63 63 = 4. Get and decode the packet = 64 64 65 65 ... ... @@ -69,6 +69,8 @@ 69 69 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]] 70 70 71 71 69 + 70 + 72 72 = 5. Use an unencrypt firmware = 73 73 74 74 ... ... @@ -81,14 +81,8 @@ 81 81 [[image:image-20220527090341-5.png]] 82 82 83 83 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 - 92 92 = 6. limitation = 93 93 94 94 ... ... @@ -97,5 +97,3 @@ 97 97 * No security. 98 98 * No Downlink 99 99 * Only use for ABP 100 - 101 -