Changes for page Switch LoRaWAN server by rejoin feature
Last modified by Xiaoling on 2024/05/20 09:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -4,19 +4,19 @@ 4 4 5 5 6 6 7 += 1. Introduction = 7 7 8 8 10 +This chapter describes how to switch LoRaWAN server by rejoin feature. 9 9 10 -= 1. introduction = 11 11 12 - ThischapterdescribesswitchLoRaWAN serverbyrejoin feature.13 += 2. What is the rejoin feature? = 13 13 14 14 15 - =2.What is the rejoinfeature?=16 +Rejoin feature is that if the ACK packet sent by the platform to the node is not received within the set time range, the offline detection will be started. 16 16 17 -rejoin feature is that if the ACK packet sent by the platform to the node is not received within the set time range, the offline detection will be started. 18 18 19 -== 2.1 offlinerejoining(LWS007) ==19 +== 2.1 Offline Rejoining(LWS007) == 20 20 21 21 22 22 (% style="color:blue" %)**AT Command: AT+DDETECT** ... ... @@ -64,21 +64,18 @@ 64 64 If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 32. 65 65 66 66 * **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 67 +** **0x01 : **Flag 68 +** **0x05A0 **: ACK_Timout_1 : 1440minutes (24 hours) 69 +** **0x0B40 **: ACK_Timout_2 : 2880minutes (48 hours) 70 +* **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join. 67 67 68 -* 69 -** 0x01** : Flag** 70 70 71 - **0x05A0 **: ACK_Timout_1 : 1440minutes (24 hours) 72 72 73 - **0x0B40 **: ACK_Timout_2 : 2880minutes (48 hours) 74 - 75 -* **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join. 76 - 77 77 == 2.2 Change Uplink Interval == 78 78 76 + 79 79 Feature: Change LoRaWAN End Node Transmit Interval. 80 80 81 - 82 82 (% style="color:blue" %)**AT Command: AT+TDC** 83 83 84 84 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:727.222px" %) ... ... @@ -111,6 +111,7 @@ 111 111 112 112 = 3. Examples and Explanations = 113 113 111 + 114 114 (% style="color:blue" %)**Switching platforms by rejoin function: Use device LHT65N to switch from TTN to ChirpStack as an example.** 115 115 116 116 The following example shows the parameters of the LHT65N. Users need to check the Wiki instructions to confirm the parameters of the equipment they have purchased. ... ... @@ -119,6 +119,7 @@ 119 119 120 120 == 3.1 Configure appropriate operation times == 121 121 120 + 122 122 (% style="color:blue" %)**Firstly, the user sent downlink commands through the original registration platform (TTN) to modify the required TDC time and offline detection time.**(%%) 123 123 124 124 (% style="color:red" %)**Note: Users need to set the TDC time shorter than the offline detection ACK_Timeout_1, the best offline detection time is more than twice the TDC time.** ... ... @@ -128,6 +128,7 @@ 128 128 129 129 [[image:image-20231123170814-4.png||height="631" width="696"]] 130 130 130 + 131 131 (% style="color:red" %)**Note: When configuring the device using downlink commands, you need to wait for the original TDC time, and the platform plans downlink after the end node complete uplink.** 132 132 133 133 TDC changed successfully: ... ... @@ -168,9 +168,10 @@ 168 168 169 169 == 3.3 Restore the default TDC time and the default offline detection time == 170 170 171 + 171 171 * (% style="color:blue" %)**It is recommended to restore the factory reset directly:** 172 172 173 -(% style="color:red" %)** downlink payload: 0x04FE**174 +(% style="color:red" %)** Downlink payload: 0x04FE** 174 174 175 175 [[image:image-20231124114451-10.png||height="377" width="826"]] 176 176 ... ... @@ -177,12 +177,22 @@ 177 177 [[image:image-20231124115256-11.png||height="409" width="767"]] 178 178 179 179 181 +After the delivery is successful, the node is connected to the network again and factory Settings are restored. 182 + 183 +[[image:image-20231124141041-1.png||height="395" width="801"]] 184 + 185 +[[image:image-20231124141141-2.png||height="460" width="802"]] 186 + 187 + 180 180 * (% style="color:blue" %)**If the device has other configurations to keep, users can also choose to configure the default TDC and default offline detection time separately.** 181 181 190 +[[image:image-20231124142829-4.png||height="451" width="626"]] 182 182 183 183 193 +[[image:image-20231124142645-3.png||height="452" width="622"]] 184 184 185 185 196 +(% style="color:red" %)**Note: To set these two commands separately, users must restore the default offline detection time before configuring the default TDC time.** 186 186 187 187 188 188 ... ... @@ -190,4 +190,5 @@ 190 190 191 191 192 192 204 + 193 193
- image-20231124142829-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.6 KB - Content