<
From version < 53.1 >
edited by Edwin Chen
on 2022/10/10 19:39
To version < 60.6 >
edited by Xiaoling
on 2023/03/27 14:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -14,20 +14,19 @@
14 14  
15 15  (((
16 16  **This page shows the common commands since Dragino LoRaWAN stack DR-LWS-005. Make sure the end node support stack higher than DR-LWS-005 before checking this page.**
17 -
18 -
19 -
20 20  )))
21 21  
19 +
22 22  = 2. How to use AT Commands or Downlink command =
23 23  
24 24  
25 -* For AT Command , See Devices User Manual for Device. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]
26 -* For LoRaWAN Downlink: The gateway transfer downlink command in HEX format. This page shows the HEX format downlink code for each command. but some servers use base64 as downlink code. Below are reference for how to use downlink command:
23 +* **AT Command** See Devices User Manual for how to connect to device via USB TTL adapter and use. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]
24 +* **LoRaWAN Downlink Command**: The gateway transfer downlink command in HEX format. This page shows the Downlink Command In HEX format. Please note some LoRaWAN servers use base64 as downlink code so user need to convert HEX to Base64 and use. Below are references for how to use downlink command:
27 27  ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
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  
29 +(% style="display:none" %) (%%)
31 31  
32 32  = 3. Support End Node and firmware version =
33 33  
... ... @@ -103,10 +103,10 @@
103 103  )))
104 104  )))
105 105  
105 +(% style="display:none" %) (%%)
106 106  
107 107  = 4. System Management Commands =
108 108  
109 -
110 110  == 4.1 Change Uplink Interval ==
111 111  
112 112  
... ... @@ -142,6 +142,7 @@
142 142  * **Example 1**: Downlink Payload:** 0100001E**  ~/~/ Set Transmit Interval (TDC) = 30 seconds
143 143  * **Example 2**: Downlink Payload:** 0100003C**  ~/~/ Set Transmit Interval (TDC) = 60 seconds
144 144  
144 +(% style="display:none" %) (%%)
145 145  
146 146  == 4.2 Reboot End Node ==
147 147  
... ... @@ -175,12 +175,10 @@
175 175  )))
176 176  
177 177  (((
178 -If the downlink payload=**04FF**, the end node will reboot.
179 -
180 -
181 -
178 +If the downlink payload=**04FF**, the end node will reboot.
182 182  )))
183 183  
181 +
184 184  == 4.3 Reset to factory Default ==
185 185  
186 186  
... ... @@ -217,7 +217,6 @@
217 217  )))
218 218  
219 219  
220 -
221 221  == 4.4 Show Firmware Version ==
222 222  
223 223  
... ... @@ -248,7 +248,6 @@
248 248  (((
249 249  
250 250  
251 -
252 252  **xx: Software Type:**
253 253  )))
254 254  
... ... @@ -282,7 +282,6 @@
282 282  firmware version: v1.1.0 ~-~-> 110
283 283  
284 284  
285 -
286 286  == 4.5 Show System Configure ==
287 287  
288 288  
... ... @@ -308,10 +308,8 @@
308 308  OK
309 309  )))
310 310  
311 -
312 312  = 5. Keys, IDs and EUIs management =
313 313  
314 -
315 315  == 5.1 Application EUI ==
316 316  
317 317  
... ... @@ -328,6 +328,7 @@
328 328  )))
329 329  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
330 330  
324 +(% style="display:none" %) (%%)
331 331  
332 332  == 5.2 Application Key ==
333 333  
... ... @@ -345,6 +345,7 @@
345 345  )))
346 346  |(% 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
347 347  
342 +(% style="display:none" %) (%%)
348 348  
349 349  == 5.3 Application Session Key ==
350 350  
... ... @@ -364,6 +364,7 @@
364 364  OK
365 365  )))
366 366  
362 +(% style="display:none" %) (%%)
367 367  
368 368  == 5.4 Device Address ==
369 369  
... ... @@ -383,6 +383,7 @@
383 383  )))
384 384  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
385 385  
382 +(% style="display:none" %) (%%)
386 386  
387 387  == 5.5 Device EUI ==
388 388  
... ... @@ -402,6 +402,7 @@
402 402  OK
403 403  )))
404 404  
402 +(% style="display:none" %) (%%)
405 405  
406 406  == 5.6 Network ID ==
407 407  
... ... @@ -419,6 +419,7 @@
419 419  )))
420 420  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
421 421  
420 +(% style="display:none" %) (%%)
422 422  
423 423  == 5.7 Network Session Key ==
424 424  
... ... @@ -436,13 +436,12 @@
436 436  )))
437 437  |(% 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
438 438  
438 +(% style="display:none" %) (%%)
439 439  
440 440  = 6. Joining and sending date on LoRaWAN network =
441 441  
442 -
443 443  == 6.1 Confirm Mode ==
444 444  
445 -
446 446  === 6.1.1  AT+CFM command before DR-LWS007 software stack ===
447 447  
448 448  
... ... @@ -469,6 +469,7 @@
469 469  * **Example 1:** Downlink Payload: 0501  ~/~/ Set AT+CFM=1
470 470  * **Example 2:** Downlink Payload: 0500  ~/~/ Set AT+CFM=0
471 471  
470 +(% style="display:none" %) (%%)
472 472  
473 473  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
474 474  
... ... @@ -515,6 +515,7 @@
515 515  * **Example 1:** Downlink Payload: 05010101  ~/~/ Set AT+CFM=1,1,1
516 516  * **Example 2:** Downlink Payload: 05000700  ~/~/ Set AT+CFM=0,7,0
517 517  
517 +(% style="display:none" %) (%%)
518 518  
519 519  == 6.2 Confirm Status ==
520 520  
... ... @@ -524,14 +524,13 @@
524 524  
525 525  (% style="color:blue" %)**AT Command: AT+CFS**
526 526  
527 -(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
528 -|=(% colspan="3" style="width: 531px;" %)AT+CFS
529 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
530 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:178px" %)0(((
527 +(% border="1" style="background-color:#ffffcc; color:green; width:463px" %)
528 +|=(% colspan="3" style="width: 460px;" %)AT+CFS
529 +|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:107px" %)**Response**
530 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0(((
531 531  OK
532 532  )))
533 533  
534 -
535 535  == 6.3 Join LoRa® Network ==
536 536  
537 537  
... ... @@ -549,7 +549,6 @@
549 549  While Error in format, return AT_BUSY_ERROR
550 550  )))
551 551  
552 -
553 553  == 6.4 LoRa® Network Join Mode ==
554 554  
555 555  
... ... @@ -576,6 +576,7 @@
576 576  * **Example 1: **Downlink Payload: **2000                  ** ~/~/ Set AT+NJM=0
577 577  * **Example 2:** Downlink Payload: **2001**  ~/~/ Set AT+NJM=1
578 578  
577 +(% style="display:none" %) (%%)
579 579  
580 580  == 6.5 LoRa® Network Join Status ==
581 581  
... ... @@ -592,6 +592,7 @@
592 592  OK
593 593  )))
594 594  
594 +(% style="display:none" %) (%%)
595 595  
596 596  == 6.6 Print Last Received Data in Raw Format ==
597 597  
... ... @@ -608,6 +608,7 @@
608 608  OK
609 609  )))
610 610  
611 +(% style="display:none" %) (%%)
611 611  
612 612  == 6.7 Print Last Received Data in Binary Format ==
613 613  
... ... @@ -624,6 +624,7 @@
624 624  OK
625 625  )))
626 626  
628 +(% style="display:none" %) (%%)
627 627  
628 628  == 6.8 Send Text Data ==
629 629  
... ... @@ -638,12 +638,10 @@
638 638  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
639 639  |(% style="width:201px" %)AT+SEND=12:hello world|(% style="width:340px" %)Send text data along with the application port.|(% style="width:446px" %)OK(((
640 640  While Error in format, return
641 -
642 642  AT_BUSY_ERROR/AT_BUSY_ERROR/AT_NO_NETWORK_JOINED
643 -
644 -
645 645  )))
646 646  
646 +(% style="display:none" %) (%%)
647 647  
648 648  == 6.9 Send Hexadecimal Data ==
649 649  
... ... @@ -658,15 +658,13 @@
658 658  |(% style="width:257px" %)**Command Example**|(% style="width:394px" %)**Function**|(% style="width:446px" %)**Response**
659 659  |(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:446px" %)OK
660 660  |(% 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(((
661 -AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED
662 -
663 -
661 +AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED
664 664  )))
665 665  
664 +(% style="display:none" %) (%%)
666 666  
667 667  = 7. LoRaWAN network management =
668 668  
669 -
670 670  == 7.1 Adaptive Data Rate ==
671 671  
672 672  
... ... @@ -693,6 +693,7 @@
693 693  * **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
694 694  * **Example 2**: Downlink Payload: **2200FFFF**  ~/~/ Set AT+ADR=0.
695 695  
694 +(% style="display:none" %) (%%)
696 696  
697 697  == 7.2 LoRa® Class ==
698 698  
... ... @@ -709,9 +709,9 @@
709 709  OK
710 710  )))
711 711  |(% style="width:163px" %)AT+CLASS=C|(% style="width:166px" %)Set the Device Class.|(% style="width:175px" %)OK(((
712 -
713 713  )))
714 714  
713 +(% style="display:none" %) (%%)
715 715  
716 716  == 7.3 Duty Cycle Setting ==
717 717  
... ... @@ -728,16 +728,21 @@
728 728  OK
729 729  )))
730 730  |(% style="width:165px" %)AT+DCS=1|(% style="width:239px" %)Set the ETSI Duty Cycle setting.|(% style="width:107px" %)OK(((
731 -
732 732  )))
733 733  
732 +(% style="display:none" %) (%%)
734 734  
735 735  == 7.4 Data Rate ==
736 736  
737 737  
738 -Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . 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
737 +Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) .
739 739  
739 +(% style="color:red" %)
740 +**Notice:**
740 740  
742 +* 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.
743 +* 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/]]
744 +
741 741  (% style="color:blue" %)**AT Command: AT+DR**
742 742  
743 743  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
... ... @@ -757,6 +757,7 @@
757 757  * **Example 1**: Downlink Payload: **220001FF**  ~/~/ Set AT+DR=1.
758 758  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+DR=0.
759 759  
764 +(% style="display:none" %) (%%)
760 760  
761 761  == 7.5 Frame Counter Downlink ==
762 762  
... ... @@ -776,7 +776,6 @@
776 776  OK
777 777  )))
778 778  
779 -
780 780  == 7.6 Frame Counter Uplink ==
781 781  
782 782  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -791,9 +791,9 @@
791 791  OK
792 792  )))
793 793  |(% style="width:177px" %)AT+FCU=10|(% style="width:239px" %)Set the Frame Counter Uplink.|(% style="width:113px" %)OK(((
794 -
795 795  )))
796 796  
800 +(% style="display:none" %) (%%)
797 797  
798 798  == 7.7 Join Accept Delay1 ==
799 799  
... ... @@ -810,9 +810,9 @@
810 810  OK
811 811  )))
812 812  |(% style="width:164px" %)AT+JN1DL=10000|(% style="width:229px" %)Set the Join Accept Delay.|(% style="width:140px" %)OK(((
813 -
814 814  )))
815 815  
819 +(% style="display:none" %) (%%)
816 816  
817 817  == 7.8 Join Accept Delay2 ==
818 818  
... ... @@ -829,9 +829,9 @@
829 829  OK
830 830  )))
831 831  |(% style="width:160px" %)AT+JN2DL=20000|(% style="width:228px" %)Set the Join Accept Delay.|(% style="width:146px" %)OK(((
832 -
833 833  )))
834 834  
838 +(% style="display:none" %) (%%)
835 835  
836 836  == 7.9 Public Network Mode ==
837 837  
... ... @@ -860,6 +860,7 @@
860 860  )))
861 861  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
862 862  
867 +(% style="display:none" %) (%%)
863 863  
864 864  == 7.10 Receive Delay1 ==
865 865  
... ... @@ -876,9 +876,9 @@
876 876  OK
877 877  )))
878 878  |(% style="width:155px" %)AT+RX1DL=1500|(% style="width:128px" %)Set the delay.|(% style="width:122px" %)OK(((
879 -
880 880  )))
881 881  
886 +(% style="display:none" %) (%%)
882 882  
883 883  == 7.11 Receive Delay2 ==
884 884  
... ... @@ -895,9 +895,9 @@
895 895  OK
896 896  )))
897 897  |(% style="width:175px" %)AT+RX2DL=2500|(% style="width:152px" %)Set the delay.|(% style="width:150px" %)OK(((
898 -
899 899  )))
900 900  
905 +(% style="display:none" %) (%%)
901 901  
902 902  == 7.12 Rx2 Window Data Rate ==
903 903  
... ... @@ -914,9 +914,9 @@
914 914  OK
915 915  )))
916 916  |(% style="width:160px" %)AT+RX2DR=6|(% style="width:232px" %)Set the Rx2 window data rate.|(% style="width:130px" %)OK(((
917 -
918 918  )))
919 919  
924 +(% style="display:none" %) (%%)
920 920  
921 921  == 7.13 Rx2 Window Frequency ==
922 922  
... ... @@ -933,9 +933,9 @@
933 933  OK
934 934  )))
935 935  |(% style="width:183px" %)AT+RX2FQ=434665000|(% style="width:240px" %)Set the Rx2 window frequency.|(% style="width:160px" %)OK(((
936 -
937 937  )))
938 938  
943 +(% style="display:none" %) (%%)
939 939  
940 940  == 7.14 Transmit Power ==
941 941  
... ... @@ -954,7 +954,6 @@
954 954  OK
955 955  )))
956 956  |(% style="width:161px" %)AT+TXP=1|(% style="width:189px" %)Set the Transmit Power.|(% style="width:112px" %)OK(((
957 -
958 958  )))
959 959  
960 960  Downlink Payload. The 4th byte of 0x22 downlink.
... ... @@ -964,6 +964,7 @@
964 964  * **Example 1**: Downlink Payload: **22000102**  ~/~/ Set AT+TXP=2.
965 965  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+TXP=0.
966 966  
971 +(% style="display:none" %) (%%)
967 967  
968 968  == 7.15 RSSI of the Last Received Packet ==
969 969  
... ... @@ -980,6 +980,7 @@
980 980  OK
981 981  )))
982 982  
988 +(% style="display:none" %) (%%)
983 983  
984 984  == 7.16 SNR of the Last Received Packet ==
985 985  
... ... @@ -996,6 +996,7 @@
996 996  OK
997 997  )))
998 998  
1005 +(% style="display:none" %) (%%)
999 999  
1000 1000  == 7.17 Application Port ==
1001 1001  
... ... @@ -1022,6 +1022,7 @@
1022 1022  * **Example 1**: Downlink Payload: **2301**  ~/~/ set the application port to 1
1023 1023  * **Example 2**: Downlink Payload:** 2305**  ~/~/ set the application port to 5
1024 1024  
1032 +(% style="display:none" %) (%%)
1025 1025  
1026 1026  == 7.18 Single Channel Mode ==
1027 1027  
... ... @@ -1039,6 +1039,7 @@
1039 1039  )))
1040 1040  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1041 1041  
1050 +(% style="display:none" %) (%%)
1042 1042  
1043 1043  == 7.19 Eight Channel Mode ==
1044 1044  
... ... @@ -1058,7 +1058,7 @@
1058 1058  )))
1059 1059  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1060 1060  
1061 -(% style="color:blue" %)**Downlink Command: 0x24**
1070 +(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**
1062 1062  
1063 1063  Format: Command Code (0x24) followed by 1 bytes channel value.
1064 1064  
... ... @@ -1067,6 +1067,7 @@
1067 1067  * **Example 1**: Downlink Payload: 2401  ~/~/ set channel mode to 1
1068 1068  * **Example 2**: Downlink Payload: 2405  ~/~/ set channel mode to 5
1069 1069  
1079 +(% style="display:none" %) (%%)
1070 1070  
1071 1071  == 7.20 Get or Set RXwindows1 timeout ==
1072 1072  
... ... @@ -1084,25 +1084,18 @@
1084 1084  )))
1085 1085  |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK
1086 1086  
1097 +(% style="display:none" %) (%%)
1087 1087  (((
1088 -
1089 -
1090 -
1091 1091  (% 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.
1092 -
1093 -
1094 1094  )))
1095 1095  
1096 1096  [[image:image-20220526162535-1.png]]
1097 1097  
1098 -
1099 1099  (((
1100 1100  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.
1101 -
1102 -
1103 -
1104 1104  )))
1105 1105  
1108 +
1106 1106  == 7.21 Get or Set RXwindows2 timeout ==
1107 1107  
1108 1108  
... ... @@ -1119,7 +1119,6 @@
1119 1119  )))
1120 1120  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1121 1121  
1122 -
1123 1123  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1124 1124  
1125 1125  
... ... @@ -1145,7 +1145,6 @@
1145 1145  * **Example 1**: Downlink Payload: **2501**  ~/~/ set uplinkdwelltime to 1
1146 1146  * **Example 2**: Downlink Payload: **2500**  ~/~/ set uplinkdwelltime to 0
1147 1147  
1148 -
1149 1149  == 7.23 Set Packet Receiving Response Level ==
1150 1150  
1151 1151  
... ... @@ -1185,7 +1185,6 @@
1185 1185  * **Example 1**: Downlink Payload: **2101**  ~/~/ set packet receiving response level to 1
1186 1186  * **Example 2**: Downlink Payload: **2102**  ~/~/ set packet receiving response level to 2
1187 1187  
1188 -
1189 1189  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1190 1190  
1191 1191  
... ... @@ -1216,12 +1216,16 @@
1216 1216  * Example 1: Downlink Payload: 330100  ~/~/ Set AT+SETMAXNBTRANS=1,0
1217 1217  * Example 2: Downlink Payload: 330201  ~/~/ Set AT+SETMAXNBTRANS=2,1
1218 1218  
1219 -
1220 1220  == 7.25 Device offline rejoining (LWS007) ==
1221 1221  
1222 1222  
1223 1223  (% style="color:blue" %)**AT Command: AT+DDETECT**
1224 1224  
1224 +AT+DDETECT=<Flag>,<ACK_Timout_1>,<ACK_Timout_2> (Default Value: AT+DDETECT=1,1440,2880)
1225 +
1226 +* ACK_Timout_1: Unit: min
1227 +* ACK_Timout_2: Unit: min
1228 +
1225 1225  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1226 1226  |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT**
1227 1227  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1253,15 +1253,18 @@
1253 1253  OK
1254 1254  )))
1255 1255  
1256 -(% style="color:blue" %)**Downlink Command: 0x33**
1260 +(% style="color:blue" %)**Downlink Command: 0x32**
1257 1257  
1258 1258  Format: Command Code (0x32) followed by 2 bytes mode value.
1259 1259  
1260 -If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 33.
1264 +If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 32.
1261 1261  
1262 -* **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1266 +* **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1267 +** 0x01 : Flag
1268 +** 0x05A0: ACK_Timout_1 : 1440minutes (24 hours)
1269 +** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours)
1270 +** **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.
1263 1263  
1264 -
1265 1265  == 7.26 Request the server to send an ACK ==
1266 1266  
1267 1267  
... ... @@ -1279,8 +1279,6 @@
1279 1279  OK
1280 1280  )))
1281 1281  
1282 -
1283 -
1284 1284  == 7.27 Adjust network rejoining interval ==
1285 1285  
1286 1286  
... ... @@ -1289,13 +1289,13 @@
1289 1289  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1290 1290  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1291 1291  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1292 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1297 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30(((
1293 1293  OK
1294 1294  
1295 -the interval is 30000ms = 30s
1300 +the interval is 30 min
1296 1296  )))
1297 -|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1298 -Set the ReJoin data transmission interval to 60000ms = 60 seconds
1302 +|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1303 +Set the ReJoin data transmission interval to 60 min
1299 1299  )))
1300 1300  
1301 1301  (% style="color:blue" %)**Downlink Command: 0x26**
... ... @@ -1307,10 +1307,8 @@
1307 1307  * **Example 1:** Downlink Payload: 26000A  ~/~/ Set AT+RJTDC=10
1308 1308  * **Example 2: **Downlink Payload: 260002  ~/~/ Set AT+RJTDC=2
1309 1309  
1310 -
1311 1311  = 8. AT Commands Combination =
1312 1312  
1313 -
1314 1314  == 8.1 Set a fix RX2DR for downlink window ==
1315 1315  
1316 1316  
... ... @@ -1317,7 +1317,6 @@
1317 1317  * (% style="color:blue" %)**AT+ADR=0             **(%%) **~-~->**  Disable ADR first
1318 1318  * (% style="color:blue" %)**AT+RX2DR=xxxx**   (%%) **~-~->**  Set xxxx to your wanted DataRate
1319 1319  
1320 -
1321 1321  == 8.2 Use Downlink Command to set a fix uplink DR ==
1322 1322  
1323 1323  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0