Changes for page End Device AT Commands and Downlink Command
Last modified by Mengting Qiu on 2025/07/08 16:32
From version 84.1
edited by Mengting Qiu
on 2025/07/01 15:53
on 2025/07/01 15:53
Change comment:
There is no comment for this version
To version 66.1
edited by Edwin Chen
on 2024/04/27 09:17
on 2024/04/27 09:17
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Edwin - Content
-
... ... @@ -18,12 +18,6 @@ 18 18 ))) 19 19 20 20 21 - 22 - 23 - 24 - 25 - 26 - 27 27 = 2. How to use AT Commands or Downlink command = 28 28 29 29 ... ... @@ -231,11 +231,11 @@ 231 231 (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)** 232 232 233 233 ((( 234 -Format: CommandCode (0x26) followed by 1 byte.228 +Downlink Format: 0x26 235 235 ))) 236 236 237 237 ((( 238 - If the downlink payload=**2601, **Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes( FPort= 5 usually).232 +Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes 239 239 ))) 240 240 241 241 ((( ... ... @@ -261,9 +261,9 @@ 261 261 * 0x05: KZ865 262 262 * 0x06: RU864 263 263 * 0x07: AS923 264 -* 0x08: AS923- 2265 -* 0x09: AS923- 3266 -* 0xa0: AS923- 4258 +* 0x08: AS923-1 259 +* 0x09: AS923-2 260 +* 0xa0: AS923-3 267 267 268 268 ((( 269 269 ... ... @@ -295,35 +295,6 @@ 295 295 296 296 (% style="display:none" %) (%%) 297 297 298 -== 4.6 Set time synchronization method(The network server must support LoRaWAN v1.0.3) == 299 - 300 - 301 -Feature: Set the system time synchronization. 302 - 303 -(% style="color:blue" %)**AT Command: AT+SYNCMOD** 304 - 305 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:532.778px" %) 306 -|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:216px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:148px" %)**Response** 307 -|(% style="width:165px" %)AT+SYNCMOD=?|(% style="width:216px" %)Get the current time synchronization configuration|(% style="width:148px" %)((( 308 -1 (Default) 309 - 310 -((( 311 -OK 312 -))) 313 -))) 314 -|(% style="width:165px" %)AT+SYNCMOD=0|(% style="width:216px" %)Disenable system time synchronization.|(% style="width:148px" %)OK 315 -|(% style="width:165px" %)AT+SYNCMOD=1|(% style="width:216px" %)Enable system time synchronization.|(% style="width:148px" %)OK 316 - 317 -(% style="color:blue" %)**Downlink Command: 0x28 ** 318 - 319 -Format: Command Code (0x28) followed by 1 byte. 320 - 321 -* Example 1: 28 00 ~/~/Equal to AT+SYNCMOD=0 322 -* Example 2: 28 01 ~/~/Equal to AT+SYNCMOD=1 323 - 324 -(% style="color:red" %)**Note: This command takes effect after the node is reset, or after downlink 0x2601(query device status).** 325 - 326 - 327 327 = 5. Keys, IDs and EUIs management = 328 328 329 329 == 5.1 Application EUI == ... ... @@ -473,7 +473,7 @@ 473 473 474 474 (% style="color:blue" %)**Downlink Command: 0x05** 475 475 476 -Format: Command Code (0x05) followed by 1byte mode value.441 +Format: Command Code (0x05) followed by 2 bytes mode value. 477 477 478 478 If the downlink payload=0501, it means set end node to use confirm mode, while type code is 05. 479 479 ... ... @@ -520,7 +520,7 @@ 520 520 521 521 (% style="color:blue" %)**Downlink Command: 0x05** 522 522 523 -Format: Command Code (0x05) followed by 3bytes mode value.488 +Format: Command Code (0x05) followed by 2 bytes mode value. 524 524 525 525 If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05. 526 526 ... ... @@ -961,7 +961,7 @@ 961 961 == 7.14 Transmit Power == 962 962 963 963 964 -Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dB m, 41 = 11dBm, …, 50 = 20dBmwhich is out of LoRaWAN spec. )929 +Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dB, 41 = 11dB, …, 50 = 20dB which is out of LoRaWAN spec. ) 965 965 966 966 (% style="color:red" %)**Notice: Transmit Power might be changed by ADR from LoRaWAN server. So manually change TXP also remember to set AT+ADR=0 in sensor** 967 967 ... ... @@ -1119,22 +1119,7 @@ 1119 1119 Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink. 1120 1120 ))) 1121 1121 1122 -**Example:** 1123 -~1. Set AT+RX1WTO=0, AT+RX1DL=5000, the window opening time is: 53.699ms 1124 1124 1125 -[[image:image-20240906095336-1.png||height="404" width="759"]] 1126 - 1127 - 1128 -2. Set AT+RX1WTO=128, AT+RX1DL=5000, the window opening time is: 149.644ms 1129 - 1130 -[[image:image-20240906095433-2.png||height="403" width="756"]] 1131 - 1132 - 1133 -3. Set AT+RX1WTO=128, AT+RX1DL=5000, the window opening time is: 298.221ms 1134 - 1135 -[[image:image-20240906095527-3.png||height="400" width="749"]] 1136 - 1137 - 1138 1138 == 7.21 Get or Set RXwindows2 timeout == 1139 1139 1140 1140 ... ... @@ -1150,22 +1150,8 @@ 1150 1150 ))) 1151 1151 |(% style="width:162px" %)AT+RX2WTO=20|(% style="width:192px" %)Set RXwindows2 timeout|(% style="width:90px" %)OK 1152 1152 1153 -**Example:** 1154 -~1. Set AT+RX2WTO=0, AT+RX2DL=6000, the window opening time is: 48.435ms 1103 +(% style="display:none" %) (%%) 1155 1155 1156 -(% style="display:none" %) (%%) [[image:image-20240906095619-4.png||height="375" width="703"]] 1157 - 1158 - 1159 -2. Set AT+RX2WTO=128, AT+RX2DL=6000, the window opening time is: 3011ms 1160 - 1161 -[[image:image-20240906095726-5.png||height="381" width="714"]] 1162 - 1163 - 1164 -3. Set AT+RX2WTO=255, AT+RX2DL=6000, the window opening time is: 3009ms 1165 - 1166 -[[image:image-20240906095811-6.png||height="380" width="711"]] 1167 - 1168 - 1169 1169 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1170 1170 1171 1171 ... ... @@ -1321,7 +1321,7 @@ 1321 1321 1322 1322 * **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1323 1323 1324 -* 1260 +* 1325 1325 ** 0x01** : Flag** 1326 1326 1327 1327 **0x05A0 **: ACK_Timout_1 : 1440minutes (24 hours) ... ... @@ -1335,16 +1335,14 @@ 1335 1335 == 7.26 Request the server to send an ACK == 1336 1336 1337 1337 1338 -Feature: Mode for sending data for which acknowledgment was not received. LoraWAN Network Server(eg. The Things NetWork/ChirpStack/AWS/...). 1339 - 1340 1340 (% style="color:blue" %)**AT Command: AT+PNACKMD** 1341 1341 1342 1342 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:889px" %) 1343 1343 |(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:627px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response** 1344 -|(% style="width:160px" %)AT+PNACKMD=1|(% style="width:627px" %)If the node uploads the ACK as confirm, it will request the LoraWAN Network Server to send an ACK. If theLoraWAN Network Server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:100px" %)1(((1278 +|(% style="width:160px" %)AT+PNACKMD=1|(% style="width:627px" %)If the node uploads the ACK as confirm, it will request the server to send an ACK. If the server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:100px" %)1((( 1345 1345 OK 1346 1346 ))) 1347 -|(% style="width:160px" %)AT+PNACKMD=0 (Default)|(% style="width:627px" %)off request theLoraWAN Network Server to send an ACK|(% style="width:100px" %)(((1281 +|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:627px" %)off request the server to send an ACK|(% style="width:100px" %)((( 1348 1348 0 1349 1349 OK 1350 1350 )))
- image-20240906095336-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -111.0 KB - Content
- image-20240906095433-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -113.2 KB - Content
- image-20240906095527-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -111.6 KB - Content
- image-20240906095619-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -112.4 KB - Content
- image-20240906095726-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -114.0 KB - Content
- image-20240906095811-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -112.8 KB - Content