Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
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. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -15,8 +15,6 @@ 15 15 ((( 16 16 **This page shows the common commands since Dragino LoRaWAN stack DR-LWS-005. Make sure the end node support stack higher than DR-LWS-005 before checking this page.** 17 17 18 - 19 - 20 20 ))) 21 21 22 22 = 2. How to use AT Commands or Downlink command = ... ... @@ -30,7 +30,6 @@ 30 30 31 31 32 32 33 - 34 34 = 3. Support End Node and firmware version = 35 35 36 36 ... ... @@ -155,10 +155,10 @@ 155 155 156 156 (% style="color:blue" %)**AT Command: ATZ** 157 157 158 -(% border="1" style="background-color:#ffffcc; color:green; width: 546px" %)159 -|=(% colspan="3" style="width: 543px;"%)ATZ: Trig a reset of the MCU160 -| (% style="width:157px" %)**Command Example**|(% style="width:92px" %)**Function**|(% style="width:294px" %)**Response**161 -| (% style="width:157px" %)ATZ|(% style="width:92px" %)Reset MCU|(% style="width:294px" %)(((155 +(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 156 +|=(% colspan="3" %)ATZ: Trig a reset of the MCU 157 +|**Command Example**|**Function**|**Response** 158 +|ATZ|Reset MCU|((( 162 162 Device reset and show booting info 163 163 164 164 LSN50 Device/LoRa ST Module ... ... @@ -181,7 +181,6 @@ 181 181 ((( 182 182 If the downlink payload=**04FF**, the end node will reboot. 183 183 184 - 185 185 186 186 ))) 187 187 ... ... @@ -193,10 +193,10 @@ 193 193 194 194 (% style="color:blue" %)**AT Command: AT+FDR** 195 195 196 -(% border="1" style="background-color:#ffffcc; color:green; width: 789px" %)197 -|=(% colspan="3" style="width: 786px;" %)Reset to factory default198 -|(% style="width:1 54px" %)**Command Example**|(% style="width:175px" %)**Function**|(% style="width:456px" %)**Response**199 -|(% style="width:1 54px" %)AT+FDR|(% style="width:175px" %)Reset to factory default|(% style="width:456px" %)(((192 +(% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %) 193 +|=(% colspan="3" style="width: 828px;" %)Reset to factory default 194 +|(% style="width:181px" %)**Command Example**|(% style="width:181px" %)**Function**|(% style="width:465px" %)**Response** 195 +|(% style="width:181px" %)AT+FDR|(% style="width:181px" %)Reset to factory default|(% style="width:465px" %)((( 200 200 Device reset to factory default parameters and show booting info 201 201 202 202 LSN50 Device/LoRa ST Module ... ... @@ -221,7 +221,6 @@ 221 221 ))) 222 222 223 223 224 - 225 225 == 4.4 Show Firmware Version == 226 226 227 227 ... ... @@ -230,10 +230,10 @@ 230 230 231 231 (% style="color:blue" %)**AT Command: AT+VER** 232 232 233 -(% border="1" style="background-color:#ffffcc; color:green; width:5 42px" %)234 -|=(% colspan="3" style="width: 53 9px;" %)AT+VER: Image Version and Frequency Band235 -|(% style="width:1 57px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:86px" %)**Response**236 -|(% style="width:1 57px" %)AT+VER=?|(% style="width:295px" %)Show Image version and Frequency Band|(% style="width:86px" %)(((228 +(% border="1" style="background-color:#ffffcc; color:green; width:586px" %) 229 +|=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band 230 +|(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response** 231 +|(% style="width:170px" %)AT+VER=?|(% style="width:300px" %)Show Image version and Frequency Band|(% style="width:113px" %)((( 237 237 1.3 EU868 238 238 239 239 OK ... ... @@ -286,7 +286,6 @@ 286 286 firmware version: v1.1.0 ~-~-> 110 287 287 288 288 289 - 290 290 == 4.5 Show System Configure == 291 291 292 292 ... ... @@ -313,7 +313,6 @@ 313 313 ))) 314 314 315 315 316 - 317 317 = 5. Keys, IDs and EUIs management = 318 318 319 319 ... ... @@ -334,7 +334,6 @@ 334 334 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 335 335 336 336 337 - 338 338 == 5.2 Application Key == 339 339 340 340 ... ... @@ -352,7 +352,6 @@ 352 352 |(% style="width:441px" %)AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|(% style="width:180px" %)Set the Application Key|(% style="width:350px" %)OK 353 353 354 354 355 - 356 356 == 5.3 Application Session Key == 357 357 358 358 ... ... @@ -372,7 +372,6 @@ 372 372 ))) 373 373 374 374 375 - 376 376 == 5.4 Device Address == 377 377 378 378 ... ... @@ -392,7 +392,6 @@ 392 392 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 393 393 394 394 395 - 396 396 == 5.5 Device EUI == 397 397 398 398 ... ... @@ -412,7 +412,6 @@ 412 412 ))) 413 413 414 414 415 - 416 416 == 5.6 Network ID == 417 417 418 418 ... ... @@ -430,7 +430,6 @@ 430 430 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 431 431 432 432 433 - 434 434 == 5.7 Network Session Key == 435 435 436 436 ... ... @@ -448,7 +448,6 @@ 448 448 |(% style="width:455px" %)AT+NWKSKEY=A8 40 41 FF FF 12 34 56 00 01 02 04 05 06 06 07|(% style="width:215px" %)Set the Network Session Key.|(% style="width:343px" %)OK 449 449 450 450 451 - 452 452 = 6. Joining and sending date on LoRaWAN network = 453 453 454 454 ... ... @@ -546,7 +546,6 @@ 546 546 ))) 547 547 548 548 549 - 550 550 == 6.3 Join LoRa® Network == 551 551 552 552 ... ... @@ -565,7 +565,6 @@ 565 565 ))) 566 566 567 567 568 - 569 569 == 6.4 LoRa® Network Join Mode == 570 570 571 571 ... ... @@ -610,7 +610,6 @@ 610 610 ))) 611 611 612 612 613 - 614 614 == 6.6 Print Last Received Data in Raw Format == 615 615 616 616 ... ... @@ -627,7 +627,6 @@ 627 627 ))) 628 628 629 629 630 - 631 631 == 6.7 Print Last Received Data in Binary Format == 632 632 633 633 ... ... @@ -644,7 +644,6 @@ 644 644 ))) 645 645 646 646 647 - 648 648 == 6.8 Send Text Data == 649 649 650 650 ... ... @@ -665,7 +665,6 @@ 665 665 ))) 666 666 667 667 668 - 669 669 == 6.9 Send Hexadecimal Data == 670 670 671 671 ... ... @@ -685,7 +685,6 @@ 685 685 ))) 686 686 687 687 688 - 689 689 = 7. LoRaWAN network management = 690 690 691 691 ... ... @@ -736,7 +736,6 @@ 736 736 ))) 737 737 738 738 739 - 740 740 == 7.3 Duty Cycle Setting == 741 741 742 742 ... ... @@ -756,7 +756,6 @@ 756 756 ))) 757 757 758 758 759 - 760 760 == 7.4 Data Rate == 761 761 762 762 ... ... @@ -803,7 +803,6 @@ 803 803 ))) 804 804 805 805 806 - 807 807 == 7.6 Frame Counter Uplink == 808 808 809 809 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -822,7 +822,6 @@ 822 822 ))) 823 823 824 824 825 - 826 826 == 7.7 Join Accept Delay1 == 827 827 828 828 ... ... @@ -842,7 +842,6 @@ 842 842 ))) 843 843 844 844 845 - 846 846 == 7.8 Join Accept Delay2 == 847 847 848 848 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -861,13 +861,12 @@ 861 861 ))) 862 862 863 863 864 - 865 865 == 7.9 Public Network Mode == 866 866 867 867 868 868 Feature: Get or Set the public network mode. (0: off, 1: on). A Public LoRaWAN network use 0x34 as syncword. Default Settings; PNM=1 869 869 870 -(% style="color:red" %) **Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network.**843 +(% style="color:red" %)Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network 871 871 872 872 873 873 (% style="color:blue" %)**AT Command:AT+PNM** ... ... @@ -890,7 +890,6 @@ 890 890 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 891 891 892 892 893 - 894 894 == 7.10 Receive Delay1 == 895 895 896 896 ... ... @@ -910,7 +910,6 @@ 910 910 ))) 911 911 912 912 913 - 914 914 == 7.11 Receive Delay2 == 915 915 916 916 ... ... @@ -930,7 +930,6 @@ 930 930 ))) 931 931 932 932 933 - 934 934 == 7.12 Rx2 Window Data Rate == 935 935 936 936 ... ... @@ -950,7 +950,6 @@ 950 950 ))) 951 951 952 952 953 - 954 954 == 7.13 Rx2 Window Frequency == 955 955 956 956 ... ... @@ -970,7 +970,6 @@ 970 970 ))) 971 971 972 972 973 - 974 974 == 7.14 Transmit Power == 975 975 976 976 ... ... @@ -1016,7 +1016,6 @@ 1016 1016 ))) 1017 1017 1018 1018 1019 - 1020 1020 == 7.16 SNR of the Last Received Packet == 1021 1021 1022 1022 ... ... @@ -1033,7 +1033,6 @@ 1033 1033 ))) 1034 1034 1035 1035 1036 - 1037 1037 == 7.17 Application Port == 1038 1038 1039 1039 ... ... @@ -1060,8 +1060,6 @@ 1060 1060 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 1061 1061 1062 1062 1063 - 1064 - 1065 1065 == 7.18 Single Channel Mode == 1066 1066 1067 1067 ... ... @@ -1079,10 +1079,8 @@ 1079 1079 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1080 1080 1081 1081 1082 - 1083 1083 == 7.19 Eight Channel Mode == 1084 1084 1085 - 1086 1086 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. 1087 1087 1088 1088 ... ... @@ -1159,7 +1159,6 @@ 1159 1159 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1160 1160 1161 1161 1162 - 1163 1163 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1164 1164 1165 1165 ... ... @@ -1259,8 +1259,6 @@ 1259 1259 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1260 1260 1261 1261 1262 - 1263 - 1264 1264 == 7.25 Device offline rejoining (LWS007) == 1265 1265 1266 1266 ... ... @@ -1306,8 +1306,6 @@ 1306 1306 * **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1307 1307 1308 1308 1309 - 1310 - 1311 1311 == 7.26 Request the server to send an ACK == 1312 1312 1313 1313 ... ... @@ -1326,7 +1326,6 @@ 1326 1326 ))) 1327 1327 1328 1328 1329 - 1330 1330 == 7.27 Adjust network rejoining interval == 1331 1331 1332 1332 ... ... @@ -1354,8 +1354,6 @@ 1354 1354 * **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1355 1355 1356 1356 1357 - 1358 - 1359 1359 = 8. AT Commands Combination = 1360 1360 1361 1361 ... ... @@ -1366,8 +1366,6 @@ 1366 1366 * **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1367 1367 1368 1368 1369 - 1370 - 1371 1371 == 8.2 Use Downlink Command to set a fix uplink DR == 1372 1372 1373 1373 ... ... @@ -1378,6 +1378,3 @@ 1378 1378 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1379 1379 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1380 1380 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1381 - 1382 - 1383 -