<
From version < 51.3 >
edited by Xiaoling
on 2022/07/13 14:09
To version < 51.20 >
edited by Xiaoling
on 2022/07/13 14:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -330,6 +330,8 @@
330 330  )))
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 +
334 +
333 333  == 5.2 Application Key ==
334 334  
335 335  
... ... @@ -346,6 +346,8 @@
346 346  )))
347 347  |(% 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
348 348  
351 +
352 +
349 349  == 5.3 Application Session Key ==
350 350  
351 351  
... ... @@ -364,6 +364,8 @@
364 364  OK
365 365  )))
366 366  
371 +
372 +
367 367  == 5.4 Device Address ==
368 368  
369 369  
... ... @@ -382,6 +382,8 @@
382 382  )))
383 383  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
384 384  
391 +
392 +
385 385  == 5.5 Device EUI ==
386 386  
387 387  
... ... @@ -400,6 +400,8 @@
400 400  OK
401 401  )))
402 402  
411 +
412 +
403 403  == 5.6 Network ID ==
404 404  
405 405  
... ... @@ -416,6 +416,8 @@
416 416  )))
417 417  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
418 418  
429 +
430 +
419 419  == 5.7 Network Session Key ==
420 420  
421 421  
... ... @@ -432,6 +432,8 @@
432 432  )))
433 433  |(% 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
434 434  
447 +
448 +
435 435  = 6. Joining and sending date on LoRaWAN network =
436 436  
437 437  
... ... @@ -465,6 +465,8 @@
465 465  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
466 466  
467 467  
482 +
483 +
468 468  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
469 469  
470 470  
... ... @@ -511,6 +511,8 @@
511 511  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
512 512  
513 513  
530 +
531 +
514 514  == 6.2 Confirm Status ==
515 515  
516 516  
... ... @@ -526,6 +526,8 @@
526 526  OK
527 527  )))
528 528  
547 +
548 +
529 529  == 6.3 Join LoRa® Network ==
530 530  
531 531  
... ... @@ -543,6 +543,8 @@
543 543  While Error in format, return AT_BUSY_ERROR
544 544  )))
545 545  
566 +
567 +
546 546  == 6.4 LoRa® Network Join Mode ==
547 547  
548 548  
... ... @@ -570,6 +570,8 @@
570 570  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
571 571  
572 572  
595 +
596 +
573 573  == 6.5 LoRa® Network Join Status ==
574 574  
575 575  
... ... @@ -585,6 +585,8 @@
585 585  OK
586 586  )))
587 587  
612 +
613 +
588 588  == 6.6 Print Last Received Data in Raw Format ==
589 589  
590 590  
... ... @@ -600,6 +600,8 @@
600 600  OK
601 601  )))
602 602  
629 +
630 +
603 603  == 6.7 Print Last Received Data in Binary Format ==
604 604  
605 605  
... ... @@ -615,6 +615,8 @@
615 615  OK
616 616  )))
617 617  
646 +
647 +
618 618  == 6.8 Send Text Data ==
619 619  
620 620  
... ... @@ -634,6 +634,8 @@
634 634  
635 635  )))
636 636  
667 +
668 +
637 637  == 6.9 Send Hexadecimal Data ==
638 638  
639 639  
... ... @@ -652,6 +652,8 @@
652 652  
653 653  )))
654 654  
687 +
688 +
655 655  = 7. LoRaWAN network management =
656 656  
657 657  
... ... @@ -674,6 +674,7 @@
674 674  AT_PARAM_ERROR
675 675  )))
676 676  
711 +
677 677  (% style="color:blue" %)**Downlink Command: 0x22**
678 678  
679 679  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
... ... @@ -682,6 +682,8 @@
682 682  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
683 683  
684 684  
720 +
721 +
685 685  == 7.2 LoRa® Class ==
686 686  
687 687  
... ... @@ -700,6 +700,8 @@
700 700  
701 701  )))
702 702  
740 +
741 +
703 703  == 7.3 Duty Cycle Setting ==
704 704  
705 705  
... ... @@ -718,6 +718,8 @@
718 718  
719 719  )))
720 720  
760 +
761 +
721 721  == 7.4 Data Rate ==
722 722  
723 723  
... ... @@ -736,6 +736,7 @@
736 736  
737 737  )))
738 738  
780 +
739 739  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
740 740  
741 741  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
... ... @@ -744,6 +744,8 @@
744 744  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
745 745  
746 746  
789 +
790 +
747 747  == 7.5 Frame Counter Downlink ==
748 748  
749 749  
... ... @@ -762,6 +762,8 @@
762 762  OK
763 763  )))
764 764  
809 +
810 +
765 765  == 7.6 Frame Counter Uplink ==
766 766  
767 767  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -779,6 +779,8 @@
779 779  
780 780  )))
781 781  
828 +
829 +
782 782  == 7.7 Join Accept Delay1 ==
783 783  
784 784  
... ... @@ -797,6 +797,8 @@
797 797  
798 798  )))
799 799  
848 +
849 +
800 800  == 7.8 Join Accept Delay2 ==
801 801  
802 802  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -814,6 +814,8 @@
814 814  
815 815  )))
816 816  
867 +
868 +
817 817  == 7.9 Public Network Mode ==
818 818  
819 819  
... ... @@ -841,6 +841,8 @@
841 841  )))
842 842  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
843 843  
896 +
897 +
844 844  == 7.10 Receive Delay1 ==
845 845  
846 846  
... ... @@ -860,6 +860,7 @@
860 860  )))
861 861  
862 862  
917 +
863 863  == 7.11 Receive Delay2 ==
864 864  
865 865  
... ... @@ -879,6 +879,7 @@
879 879  )))
880 880  
881 881  
937 +
882 882  == 7.12 Rx2 Window Data Rate ==
883 883  
884 884  
... ... @@ -898,6 +898,7 @@
898 898  )))
899 899  
900 900  
957 +
901 901  == 7.13 Rx2 Window Frequency ==
902 902  
903 903  
... ... @@ -917,6 +917,7 @@
917 917  )))
918 918  
919 919  
977 +
920 920  == 7.14 Transmit Power ==
921 921  
922 922  
... ... @@ -935,6 +935,7 @@
935 935  
936 936  )))
937 937  
996 +
938 938  Downlink Payload. The 4th byte of 0x22 downlink.
939 939  
940 940  If the downlink payload=22000100, it means setting the TXP to 0.
... ... @@ -944,6 +944,7 @@
944 944  
945 945  
946 946  
1006 +
947 947  == 7.15 RSSI of the Last Received Packet ==
948 948  
949 949  
... ... @@ -960,6 +960,7 @@
960 960  )))
961 961  
962 962  
1023 +
963 963  == 7.16 SNR of the Last Received Packet ==
964 964  
965 965  
... ... @@ -976,6 +976,7 @@
976 976  )))
977 977  
978 978  
1040 +
979 979  == 7.17 Application Port ==
980 980  
981 981  
... ... @@ -992,6 +992,7 @@
992 992  )))
993 993  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
994 994  
1057 +
995 995  (% style="color:blue" %)**Downlink Command: 0x23**
996 996  
997 997  Format: Command Code (0x23) followed by 1 bytes port value.
... ... @@ -1020,6 +1020,7 @@
1020 1020  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1021 1021  
1022 1022  
1086 +
1023 1023  == 7.19 Eight Channel Mode ==
1024 1024  
1025 1025  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -1037,6 +1037,7 @@
1037 1037  )))
1038 1038  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1039 1039  
1104 +
1040 1040  (% style="color:blue" %)**Downlink Command: 0x24**
1041 1041  
1042 1042  Format: Command Code (0x24) followed by 1 bytes channel value.
... ... @@ -1048,6 +1048,7 @@
1048 1048  
1049 1049  
1050 1050  
1116 +
1051 1051  == 7.20 Get or Set RXwindows1 timeout ==
1052 1052  
1053 1053  
... ... @@ -1098,6 +1098,7 @@
1098 1098  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1099 1099  
1100 1100  
1167 +
1101 1101  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1102 1102  
1103 1103  
... ... @@ -1114,6 +1114,7 @@
1114 1114  )))
1115 1115  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1116 1116  
1184 +
1117 1117  (% style="color:blue" %)**Downlink Command: 0x25**
1118 1118  
1119 1119  Format: Command Code (0x25) followed by 1 bytes state value.
... ... @@ -1125,6 +1125,7 @@
1125 1125  
1126 1126  
1127 1127  
1196 +
1128 1128  == 7.23 Set Packet Receiving Response Level ==
1129 1129  
1130 1130  
... ... @@ -1131,7 +1131,7 @@
1131 1131  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.
1132 1132  
1133 1133  
1134 -RPL value:
1203 +**RPL value:**
1135 1135  
1136 1136  * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform.
1137 1137  * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00.
... ... @@ -1140,7 +1140,7 @@
1140 1140  * **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.
1141 1141  
1142 1142  
1143 -Case Analyes:
1212 +**Case Analyes:**
1144 1144  
1145 1145  * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software.
1146 1146  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
... ... @@ -1157,6 +1157,7 @@
1157 1157  )))
1158 1158  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1159 1159  
1229 +
1160 1160  (% style="color:blue" %)**Downlink Command: 0x21**
1161 1161  
1162 1162  Format: Command Code (0x21) followed by 1 bytes level value.
... ... @@ -1168,6 +1168,7 @@
1168 1168  
1169 1169  
1170 1170  
1241 +
1171 1171  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1172 1172  
1173 1173  
... ... @@ -1185,6 +1185,7 @@
1185 1185  OK
1186 1186  )))
1187 1187  
1259 +
1188 1188  (% style="color:blue" %)**Downlink Command: 0x33**
1189 1189  
1190 1190  Format: Command Code (0x33) followed by 2 bytes mode value.
... ... @@ -1232,6 +1232,7 @@
1232 1232  OK
1233 1233  )))
1234 1234  
1307 +
1235 1235  (% style="color:blue" %)**Downlink Command: 0x33**
1236 1236  
1237 1237  Format: Command Code (0x32) followed by 2 bytes mode value.
... ... @@ -1260,6 +1260,7 @@
1260 1260  )))
1261 1261  
1262 1262  
1336 +
1263 1263  == 7.27 Adjust network rejoining interval ==
1264 1264  
1265 1265  
... ... @@ -1277,6 +1277,7 @@
1277 1277  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1278 1278  )))
1279 1279  
1354 +
1280 1280  (% style="color:blue" %)**Downlink Command: 0x26**
1281 1281  
1282 1282  Format: Command Code (0x26) followed by 2 bytes mode value.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0