<
From version < 51.2 >
edited by Xiaoling
on 2022/07/13 14:04
To version < 50.19 >
edited by Xiaoling
on 2022/07/13 13:58
>
Change comment: There is no comment for this version

Summary

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  
... ... @@ -144,6 +144,7 @@
144 144  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
145 145  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
146 146  
142 +
147 147  == 4.2 Reboot End Node ==
148 148  
149 149  
... ... @@ -308,6 +308,7 @@
308 308  OK
309 309  )))
310 310  
307 +
311 311  = 5. Keys, IDs and EUIs management =
312 312  
313 313  
... ... @@ -327,6 +327,7 @@
327 327  )))
328 328  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
329 329  
327 +
330 330  == 5.2 Application Key ==
331 331  
332 332  
... ... @@ -343,6 +343,7 @@
343 343  )))
344 344  |(% 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
345 345  
344 +
346 346  == 5.3 Application Session Key ==
347 347  
348 348  
... ... @@ -361,6 +361,7 @@
361 361  OK
362 362  )))
363 363  
363 +
364 364  == 5.4 Device Address ==
365 365  
366 366  
... ... @@ -379,6 +379,7 @@
379 379  )))
380 380  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
381 381  
382 +
382 382  == 5.5 Device EUI ==
383 383  
384 384  
... ... @@ -397,6 +397,7 @@
397 397  OK
398 398  )))
399 399  
401 +
400 400  == 5.6 Network ID ==
401 401  
402 402  
... ... @@ -413,6 +413,7 @@
413 413  )))
414 414  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
415 415  
418 +
416 416  == 5.7 Network Session Key ==
417 417  
418 418  
... ... @@ -429,6 +429,7 @@
429 429  )))
430 430  |(% 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
431 431  
435 +
432 432  = 6. Joining and sending date on LoRaWAN network =
433 433  
434 434  
... ... @@ -462,6 +462,7 @@
462 462  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
463 463  
464 464  
469 +
465 465  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
466 466  
467 467  
... ... @@ -508,6 +508,7 @@
508 508  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
509 509  
510 510  
516 +
511 511  == 6.2 Confirm Status ==
512 512  
513 513  
... ... @@ -523,6 +523,7 @@
523 523  OK
524 524  )))
525 525  
532 +
526 526  == 6.3 Join LoRa® Network ==
527 527  
528 528  
... ... @@ -540,6 +540,7 @@
540 540  While Error in format, return AT_BUSY_ERROR
541 541  )))
542 542  
550 +
543 543  == 6.4 LoRa® Network Join Mode ==
544 544  
545 545  
... ... @@ -567,6 +567,7 @@
567 567  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
568 568  
569 569  
578 +
570 570  == 6.5 LoRa® Network Join Status ==
571 571  
572 572  
... ... @@ -582,6 +582,7 @@
582 582  OK
583 583  )))
584 584  
594 +
585 585  == 6.6 Print Last Received Data in Raw Format ==
586 586  
587 587  
... ... @@ -597,6 +597,7 @@
597 597  OK
598 598  )))
599 599  
610 +
600 600  == 6.7 Print Last Received Data in Binary Format ==
601 601  
602 602  
... ... @@ -612,6 +612,7 @@
612 612  OK
613 613  )))
614 614  
626 +
615 615  == 6.8 Send Text Data ==
616 616  
617 617  
... ... @@ -631,6 +631,7 @@
631 631  
632 632  )))
633 633  
646 +
634 634  == 6.9 Send Hexadecimal Data ==
635 635  
636 636  
... ... @@ -649,6 +649,7 @@
649 649  
650 650  )))
651 651  
665 +
652 652  = 7. LoRaWAN network management =
653 653  
654 654  
... ... @@ -679,6 +679,7 @@
679 679  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
680 680  
681 681  
696 +
682 682  == 7.2 LoRa® Class ==
683 683  
684 684  
... ... @@ -697,6 +697,7 @@
697 697  
698 698  )))
699 699  
715 +
700 700  == 7.3 Duty Cycle Setting ==
701 701  
702 702  
... ... @@ -715,6 +715,7 @@
715 715  
716 716  )))
717 717  
734 +
718 718  == 7.4 Data Rate ==
719 719  
720 720  
... ... @@ -741,6 +741,7 @@
741 741  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
742 742  
743 743  
761 +
744 744  == 7.5 Frame Counter Downlink ==
745 745  
746 746  
... ... @@ -759,6 +759,7 @@
759 759  OK
760 760  )))
761 761  
780 +
762 762  == 7.6 Frame Counter Uplink ==
763 763  
764 764  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -776,6 +776,7 @@
776 776  
777 777  )))
778 778  
798 +
779 779  == 7.7 Join Accept Delay1 ==
780 780  
781 781  
... ... @@ -794,6 +794,7 @@
794 794  
795 795  )))
796 796  
817 +
797 797  == 7.8 Join Accept Delay2 ==
798 798  
799 799  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -811,6 +811,7 @@
811 811  
812 812  )))
813 813  
835 +
814 814  == 7.9 Public Network Mode ==
815 815  
816 816  
... ... @@ -838,6 +838,7 @@
838 838  )))
839 839  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
840 840  
863 +
841 841  == 7.10 Receive Delay1 ==
842 842  
843 843  
... ... @@ -857,6 +857,7 @@
857 857  )))
858 858  
859 859  
883 +
860 860  == 7.11 Receive Delay2 ==
861 861  
862 862  
... ... @@ -876,6 +876,7 @@
876 876  )))
877 877  
878 878  
903 +
879 879  == 7.12 Rx2 Window Data Rate ==
880 880  
881 881  
... ... @@ -895,6 +895,7 @@
895 895  )))
896 896  
897 897  
923 +
898 898  == 7.13 Rx2 Window Frequency ==
899 899  
900 900  
... ... @@ -914,6 +914,7 @@
914 914  )))
915 915  
916 916  
943 +
917 917  == 7.14 Transmit Power ==
918 918  
919 919  
... ... @@ -941,6 +941,7 @@
941 941  
942 942  
943 943  
971 +
944 944  == 7.15 RSSI of the Last Received Packet ==
945 945  
946 946  
... ... @@ -957,6 +957,7 @@
957 957  )))
958 958  
959 959  
988 +
960 960  == 7.16 SNR of the Last Received Packet ==
961 961  
962 962  
... ... @@ -973,6 +973,7 @@
973 973  )))
974 974  
975 975  
1005 +
976 976  == 7.17 Application Port ==
977 977  
978 978  
... ... @@ -989,6 +989,7 @@
989 989  )))
990 990  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
991 991  
1022 +
992 992  (% style="color:blue" %)**Downlink Command: 0x23**
993 993  
994 994  Format: Command Code (0x23) followed by 1 bytes port value.
... ... @@ -1000,6 +1000,7 @@
1000 1000  
1001 1001  
1002 1002  
1034 +
1003 1003  == 7.18 Single Channel Mode ==
1004 1004  
1005 1005  
... ... @@ -1017,6 +1017,7 @@
1017 1017  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1018 1018  
1019 1019  
1052 +
1020 1020  == 7.19 Eight Channel Mode ==
1021 1021  
1022 1022  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -1034,6 +1034,7 @@
1034 1034  )))
1035 1035  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1036 1036  
1070 +
1037 1037  (% style="color:blue" %)**Downlink Command: 0x24**
1038 1038  
1039 1039  Format: Command Code (0x24) followed by 1 bytes channel value.
... ... @@ -1045,6 +1045,7 @@
1045 1045  
1046 1046  
1047 1047  
1082 +
1048 1048  == 7.20 Get or Set RXwindows1 timeout ==
1049 1049  
1050 1050  
... ... @@ -1095,6 +1095,7 @@
1095 1095  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1096 1096  
1097 1097  
1133 +
1098 1098  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1099 1099  
1100 1100  
... ... @@ -1111,6 +1111,7 @@
1111 1111  )))
1112 1112  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1113 1113  
1150 +
1114 1114  (% style="color:blue" %)**Downlink Command: 0x25**
1115 1115  
1116 1116  Format: Command Code (0x25) followed by 1 bytes state value.
... ... @@ -1122,6 +1122,7 @@
1122 1122  
1123 1123  
1124 1124  
1162 +
1125 1125  == 7.23 Set Packet Receiving Response Level ==
1126 1126  
1127 1127  
... ... @@ -1137,6 +1137,7 @@
1137 1137  * **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.
1138 1138  
1139 1139  
1178 +
1140 1140  Case Analyes:
1141 1141  
1142 1142  * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software.
... ... @@ -1144,6 +1144,7 @@
1144 1144  * 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.
1145 1145  
1146 1146  
1186 +
1147 1147  (% style="color:blue" %)**AT Command: AT+RPL**
1148 1148  
1149 1149  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
... ... @@ -1154,6 +1154,7 @@
1154 1154  )))
1155 1155  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1156 1156  
1197 +
1157 1157  (% style="color:blue" %)**Downlink Command: 0x21**
1158 1158  
1159 1159  Format: Command Code (0x21) followed by 1 bytes level value.
... ... @@ -1165,6 +1165,7 @@
1165 1165  
1166 1166  
1167 1167  
1209 +
1168 1168  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1169 1169  
1170 1170  
... ... @@ -1182,6 +1182,7 @@
1182 1182  OK
1183 1183  )))
1184 1184  
1227 +
1185 1185  (% style="color:blue" %)**Downlink Command: 0x33**
1186 1186  
1187 1187  Format: Command Code (0x33) followed by 2 bytes mode value.
... ... @@ -1193,6 +1193,7 @@
1193 1193  
1194 1194  
1195 1195  
1239 +
1196 1196  == 7.25 Device offline rejoining (LWS007) ==
1197 1197  
1198 1198  
... ... @@ -1229,6 +1229,7 @@
1229 1229  OK
1230 1230  )))
1231 1231  
1276 +
1232 1232  (% style="color:blue" %)**Downlink Command: 0x33**
1233 1233  
1234 1234  Format: Command Code (0x32) followed by 2 bytes mode value.
... ... @@ -1239,6 +1239,7 @@
1239 1239  
1240 1240  
1241 1241  
1287 +
1242 1242  == 7.26 Request the server to send an ACK ==
1243 1243  
1244 1244  
... ... @@ -1257,6 +1257,7 @@
1257 1257  )))
1258 1258  
1259 1259  
1306 +
1260 1260  == 7.27 Adjust network rejoining interval ==
1261 1261  
1262 1262  
... ... @@ -1274,6 +1274,7 @@
1274 1274  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1275 1275  )))
1276 1276  
1324 +
1277 1277  (% style="color:blue" %)**Downlink Command: 0x26**
1278 1278  
1279 1279  Format: Command Code (0x26) followed by 2 bytes mode value.
... ... @@ -1285,24 +1285,22 @@
1285 1285  
1286 1286  
1287 1287  
1336 +
1288 1288  = 8. AT Commands Combination =
1289 1289  
1290 -
1291 1291  == 8.1 Set a fix RX2DR for downlink window ==
1292 1292  
1341 +* **AT+ADR=0 **~-~-> Disable ADR first
1342 +* **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1293 1293  
1294 -* **AT+ADR=0             ** **~-~->**  Disable ADR first
1295 -* **AT+RX2DR=xxxx**  **~-~->**  Set xxxx to your wanted DataRate
1296 -
1297 -
1298 -
1299 1299  == 8.2 Use Downlink Command to set a fix uplink DR ==
1300 1300  
1301 1301  
1302 1302  (% style="color:blue" %)**Downlink Command: 0x22000500**
1303 1303  
1304 -**Same as:**
1305 1305  
1350 +Same as:
1351 +
1306 1306  * AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1307 1307  * AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1308 -* AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1354 +* AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0