<
From version < 27.1 >
edited by Xiaoling
on 2022/05/27 17:58
To version < 38.74 >
edited by Xiaoling
on 2022/05/31 09:18
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,8 +20,8 @@
20 20  
21 21  * 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/]]
22 22  * 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 -** Use HEX format to send a downlink: [[TTN v3>>doc:Main.Notes for TTN.WebHome]]
24 -** Use Base64 format to send a downlink: [[Chirpstack>>doc:Main.Notes for ChirpStack.WebHome]].
23 +** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
24 +** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]]
25 25  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
26 26  
27 27  = 3. Support End Node and firmware version =
... ... @@ -97,6 +97,7 @@
97 97  )))
98 98  )))
99 99  
100 +
100 100  = 4. System Management Commands =
101 101  
102 102  == 4.1 Change Uplink Interval ==
... ... @@ -298,7 +298,6 @@
298 298  )))
299 299  
300 300  
301 -
302 302  = 5. Keys, IDs and EUIs management =
303 303  
304 304  == 5.1 Application EUI ==
... ... @@ -318,7 +318,6 @@
318 318  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
319 319  
320 320  
321 -
322 322  == 5.2 Application Key ==
323 323  
324 324  Feature: Get or Set the Application Key.
... ... @@ -335,8 +335,6 @@
335 335  )))
336 336  |(% 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
337 337  
338 -
339 -
340 340  == 5.3 Application Session Key ==
341 341  
342 342  Feature: Get or Set the Application Session Key.
... ... @@ -407,6 +407,8 @@
407 407  )))
408 408  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
409 409  
407 +
408 +
410 410  == 5.7 Network Session Key ==
411 411  
412 412  Feature: Get or Set the Network Session Key
... ... @@ -423,6 +423,8 @@
423 423  )))
424 424  |(% 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
425 425  
425 +
426 +
426 426  = 6. Joining and sending date on LoRaWAN network =
427 427  
428 428  == 6.1 Confirm Mode ==
... ... @@ -451,6 +451,8 @@
451 451  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
452 452  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
453 453  
455 +
456 +
454 454  == 6.2 Confirm Status ==
455 455  
456 456  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -466,6 +466,8 @@
466 466  OK
467 467  )))
468 468  
472 +
473 +
469 469  == 6.3 Join LoRa® Network ==
470 470  
471 471  Feature: Join network.
... ... @@ -483,6 +483,7 @@
483 483  While Error in format, return AT_BUSY_ERROR
484 484  )))
485 485  
491 +
486 486  == 6.4 LoRa® Network Join Mode ==
487 487  
488 488  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -511,6 +511,7 @@
511 511  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
512 512  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
513 513  
520 +
514 514  == 6.5 LoRa® Network Join Status ==
515 515  
516 516  Feature: LoRa® Network Join Status.
... ... @@ -526,6 +526,7 @@
526 526  OK
527 527  )))
528 528  
536 +
529 529  == 6.6 Print Last Received Data in Raw Format ==
530 530  
531 531  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -541,6 +541,7 @@
541 541  OK
542 542  )))
543 543  
552 +
544 544  == 6.7 Print Last Received Data in Binary Format ==
545 545  
546 546  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -556,6 +556,7 @@
556 556  OK
557 557  )))
558 558  
568 +
559 559  == 6.8 Send Text Data ==
560 560  
561 561  Feature: Send Text Data<port:data>.
... ... @@ -575,6 +575,7 @@
575 575  
576 576  )))
577 577  
588 +
578 578  == 6.9 Send Hexadecimal Data ==
579 579  
580 580  Feature: Send hexadecimal data along with the application port.
... ... @@ -593,6 +593,7 @@
593 593  
594 594  )))
595 595  
607 +
596 596  = 7. LoRaWAN network management =
597 597  
598 598  == 7.1 Adaptive Data Rate ==
... ... @@ -624,6 +624,7 @@
624 624  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
625 625  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
626 626  
639 +
627 627  == 7.2 LoRa® Class ==
628 628  
629 629  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -642,6 +642,7 @@
642 642  
643 643  )))
644 644  
658 +
645 645  == 7.3 Duty Cycle Setting ==
646 646  
647 647  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -660,6 +660,7 @@
660 660  
661 661  )))
662 662  
677 +
663 663  == 7.4 Data Rate ==
664 664  
665 665  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
... ... @@ -688,6 +688,7 @@
688 688  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
689 689  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
690 690  
706 +
691 691  == 7.5 Frame Counter Downlink ==
692 692  
693 693  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -708,6 +708,7 @@
708 708  
709 709  )))
710 710  
727 +
711 711  == 7.6 Frame Counter Uplink ==
712 712  
713 713  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -726,6 +726,7 @@
726 726  
727 727  )))
728 728  
746 +
729 729  == 7.7 Join Accept Delay1 ==
730 730  
731 731  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -744,6 +744,7 @@
744 744  
745 745  )))
746 746  
765 +
747 747  == 7.8 Join Accept Delay2 ==
748 748  
749 749  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -762,6 +762,7 @@
762 762  
763 763  )))
764 764  
784 +
765 765  == 7.9 Public Network Mode ==
766 766  
767 767  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -782,6 +782,7 @@
782 782  
783 783  )))
784 784  
805 +
785 785  == 7.10 Receive Delay1 ==
786 786  
787 787  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -800,6 +800,7 @@
800 800  
801 801  )))
802 802  
824 +
803 803  == 7.11 Receive Delay2 ==
804 804  
805 805  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -818,6 +818,7 @@
818 818  
819 819  )))
820 820  
843 +
821 821  == 7.12 Rx2 Window Data Rate ==
822 822  
823 823  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -836,6 +836,7 @@
836 836  
837 837  )))
838 838  
862 +
839 839  == 7.13 Rx2 Window Frequency ==
840 840  
841 841  Feature: Get or Set the Rx2 window frequency
... ... @@ -854,6 +854,7 @@
854 854  
855 855  )))
856 856  
881 +
857 857  == 7.14 Transmit Power ==
858 858  
859 859  Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dB, 41 = 11dB, …, 50 = 20dB which is out of LoRaWAN spec. )
... ... @@ -879,6 +879,7 @@
879 879  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
880 880  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
881 881  
907 +
882 882  == 7.15 RSSI of the Last Received Packet ==
883 883  
884 884  Feature: Get or Set the Rx2 window frequency
... ... @@ -894,6 +894,7 @@
894 894  OK
895 895  )))
896 896  
923 +
897 897  == 7.16 SNR of the Last Received Packet ==
898 898  
899 899  Feature: Get the SNR of the last received packet
... ... @@ -909,6 +909,7 @@
909 909  OK
910 910  )))
911 911  
939 +
912 912  == 7.17 Application Port ==
913 913  
914 914  Feature: Get or set the application port.
... ... @@ -936,6 +936,7 @@
936 936  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
937 937  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
938 938  
967 +
939 939  == 7.18 Single Channel Mode ==
940 940  
941 941  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -952,6 +952,7 @@
952 952  )))
953 953  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
954 954  
984 +
955 955  == 7.19 Eight Channel Mode ==
956 956  
957 957  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -981,6 +981,7 @@
981 981  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
982 982  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
983 983  
1014 +
984 984  == 7.20 Get or Set RXwindows1 timeout ==
985 985  
986 986  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1025,6 +1025,7 @@
1025 1025  )))
1026 1026  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1027 1027  
1059 +
1028 1028  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1029 1029  
1030 1030  Feature: Get or Set uplinkdwelltime
... ... @@ -1052,6 +1052,7 @@
1052 1052  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1053 1053  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1054 1054  
1087 +
1055 1055  == 7.23 Set Packet Receiving Response Level ==
1056 1056  
1057 1057  Feature: Get or Set packet receiving response level. This feature is used to set compatible with different LoRaWAN servers. If RPL doesn;t match , user will see strange message in the server portal.
... ... @@ -1093,6 +1093,7 @@
1093 1093  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1094 1094  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1095 1095  
1129 +
1096 1096  = 8. AT Commands Combination =
1097 1097  
1098 1098  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1100,6 +1100,7 @@
1100 1100  * **AT+ADR=0 **~-~-> Disable ADR first
1101 1101  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1102 1102  
1137 +
1103 1103  == 8.2 Use Downlink Command to set a fix uplink DR ==
1104 1104  
1105 1105  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0