<
From version < 52.13 >
edited by Xiaoling
on 2022/09/19 15:27
To version < 55.1 >
edited by Edwin Chen
on 2022/10/16 07:43
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
Content
... ... @@ -25,11 +25,10 @@
25 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 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:
27 27  ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
28 -** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]]
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 31  
32 -
33 33  = 3. Support End Node and firmware version =
34 34  
35 35  
... ... @@ -105,10 +105,8 @@
105 105  )))
106 106  
107 107  
108 -
109 109  = 4. System Management Commands =
110 110  
111 -
112 112  == 4.1 Change Uplink Interval ==
113 113  
114 114  
... ... @@ -145,7 +145,6 @@
145 145  * **Example 2**: Downlink Payload:** 0100003C**  ~/~/ Set Transmit Interval (TDC) = 60 seconds
146 146  
147 147  
148 -
149 149  == 4.2 Reboot End Node ==
150 150  
151 151  
... ... @@ -312,10 +312,8 @@
312 312  )))
313 313  
314 314  
315 -
316 316  = 5. Keys, IDs and EUIs management =
317 317  
318 -
319 319  == 5.1 Application EUI ==
320 320  
321 321  
... ... @@ -333,7 +333,6 @@
333 333  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
334 334  
335 335  
336 -
337 337  == 5.2 Application Key ==
338 338  
339 339  
... ... @@ -351,7 +351,6 @@
351 351  |(% 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
352 352  
353 353  
354 -
355 355  == 5.3 Application Session Key ==
356 356  
357 357  
... ... @@ -371,7 +371,6 @@
371 371  )))
372 372  
373 373  
374 -
375 375  == 5.4 Device Address ==
376 376  
377 377  
... ... @@ -391,7 +391,6 @@
391 391  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
392 392  
393 393  
394 -
395 395  == 5.5 Device EUI ==
396 396  
397 397  
... ... @@ -411,7 +411,6 @@
411 411  )))
412 412  
413 413  
414 -
415 415  == 5.6 Network ID ==
416 416  
417 417  
... ... @@ -429,7 +429,6 @@
429 429  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
430 430  
431 431  
432 -
433 433  == 5.7 Network Session Key ==
434 434  
435 435  
... ... @@ -447,13 +447,10 @@
447 447  |(% 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
448 448  
449 449  
450 -
451 451  = 6. Joining and sending date on LoRaWAN network =
452 452  
453 -
454 454  == 6.1 Confirm Mode ==
455 455  
456 -
457 457  === 6.1.1  AT+CFM command before DR-LWS007 software stack ===
458 458  
459 459  
... ... @@ -481,7 +481,6 @@
481 481  * **Example 2:** Downlink Payload: 0500  ~/~/ Set AT+CFM=0
482 482  
483 483  
484 -
485 485  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
486 486  
487 487  
... ... @@ -528,7 +528,6 @@
528 528  * **Example 2:** Downlink Payload: 05000700  ~/~/ Set AT+CFM=0,7,0
529 529  
530 530  
531 -
532 532  == 6.2 Confirm Status ==
533 533  
534 534  
... ... @@ -545,7 +545,6 @@
545 545  )))
546 546  
547 547  
548 -
549 549  == 6.3 Join LoRa® Network ==
550 550  
551 551  
... ... @@ -564,7 +564,6 @@
564 564  )))
565 565  
566 566  
567 -
568 568  == 6.4 LoRa® Network Join Mode ==
569 569  
570 570  
... ... @@ -592,7 +592,6 @@
592 592  * **Example 2:** Downlink Payload: **2001**  ~/~/ Set AT+NJM=1
593 593  
594 594  
595 -
596 596  == 6.5 LoRa® Network Join Status ==
597 597  
598 598  
... ... @@ -609,7 +609,6 @@
609 609  )))
610 610  
611 611  
612 -
613 613  == 6.6 Print Last Received Data in Raw Format ==
614 614  
615 615  
... ... @@ -626,7 +626,6 @@
626 626  )))
627 627  
628 628  
629 -
630 630  == 6.7 Print Last Received Data in Binary Format ==
631 631  
632 632  
... ... @@ -643,7 +643,6 @@
643 643  )))
644 644  
645 645  
646 -
647 647  == 6.8 Send Text Data ==
648 648  
649 649  
... ... @@ -664,7 +664,6 @@
664 664  )))
665 665  
666 666  
667 -
668 668  == 6.9 Send Hexadecimal Data ==
669 669  
670 670  
... ... @@ -684,10 +684,8 @@
684 684  )))
685 685  
686 686  
687 -
688 688  = 7. LoRaWAN network management =
689 689  
690 -
691 691  == 7.1 Adaptive Data Rate ==
692 692  
693 693  
... ... @@ -715,7 +715,6 @@
715 715  * **Example 2**: Downlink Payload: **2200FFFF**  ~/~/ Set AT+ADR=0.
716 716  
717 717  
718 -
719 719  == 7.2 LoRa® Class ==
720 720  
721 721  
... ... @@ -735,7 +735,6 @@
735 735  )))
736 736  
737 737  
738 -
739 739  == 7.3 Duty Cycle Setting ==
740 740  
741 741  
... ... @@ -755,13 +755,18 @@
755 755  )))
756 756  
757 757  
758 -
759 759  == 7.4 Data Rate ==
760 760  
761 761  
762 -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
733 +Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) .
763 763  
735 +(% style="color:red" %)
736 +**Notice:**
764 764  
738 +* 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.
739 +* Data Rate specifies Spreading Factor. The mapping various in different frequency band. 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/]]
740 +
741 +
765 765  (% style="color:blue" %)**AT Command: AT+DR**
766 766  
767 767  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
... ... @@ -782,7 +782,6 @@
782 782  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+DR=0.
783 783  
784 784  
785 -
786 786  == 7.5 Frame Counter Downlink ==
787 787  
788 788  
... ... @@ -802,7 +802,6 @@
802 802  )))
803 803  
804 804  
805 -
806 806  == 7.6 Frame Counter Uplink ==
807 807  
808 808  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -821,7 +821,6 @@
821 821  )))
822 822  
823 823  
824 -
825 825  == 7.7 Join Accept Delay1 ==
826 826  
827 827  
... ... @@ -841,7 +841,6 @@
841 841  )))
842 842  
843 843  
844 -
845 845  == 7.8 Join Accept Delay2 ==
846 846  
847 847  
... ... @@ -861,7 +861,6 @@
861 861  )))
862 862  
863 863  
864 -
865 865  == 7.9 Public Network Mode ==
866 866  
867 867  
... ... @@ -890,7 +890,6 @@
890 890  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
891 891  
892 892  
893 -
894 894  == 7.10 Receive Delay1 ==
895 895  
896 896  
... ... @@ -910,7 +910,6 @@
910 910  )))
911 911  
912 912  
913 -
914 914  == 7.11 Receive Delay2 ==
915 915  
916 916  
... ... @@ -930,7 +930,6 @@
930 930  )))
931 931  
932 932  
933 -
934 934  == 7.12 Rx2 Window Data Rate ==
935 935  
936 936  
... ... @@ -950,7 +950,6 @@
950 950  )))
951 951  
952 952  
953 -
954 954  == 7.13 Rx2 Window Frequency ==
955 955  
956 956  
... ... @@ -970,7 +970,6 @@
970 970  )))
971 971  
972 972  
973 -
974 974  == 7.14 Transmit Power ==
975 975  
976 976  
... ... @@ -999,7 +999,6 @@
999 999  * **Example 2**: Downlink Payload: **220000FF**  ~/~/ Set AT+TXP=0.
1000 1000  
1001 1001  
1002 -
1003 1003  == 7.15 RSSI of the Last Received Packet ==
1004 1004  
1005 1005  
... ... @@ -1016,7 +1016,6 @@
1016 1016  )))
1017 1017  
1018 1018  
1019 -
1020 1020  == 7.16 SNR of the Last Received Packet ==
1021 1021  
1022 1022  
... ... @@ -1033,7 +1033,6 @@
1033 1033  )))
1034 1034  
1035 1035  
1036 -
1037 1037  == 7.17 Application Port ==
1038 1038  
1039 1039  
... ... @@ -1060,7 +1060,6 @@
1060 1060  * **Example 2**: Downlink Payload:** 2305**  ~/~/ set the application port to 5
1061 1061  
1062 1062  
1063 -
1064 1064  == 7.18 Single Channel Mode ==
1065 1065  
1066 1066  
... ... @@ -1078,7 +1078,6 @@
1078 1078  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1079 1079  
1080 1080  
1081 -
1082 1082  == 7.19 Eight Channel Mode ==
1083 1083  
1084 1084  
... ... @@ -1107,7 +1107,6 @@
1107 1107  * **Example 2**: Downlink Payload: 2405  ~/~/ set channel mode to 5
1108 1108  
1109 1109  
1110 -
1111 1111  == 7.20 Get or Set RXwindows1 timeout ==
1112 1112  
1113 1113  
... ... @@ -1160,7 +1160,6 @@
1160 1160  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1161 1161  
1162 1162  
1163 -
1164 1164  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1165 1165  
1166 1166  
... ... @@ -1187,7 +1187,6 @@
1187 1187  * **Example 2**: Downlink Payload: **2500**  ~/~/ set uplinkdwelltime to 0
1188 1188  
1189 1189  
1190 -
1191 1191  == 7.23 Set Packet Receiving Response Level ==
1192 1192  
1193 1193  
... ... @@ -1208,7 +1208,6 @@
1208 1208  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
1209 1209  * 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.
1210 1210  
1211 -
1212 1212  (% style="color:blue" %)**AT Command: AT+RPL**
1213 1213  
1214 1214  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
... ... @@ -1229,7 +1229,6 @@
1229 1229  * **Example 2**: Downlink Payload: **2102**  ~/~/ set packet receiving response level to 2
1230 1230  
1231 1231  
1232 -
1233 1233  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1234 1234  
1235 1235  
... ... @@ -1261,7 +1261,6 @@
1261 1261  * Example 2: Downlink Payload: 330201  ~/~/ Set AT+SETMAXNBTRANS=2,1
1262 1262  
1263 1263  
1264 -
1265 1265  == 7.25 Device offline rejoining (LWS007) ==
1266 1266  
1267 1267  
... ... @@ -1307,7 +1307,6 @@
1307 1307  * **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1308 1308  
1309 1309  
1310 -
1311 1311  == 7.26 Request the server to send an ACK ==
1312 1312  
1313 1313  
... ... @@ -1326,8 +1326,6 @@
1326 1326  )))
1327 1327  
1328 1328  
1329 -
1330 -
1331 1331  == 7.27 Adjust network rejoining interval ==
1332 1332  
1333 1333  
... ... @@ -1355,10 +1355,8 @@
1355 1355  * **Example 2: **Downlink Payload: 260002  ~/~/ Set AT+RJTDC=2
1356 1356  
1357 1357  
1358 -
1359 1359  = 8. AT Commands Combination =
1360 1360  
1361 -
1362 1362  == 8.1 Set a fix RX2DR for downlink window ==
1363 1363  
1364 1364  
... ... @@ -1366,7 +1366,6 @@
1366 1366  * (% style="color:blue" %)**AT+RX2DR=xxxx**   (%%) **~-~->**  Set xxxx to your wanted DataRate
1367 1367  
1368 1368  
1369 -
1370 1370  == 8.2 Use Downlink Command to set a fix uplink DR ==
1371 1371  
1372 1372  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0