<
From version < 60.3 >
edited by Xiaoling
on 2023/03/27 13:52
To version < 60.7 >
edited by Xiaoling
on 2023/03/27 14:07
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -102,6 +102,8 @@
102 102  )))
103 103  )))
104 104  
105 +(% style="display:none" %) (%%)
106 +
105 105  = 4. System Management Commands =
106 106  
107 107  == 4.1 Change Uplink Interval ==
... ... @@ -139,6 +139,8 @@
139 139  * **Example 1**: Downlink Payload:** 0100001E**  ~/~/ Set Transmit Interval (TDC) = 30 seconds
140 140  * **Example 2**: Downlink Payload:** 0100003C**  ~/~/ Set Transmit Interval (TDC) = 60 seconds
141 141  
144 +(% style="display:none" %) (%%)
145 +
142 142  == 4.2 Reboot End Node ==
143 143  
144 144  
... ... @@ -171,11 +171,10 @@
171 171  )))
172 172  
173 173  (((
174 -If the downlink payload=**04FF**, the end node will reboot.
175 -
176 -
178 +If the downlink payload=**04FF**, the end node will reboot.
177 177  )))
178 178  
181 +
179 179  == 4.3 Reset to factory Default ==
180 180  
181 181  
... ... @@ -318,6 +318,8 @@
318 318  )))
319 319  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
320 320  
324 +(% style="display:none" %) (%%)
325 +
321 321  == 5.2 Application Key ==
322 322  
323 323  
... ... @@ -334,6 +334,8 @@
334 334  )))
335 335  |(% 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
336 336  
342 +(% style="display:none" %) (%%)
343 +
337 337  == 5.3 Application Session Key ==
338 338  
339 339  
... ... @@ -352,6 +352,8 @@
352 352  OK
353 353  )))
354 354  
362 +(% style="display:none" %) (%%)
363 +
355 355  == 5.4 Device Address ==
356 356  
357 357  
... ... @@ -370,6 +370,8 @@
370 370  )))
371 371  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
372 372  
382 +(% style="display:none" %) (%%)
383 +
373 373  == 5.5 Device EUI ==
374 374  
375 375  
... ... @@ -388,6 +388,8 @@
388 388  OK
389 389  )))
390 390  
402 +(% style="display:none" %) (%%)
403 +
391 391  == 5.6 Network ID ==
392 392  
393 393  
... ... @@ -404,6 +404,8 @@
404 404  )))
405 405  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
406 406  
420 +(% style="display:none" %) (%%)
421 +
407 407  == 5.7 Network Session Key ==
408 408  
409 409  
... ... @@ -420,6 +420,8 @@
420 420  )))
421 421  |(% 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
422 422  
438 +(% style="display:none" %) (%%)
439 +
423 423  = 6. Joining and sending date on LoRaWAN network =
424 424  
425 425  == 6.1 Confirm Mode ==
... ... @@ -450,6 +450,8 @@
450 450  * **Example 1:** Downlink Payload: 0501  ~/~/ Set AT+CFM=1
451 451  * **Example 2:** Downlink Payload: 0500  ~/~/ Set AT+CFM=0
452 452  
470 +(% style="display:none" %) (%%)
471 +
453 453  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
454 454  
455 455  
... ... @@ -495,6 +495,8 @@
495 495  * **Example 1:** Downlink Payload: 05010101  ~/~/ Set AT+CFM=1,1,1
496 496  * **Example 2:** Downlink Payload: 05000700  ~/~/ Set AT+CFM=0,7,0
497 497  
517 +(% style="display:none" %) (%%)
518 +
498 498  == 6.2 Confirm Status ==
499 499  
500 500  
... ... @@ -553,6 +553,8 @@
553 553  * **Example 1: **Downlink Payload: **2000                  ** ~/~/ Set AT+NJM=0
554 554  * **Example 2:** Downlink Payload: **2001**  ~/~/ Set AT+NJM=1
555 555  
577 +(% style="display:none" %) (%%)
578 +
556 556  == 6.5 LoRa® Network Join Status ==
557 557  
558 558  
... ... @@ -568,6 +568,8 @@
568 568  OK
569 569  )))
570 570  
594 +(% style="display:none" %) (%%)
595 +
571 571  == 6.6 Print Last Received Data in Raw Format ==
572 572  
573 573  
... ... @@ -583,6 +583,8 @@
583 583  OK
584 584  )))
585 585  
611 +(% style="display:none" %) (%%)
612 +
586 586  == 6.7 Print Last Received Data in Binary Format ==
587 587  
588 588  
... ... @@ -598,6 +598,8 @@
598 598  OK
599 599  )))
600 600  
628 +(% style="display:none" %) (%%)
629 +
601 601  == 6.8 Send Text Data ==
602 602  
603 603  
... ... @@ -611,12 +611,11 @@
611 611  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
612 612  |(% style="width:201px" %)AT+SEND=12:hello world|(% style="width:340px" %)Send text data along with the application port.|(% style="width:446px" %)OK(((
613 613  While Error in format, return
614 -
615 615  AT_BUSY_ERROR/AT_BUSY_ERROR/AT_NO_NETWORK_JOINED
616 -
617 -
618 618  )))
619 619  
646 +(% style="display:none" %) (%%)
647 +
620 620  == 6.9 Send Hexadecimal Data ==
621 621  
622 622  
... ... @@ -630,11 +630,11 @@
630 630  |(% style="width:257px" %)**Command Example**|(% style="width:394px" %)**Function**|(% style="width:446px" %)**Response**
631 631  |(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:446px" %)OK
632 632  |(% style="width:257px" %)AT+SENDB=abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:446px" %)While Error in format, return(((
633 -AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED
634 -
635 -
661 +AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED
636 636  )))
637 637  
664 +(% style="display:none" %) (%%)
665 +
638 638  = 7. LoRaWAN network management =
639 639  
640 640  == 7.1 Adaptive Data Rate ==
... ... @@ -663,6 +663,8 @@
663 663  * **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
664 664  * **Example 2**: Downlink Payload: **2200FFFF**  ~/~/ Set AT+ADR=0.
665 665  
694 +(% style="display:none" %) (%%)
695 +
666 666  == 7.2 LoRa® Class ==
667 667  
668 668  
... ... @@ -678,9 +678,10 @@
678 678  OK
679 679  )))
680 680  |(% style="width:163px" %)AT+CLASS=C|(% style="width:166px" %)Set the Device Class.|(% style="width:175px" %)OK(((
681 -
682 682  )))
683 683  
713 +(% style="display:none" %) (%%)
714 +
684 684  == 7.3 Duty Cycle Setting ==
685 685  
686 686  
... ... @@ -696,9 +696,10 @@
696 696  OK
697 697  )))
698 698  |(% style="width:165px" %)AT+DCS=1|(% style="width:239px" %)Set the ETSI Duty Cycle setting.|(% style="width:107px" %)OK(((
699 -
700 700  )))
701 701  
732 +(% style="display:none" %) (%%)
733 +
702 702  == 7.4 Data Rate ==
703 703  
704 704  
... ... @@ -729,6 +729,8 @@
729 729  * **Example 1**: Downlink Payload: **220001FF**  ~/~/ Set AT+DR=1.
730 730  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+DR=0.
731 731  
764 +(% style="display:none" %) (%%)
765 +
732 732  == 7.5 Frame Counter Downlink ==
733 733  
734 734  
... ... @@ -761,9 +761,10 @@
761 761  OK
762 762  )))
763 763  |(% style="width:177px" %)AT+FCU=10|(% style="width:239px" %)Set the Frame Counter Uplink.|(% style="width:113px" %)OK(((
764 -
765 765  )))
766 766  
800 +(% style="display:none" %) (%%)
801 +
767 767  == 7.7 Join Accept Delay1 ==
768 768  
769 769  
... ... @@ -779,9 +779,10 @@
779 779  OK
780 780  )))
781 781  |(% style="width:164px" %)AT+JN1DL=10000|(% style="width:229px" %)Set the Join Accept Delay.|(% style="width:140px" %)OK(((
782 -
783 783  )))
784 784  
819 +(% style="display:none" %) (%%)
820 +
785 785  == 7.8 Join Accept Delay2 ==
786 786  
787 787  
... ... @@ -797,9 +797,10 @@
797 797  OK
798 798  )))
799 799  |(% style="width:160px" %)AT+JN2DL=20000|(% style="width:228px" %)Set the Join Accept Delay.|(% style="width:146px" %)OK(((
800 -
801 801  )))
802 802  
838 +(% style="display:none" %) (%%)
839 +
803 803  == 7.9 Public Network Mode ==
804 804  
805 805  
... ... @@ -827,6 +827,8 @@
827 827  )))
828 828  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
829 829  
867 +(% style="display:none" %) (%%)
868 +
830 830  == 7.10 Receive Delay1 ==
831 831  
832 832  
... ... @@ -842,9 +842,10 @@
842 842  OK
843 843  )))
844 844  |(% style="width:155px" %)AT+RX1DL=1500|(% style="width:128px" %)Set the delay.|(% style="width:122px" %)OK(((
845 -
846 846  )))
847 847  
886 +(% style="display:none" %) (%%)
887 +
848 848  == 7.11 Receive Delay2 ==
849 849  
850 850  
... ... @@ -860,9 +860,10 @@
860 860  OK
861 861  )))
862 862  |(% style="width:175px" %)AT+RX2DL=2500|(% style="width:152px" %)Set the delay.|(% style="width:150px" %)OK(((
863 -
864 864  )))
865 865  
905 +(% style="display:none" %) (%%)
906 +
866 866  == 7.12 Rx2 Window Data Rate ==
867 867  
868 868  
... ... @@ -878,9 +878,10 @@
878 878  OK
879 879  )))
880 880  |(% style="width:160px" %)AT+RX2DR=6|(% style="width:232px" %)Set the Rx2 window data rate.|(% style="width:130px" %)OK(((
881 -
882 882  )))
883 883  
924 +(% style="display:none" %) (%%)
925 +
884 884  == 7.13 Rx2 Window Frequency ==
885 885  
886 886  
... ... @@ -896,9 +896,10 @@
896 896  OK
897 897  )))
898 898  |(% style="width:183px" %)AT+RX2FQ=434665000|(% style="width:240px" %)Set the Rx2 window frequency.|(% style="width:160px" %)OK(((
899 -
900 900  )))
901 901  
943 +(% style="display:none" %) (%%)
944 +
902 902  == 7.14 Transmit Power ==
903 903  
904 904  
... ... @@ -916,7 +916,6 @@
916 916  OK
917 917  )))
918 918  |(% style="width:161px" %)AT+TXP=1|(% style="width:189px" %)Set the Transmit Power.|(% style="width:112px" %)OK(((
919 -
920 920  )))
921 921  
922 922  Downlink Payload. The 4th byte of 0x22 downlink.
... ... @@ -926,6 +926,8 @@
926 926  * **Example 1**: Downlink Payload: **22000102**  ~/~/ Set AT+TXP=2.
927 927  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+TXP=0.
928 928  
971 +(% style="display:none" %) (%%)
972 +
929 929  == 7.15 RSSI of the Last Received Packet ==
930 930  
931 931  
... ... @@ -941,6 +941,8 @@
941 941  OK
942 942  )))
943 943  
988 +(% style="display:none" %) (%%)
989 +
944 944  == 7.16 SNR of the Last Received Packet ==
945 945  
946 946  
... ... @@ -956,6 +956,8 @@
956 956  OK
957 957  )))
958 958  
1005 +(% style="display:none" %) (%%)
1006 +
959 959  == 7.17 Application Port ==
960 960  
961 961  
... ... @@ -981,6 +981,8 @@
981 981  * **Example 1**: Downlink Payload: **2301**  ~/~/ set the application port to 1
982 982  * **Example 2**: Downlink Payload:** 2305**  ~/~/ set the application port to 5
983 983  
1032 +(% style="display:none" %) (%%)
1033 +
984 984  == 7.18 Single Channel Mode ==
985 985  
986 986  
... ... @@ -997,6 +997,8 @@
997 997  )))
998 998  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
999 999  
1050 +(% style="display:none" %) (%%)
1051 +
1000 1000  == 7.19 Eight Channel Mode ==
1001 1001  
1002 1002  
... ... @@ -1024,6 +1024,8 @@
1024 1024  * **Example 1**: Downlink Payload: 2401  ~/~/ set channel mode to 1
1025 1025  * **Example 2**: Downlink Payload: 2405  ~/~/ set channel mode to 5
1026 1026  
1079 +(% style="display:none" %) (%%)
1080 +
1027 1027  == 7.20 Get or Set RXwindows1 timeout ==
1028 1028  
1029 1029  
... ... @@ -1040,24 +1040,19 @@
1040 1040  )))
1041 1041  |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK
1042 1042  
1043 -(((
1044 -
1097 +(% style="display:none" %) (%%)
1045 1045  
1046 -
1099 +(((
1047 1047  (% style="color:blue" %)**AT+RX1WTO**(%%) is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph.
1048 -
1049 -
1050 1050  )))
1051 1051  
1052 1052  [[image:image-20220526162535-1.png]]
1053 1053  
1054 -
1055 1055  (((
1056 1056  Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink.
1057 -
1058 -
1059 1059  )))
1060 1060  
1109 +
1061 1061  == 7.21 Get or Set RXwindows2 timeout ==
1062 1062  
1063 1063  
... ... @@ -1074,6 +1074,8 @@
1074 1074  )))
1075 1075  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1076 1076  
1126 +(% style="display:none" %) (%%)
1127 +
1077 1077  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1078 1078  
1079 1079  
... ... @@ -1099,6 +1099,8 @@
1099 1099  * **Example 1**: Downlink Payload: **2501**  ~/~/ set uplinkdwelltime to 1
1100 1100  * **Example 2**: Downlink Payload: **2500**  ~/~/ set uplinkdwelltime to 0
1101 1101  
1153 +(% style="display:none" %) (%%)
1154 +
1102 1102  == 7.23 Set Packet Receiving Response Level ==
1103 1103  
1104 1104  
... ... @@ -1138,6 +1138,8 @@
1138 1138  * **Example 1**: Downlink Payload: **2101**  ~/~/ set packet receiving response level to 1
1139 1139  * **Example 2**: Downlink Payload: **2102**  ~/~/ set packet receiving response level to 2
1140 1140  
1194 +(% style="display:none" %) (%%)
1195 +
1141 1141  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1142 1142  
1143 1143  
... ... @@ -1168,6 +1168,8 @@
1168 1168  * Example 1: Downlink Payload: 330100  ~/~/ Set AT+SETMAXNBTRANS=1,0
1169 1169  * Example 2: Downlink Payload: 330201  ~/~/ Set AT+SETMAXNBTRANS=2,1
1170 1170  
1226 +(% style="display:none" %) (%%)
1227 +
1171 1171  == 7.25 Device offline rejoining (LWS007) ==
1172 1172  
1173 1173  
... ... @@ -1221,6 +1221,8 @@
1221 1221  ** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours)
1222 1222  ** **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join.
1223 1223  
1281 +(% style="display:none" %) (%%)
1282 +
1224 1224  == 7.26 Request the server to send an ACK ==
1225 1225  
1226 1226  
... ... @@ -1234,10 +1234,11 @@
1234 1234  )))
1235 1235  |(% style="width:160px" %)**AT+PNACKMD=0**|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)(((
1236 1236  0
1237 -
1238 1238  OK
1239 1239  )))
1240 1240  
1299 +(% style="display:none" %) (%%)
1300 +
1241 1241  == 7.27 Adjust network rejoining interval ==
1242 1242  
1243 1243  
... ... @@ -1264,6 +1264,8 @@
1264 1264  * **Example 1:** Downlink Payload: 26000A  ~/~/ Set AT+RJTDC=10
1265 1265  * **Example 2: **Downlink Payload: 260002  ~/~/ Set AT+RJTDC=2
1266 1266  
1327 +(% style="display:none" %) (%%)
1328 +
1267 1267  = 8. AT Commands Combination =
1268 1268  
1269 1269  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1272,6 +1272,8 @@
1272 1272  * (% style="color:blue" %)**AT+ADR=0             **(%%) **~-~->**  Disable ADR first
1273 1273  * (% style="color:blue" %)**AT+RX2DR=xxxx**   (%%) **~-~->**  Set xxxx to your wanted DataRate
1274 1274  
1337 +(% style="display:none" %) (%%)
1338 +
1275 1275  == 8.2 Use Downlink Command to set a fix uplink DR ==
1276 1276  
1277 1277  
... ... @@ -1280,7 +1280,9 @@
1280 1280  **Same as:**
1281 1281  
1282 1282  * AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1347 +
1283 1283  * AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1349 +
1284 1284  * AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1285 1285  
1286 1286  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0