Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -27,8 +27,6 @@ 27 27 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 28 28 29 29 30 - 31 - 32 32 = 3. Support End Node and firmware version = 33 33 34 34 ... ... @@ -103,9 +103,6 @@ 103 103 ))) 104 104 ))) 105 105 106 - 107 - 108 - 109 109 = 4. System Management Commands = 110 110 111 111 ... ... @@ -145,8 +145,6 @@ 145 145 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 146 146 147 147 148 - 149 - 150 150 == 4.2 Reboot End Node == 151 151 152 152 ... ... @@ -261,6 +261,7 @@ 261 261 ((( 262 262 263 263 257 + 264 264 **yy: Frequency Band:** 265 265 ))) 266 266 ... ... @@ -278,6 +278,7 @@ 278 278 ((( 279 279 280 280 275 + 281 281 **zz: Subband** 282 282 ))) 283 283 ... ... @@ -310,7 +310,6 @@ 310 310 ))) 311 311 312 312 313 - 314 314 = 5. Keys, IDs and EUIs management = 315 315 316 316 ... ... @@ -331,7 +331,6 @@ 331 331 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 332 332 333 333 334 - 335 335 == 5.2 Application Key == 336 336 337 337 ... ... @@ -349,7 +349,6 @@ 349 349 |(% 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 350 350 351 351 352 - 353 353 == 5.3 Application Session Key == 354 354 355 355 ... ... @@ -369,7 +369,6 @@ 369 369 ))) 370 370 371 371 372 - 373 373 == 5.4 Device Address == 374 374 375 375 ... ... @@ -389,7 +389,6 @@ 389 389 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 390 390 391 391 392 - 393 393 == 5.5 Device EUI == 394 394 395 395 ... ... @@ -409,7 +409,6 @@ 409 409 ))) 410 410 411 411 412 - 413 413 == 5.6 Network ID == 414 414 415 415 ... ... @@ -427,7 +427,6 @@ 427 427 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 428 428 429 429 430 - 431 431 == 5.7 Network Session Key == 432 432 433 433 ... ... @@ -445,7 +445,6 @@ 445 445 |(% 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 446 446 447 447 448 - 449 449 = 6. Joining and sending date on LoRaWAN network = 450 450 451 451 ... ... @@ -480,7 +480,6 @@ 480 480 481 481 482 482 483 - 484 484 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 485 485 486 486 ... ... @@ -528,7 +528,6 @@ 528 528 529 529 530 530 531 - 532 532 == 6.2 Confirm Status == 533 533 534 534 ... ... @@ -545,7 +545,6 @@ 545 545 ))) 546 546 547 547 548 - 549 549 == 6.3 Join LoRa® Network == 550 550 551 551 ... ... @@ -564,7 +564,6 @@ 564 564 ))) 565 565 566 566 567 - 568 568 == 6.4 LoRa® Network Join Mode == 569 569 570 570 ... ... @@ -593,7 +593,6 @@ 593 593 594 594 595 595 596 - 597 597 == 6.5 LoRa® Network Join Status == 598 598 599 599 ... ... @@ -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 ... ... @@ -708,7 +708,6 @@ 708 708 AT_PARAM_ERROR 709 709 ))) 710 710 711 - 712 712 (% style="color:blue" %)**Downlink Command: 0x22** 713 713 714 714 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -718,7 +718,6 @@ 718 718 719 719 720 720 721 - 722 722 == 7.2 LoRa® Class == 723 723 724 724 ... ... @@ -738,7 +738,6 @@ 738 738 ))) 739 739 740 740 741 - 742 742 == 7.3 Duty Cycle Setting == 743 743 744 744 ... ... @@ -758,7 +758,6 @@ 758 758 ))) 759 759 760 760 761 - 762 762 == 7.4 Data Rate == 763 763 764 764 ... ... @@ -777,7 +777,6 @@ 777 777 778 778 ))) 779 779 780 - 781 781 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 782 782 783 783 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -787,7 +787,6 @@ 787 787 788 788 789 789 790 - 791 791 == 7.5 Frame Counter Downlink == 792 792 793 793 ... ... @@ -807,7 +807,6 @@ 807 807 ))) 808 808 809 809 810 - 811 811 == 7.6 Frame Counter Uplink == 812 812 813 813 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -826,7 +826,6 @@ 826 826 ))) 827 827 828 828 829 - 830 830 == 7.7 Join Accept Delay1 == 831 831 832 832 ... ... @@ -846,7 +846,6 @@ 846 846 ))) 847 847 848 848 849 - 850 850 == 7.8 Join Accept Delay2 == 851 851 852 852 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -865,7 +865,6 @@ 865 865 ))) 866 866 867 867 868 - 869 869 == 7.9 Public Network Mode == 870 870 871 871 ... ... @@ -894,7 +894,6 @@ 894 894 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 895 895 896 896 897 - 898 898 == 7.10 Receive Delay1 == 899 899 900 900 ... ... @@ -993,7 +993,6 @@ 993 993 994 994 ))) 995 995 996 - 997 997 Downlink Payload. The 4th byte of 0x22 downlink. 998 998 999 999 If the downlink payload=22000100, it means setting the TXP to 0. ... ... @@ -1066,6 +1066,7 @@ 1066 1066 1067 1067 1068 1068 1034 + 1069 1069 == 7.18 Single Channel Mode == 1070 1070 1071 1071 ... ... @@ -1200,7 +1200,7 @@ 1200 1200 Feature: Get or Set packet receiving response level. This feature is used to set compatible with different LoRaWAN servers. If RPL doesn;t match , user will see strange message in the server portal. 1201 1201 1202 1202 1203 - **RPL value:**1169 +RPL value: 1204 1204 1205 1205 * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform. 1206 1206 * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00. ... ... @@ -1209,13 +1209,15 @@ 1209 1209 * **AT+RPL=4: **Device will immediately reply message to Confirmed Data Down & MAC Command. Payload is 0x00 and requied response header for these two commands. 1210 1210 1211 1211 1212 -**Case Analyes:** 1213 1213 1179 +Case Analyes: 1180 + 1214 1214 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. 1215 1215 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1216 1216 * For Class C devices used in TTI, need to set AT+RPL=4 because TTI require immediately reply message to Confirmed Data Down & MAC Command. 1217 1217 1218 1218 1186 + 1219 1219 (% style="color:blue" %)**AT Command: AT+RPL** 1220 1220 1221 1221 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1268,6 +1268,7 @@ 1268 1268 1269 1269 1270 1270 1239 + 1271 1271 == 7.25 Device offline rejoining (LWS007) == 1272 1272 1273 1273 ... ... @@ -1315,6 +1315,7 @@ 1315 1315 1316 1316 1317 1317 1287 + 1318 1318 == 7.26 Request the server to send an ACK == 1319 1319 1320 1320 ... ... @@ -1363,24 +1363,22 @@ 1363 1363 1364 1364 1365 1365 1336 + 1366 1366 = 8. AT Commands Combination = 1367 1367 1368 - 1369 1369 == 8.1 Set a fix RX2DR for downlink window == 1370 1370 1341 +* **AT+ADR=0 **~-~-> Disable ADR first 1342 +* **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1371 1371 1372 -* **AT+ADR=0 ** **~-~->** Disable ADR first 1373 -* **AT+RX2DR=xxxx** **~-~->** Set xxxx to your wanted DataRate 1374 - 1375 - 1376 - 1377 1377 == 8.2 Use Downlink Command to set a fix uplink DR == 1378 1378 1379 1379 1380 1380 (% style="color:blue" %)**Downlink Command: 0x22000500** 1381 1381 1382 -**Same as:** 1383 1383 1350 +Same as: 1351 + 1384 1384 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1385 1385 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1386 -* AT+TXP=0 1354 +* AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]]