<
From version < 54.1 >
edited by Edwin Chen
on 2022/10/16 07:37
To version < 56.1 >
edited by Edwin Chen
on 2022/10/16 07:44
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -28,8 +28,6 @@
28 28  ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]], [[How to Convert>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.1ConvertHEXtoBase64]]?
29 29  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
30 30  
31 -
32 -
33 33  = 3. Support End Node and firmware version =
34 34  
35 35  
... ... @@ -104,8 +104,6 @@
104 104  )))
105 105  )))
106 106  
107 -
108 -
109 109  = 4. System Management Commands =
110 110  
111 111  == 4.1 Change Uplink Interval ==
... ... @@ -143,8 +143,6 @@
143 143  * **Example 1**: Downlink Payload:** 0100001E**  ~/~/ Set Transmit Interval (TDC) = 30 seconds
144 144  * **Example 2**: Downlink Payload:** 0100003C**  ~/~/ Set Transmit Interval (TDC) = 60 seconds
145 145  
146 -
147 -
148 148  == 4.2 Reboot End Node ==
149 149  
150 150  
... ... @@ -310,8 +310,6 @@
310 310  OK
311 311  )))
312 312  
313 -
314 -
315 315  = 5. Keys, IDs and EUIs management =
316 316  
317 317  == 5.1 Application EUI ==
... ... @@ -330,8 +330,6 @@
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 -
335 335  == 5.2 Application Key ==
336 336  
337 337  
... ... @@ -348,8 +348,6 @@
348 348  )))
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 -
352 -
353 353  == 5.3 Application Session Key ==
354 354  
355 355  
... ... @@ -368,8 +368,6 @@
368 368  OK
369 369  )))
370 370  
371 -
372 -
373 373  == 5.4 Device Address ==
374 374  
375 375  
... ... @@ -388,8 +388,6 @@
388 388  )))
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 -
392 -
393 393  == 5.5 Device EUI ==
394 394  
395 395  
... ... @@ -408,8 +408,6 @@
408 408  OK
409 409  )))
410 410  
411 -
412 -
413 413  == 5.6 Network ID ==
414 414  
415 415  
... ... @@ -426,8 +426,6 @@
426 426  )))
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 -
430 -
431 431  == 5.7 Network Session Key ==
432 432  
433 433  
... ... @@ -444,8 +444,6 @@
444 444  )))
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 -
448 -
449 449  = 6. Joining and sending date on LoRaWAN network =
450 450  
451 451  == 6.1 Confirm Mode ==
... ... @@ -476,8 +476,6 @@
476 476  * **Example 1:** Downlink Payload: 0501  ~/~/ Set AT+CFM=1
477 477  * **Example 2:** Downlink Payload: 0500  ~/~/ Set AT+CFM=0
478 478  
479 -
480 -
481 481  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
482 482  
483 483  
... ... @@ -523,8 +523,6 @@
523 523  * **Example 1:** Downlink Payload: 05010101  ~/~/ Set AT+CFM=1,1,1
524 524  * **Example 2:** Downlink Payload: 05000700  ~/~/ Set AT+CFM=0,7,0
525 525  
526 -
527 -
528 528  == 6.2 Confirm Status ==
529 529  
530 530  
... ... @@ -540,8 +540,6 @@
540 540  OK
541 541  )))
542 542  
543 -
544 -
545 545  == 6.3 Join LoRa® Network ==
546 546  
547 547  
... ... @@ -559,8 +559,6 @@
559 559  While Error in format, return AT_BUSY_ERROR
560 560  )))
561 561  
562 -
563 -
564 564  == 6.4 LoRa® Network Join Mode ==
565 565  
566 566  
... ... @@ -587,8 +587,6 @@
587 587  * **Example 1: **Downlink Payload: **2000                  ** ~/~/ Set AT+NJM=0
588 588  * **Example 2:** Downlink Payload: **2001**  ~/~/ Set AT+NJM=1
589 589  
590 -
591 -
592 592  == 6.5 LoRa® Network Join Status ==
593 593  
594 594  
... ... @@ -604,8 +604,6 @@
604 604  OK
605 605  )))
606 606  
607 -
608 -
609 609  == 6.6 Print Last Received Data in Raw Format ==
610 610  
611 611  
... ... @@ -621,8 +621,6 @@
621 621  OK
622 622  )))
623 623  
624 -
625 -
626 626  == 6.7 Print Last Received Data in Binary Format ==
627 627  
628 628  
... ... @@ -638,8 +638,6 @@
638 638  OK
639 639  )))
640 640  
641 -
642 -
643 643  == 6.8 Send Text Data ==
644 644  
645 645  
... ... @@ -659,8 +659,6 @@
659 659  
660 660  )))
661 661  
662 -
663 -
664 664  == 6.9 Send Hexadecimal Data ==
665 665  
666 666  
... ... @@ -679,8 +679,6 @@
679 679  
680 680  )))
681 681  
682 -
683 -
684 684  = 7. LoRaWAN network management =
685 685  
686 686  == 7.1 Adaptive Data Rate ==
... ... @@ -710,7 +710,6 @@
710 710  * **Example 2**: Downlink Payload: **2200FFFF**  ~/~/ Set AT+ADR=0.
711 711  
712 712  
713 -
714 714  == 7.2 LoRa® Class ==
715 715  
716 716  
... ... @@ -729,8 +729,6 @@
729 729  
730 730  )))
731 731  
732 -
733 -
734 734  == 7.3 Duty Cycle Setting ==
735 735  
736 736  
... ... @@ -749,8 +749,6 @@
749 749  
750 750  )))
751 751  
752 -
753 -
754 754  == 7.4 Data Rate ==
755 755  
756 756  
... ... @@ -757,9 +757,11 @@
757 757  Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) .
758 758  
759 759  (% style="color:red" %)
760 -Note: while set Data Rate, please use set Adptive Data Rate, ADR=0 first. otherwise device will response to server's ADR command and change the DR to the setting from server.
761 -(%%)
713 +**Notice:**
762 762  
715 +* User need to set Adaptive Data Rate(ADR)=0 first. otherwise device will respond to server's ADR command and change the DR according to server auto-adjustment.
716 +* Data Rate specifies Spreading Factor. The mapping varies in different frequency bands. User can check this link for detail. [[rp2-1.0.3-lorawan-regional-parameters.pdf>>https://lora-alliance.org/resource_hub/rp2-1-0-3-lorawan-regional-parameters/]]
717 +
763 763  (% style="color:blue" %)**AT Command: AT+DR**
764 764  
765 765  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
... ... @@ -780,7 +780,6 @@
780 780  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+DR=0.
781 781  
782 782  
783 -
784 784  == 7.5 Frame Counter Downlink ==
785 785  
786 786  
... ... @@ -799,8 +799,6 @@
799 799  OK
800 800  )))
801 801  
802 -
803 -
804 804  == 7.6 Frame Counter Uplink ==
805 805  
806 806  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -818,8 +818,6 @@
818 818  
819 819  )))
820 820  
821 -
822 -
823 823  == 7.7 Join Accept Delay1 ==
824 824  
825 825  
... ... @@ -838,8 +838,6 @@
838 838  
839 839  )))
840 840  
841 -
842 -
843 843  == 7.8 Join Accept Delay2 ==
844 844  
845 845  
... ... @@ -858,8 +858,6 @@
858 858  
859 859  )))
860 860  
861 -
862 -
863 863  == 7.9 Public Network Mode ==
864 864  
865 865  
... ... @@ -887,8 +887,6 @@
887 887  )))
888 888  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
889 889  
890 -
891 -
892 892  == 7.10 Receive Delay1 ==
893 893  
894 894  
... ... @@ -907,8 +907,6 @@
907 907  
908 908  )))
909 909  
910 -
911 -
912 912  == 7.11 Receive Delay2 ==
913 913  
914 914  
... ... @@ -927,8 +927,6 @@
927 927  
928 928  )))
929 929  
930 -
931 -
932 932  == 7.12 Rx2 Window Data Rate ==
933 933  
934 934  
... ... @@ -947,8 +947,6 @@
947 947  
948 948  )))
949 949  
950 -
951 -
952 952  == 7.13 Rx2 Window Frequency ==
953 953  
954 954  
... ... @@ -967,8 +967,6 @@
967 967  
968 968  )))
969 969  
970 -
971 -
972 972  == 7.14 Transmit Power ==
973 973  
974 974  
... ... @@ -996,8 +996,6 @@
996 996  * **Example 1**: Downlink Payload: **22000102**  ~/~/ Set AT+TXP=2.
997 997  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+TXP=0.
998 998  
999 -
1000 -
1001 1001  == 7.15 RSSI of the Last Received Packet ==
1002 1002  
1003 1003  
... ... @@ -1013,8 +1013,6 @@
1013 1013  OK
1014 1014  )))
1015 1015  
1016 -
1017 -
1018 1018  == 7.16 SNR of the Last Received Packet ==
1019 1019  
1020 1020  
... ... @@ -1030,8 +1030,6 @@
1030 1030  OK
1031 1031  )))
1032 1032  
1033 -
1034 -
1035 1035  == 7.17 Application Port ==
1036 1036  
1037 1037  
... ... @@ -1057,8 +1057,6 @@
1057 1057  * **Example 1**: Downlink Payload: **2301**  ~/~/ set the application port to 1
1058 1058  * **Example 2**: Downlink Payload:** 2305**  ~/~/ set the application port to 5
1059 1059  
1060 -
1061 -
1062 1062  == 7.18 Single Channel Mode ==
1063 1063  
1064 1064  
... ... @@ -1075,8 +1075,6 @@
1075 1075  )))
1076 1076  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1077 1077  
1078 -
1079 -
1080 1080  == 7.19 Eight Channel Mode ==
1081 1081  
1082 1082  
... ... @@ -1104,8 +1104,6 @@
1104 1104  * **Example 1**: Downlink Payload: 2401  ~/~/ set channel mode to 1
1105 1105  * **Example 2**: Downlink Payload: 2405  ~/~/ set channel mode to 5
1106 1106  
1107 -
1108 -
1109 1109  == 7.20 Get or Set RXwindows1 timeout ==
1110 1110  
1111 1111  
... ... @@ -1157,8 +1157,6 @@
1157 1157  )))
1158 1158  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1159 1159  
1160 -
1161 -
1162 1162  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1163 1163  
1164 1164  
... ... @@ -1184,8 +1184,6 @@
1184 1184  * **Example 1**: Downlink Payload: **2501**  ~/~/ set uplinkdwelltime to 1
1185 1185  * **Example 2**: Downlink Payload: **2500**  ~/~/ set uplinkdwelltime to 0
1186 1186  
1187 -
1188 -
1189 1189  == 7.23 Set Packet Receiving Response Level ==
1190 1190  
1191 1191  
... ... @@ -1225,8 +1225,6 @@
1225 1225  * **Example 1**: Downlink Payload: **2101**  ~/~/ set packet receiving response level to 1
1226 1226  * **Example 2**: Downlink Payload: **2102**  ~/~/ set packet receiving response level to 2
1227 1227  
1228 -
1229 -
1230 1230  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1231 1231  
1232 1232  
... ... @@ -1257,8 +1257,6 @@
1257 1257  * Example 1: Downlink Payload: 330100  ~/~/ Set AT+SETMAXNBTRANS=1,0
1258 1258  * Example 2: Downlink Payload: 330201  ~/~/ Set AT+SETMAXNBTRANS=2,1
1259 1259  
1260 -
1261 -
1262 1262  == 7.25 Device offline rejoining (LWS007) ==
1263 1263  
1264 1264  
... ... @@ -1303,8 +1303,6 @@
1303 1303  
1304 1304  * **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1305 1305  
1306 -
1307 -
1308 1308  == 7.26 Request the server to send an ACK ==
1309 1309  
1310 1310  
... ... @@ -1322,8 +1322,6 @@
1322 1322  OK
1323 1323  )))
1324 1324  
1325 -
1326 -
1327 1327  == 7.27 Adjust network rejoining interval ==
1328 1328  
1329 1329  
... ... @@ -1350,8 +1350,6 @@
1350 1350  * **Example 1:** Downlink Payload: 26000A  ~/~/ Set AT+RJTDC=10
1351 1351  * **Example 2: **Downlink Payload: 260002  ~/~/ Set AT+RJTDC=2
1352 1352  
1353 -
1354 -
1355 1355  = 8. AT Commands Combination =
1356 1356  
1357 1357  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1360,8 +1360,6 @@
1360 1360  * (% style="color:blue" %)**AT+ADR=0             **(%%) **~-~->**  Disable ADR first
1361 1361  * (% style="color:blue" %)**AT+RX2DR=xxxx**   (%%) **~-~->**  Set xxxx to your wanted DataRate
1362 1362  
1363 -
1364 -
1365 1365  == 8.2 Use Downlink Command to set a fix uplink DR ==
1366 1366  
1367 1367  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0