<
From version < 34.1 >
edited by Xiaoling
on 2022/05/27 18:02
To version < 21.1 >
edited by Xiaoling
on 2022/05/27 17:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,7 +3,6 @@
3 3  {{toc/}}
4 4  
5 5  
6 -
7 7  = 1. Introduction =
8 8  
9 9  Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands:
... ... @@ -24,6 +24,7 @@
24 24  ** Use Base64 format to send a downlink: [[Chirpstack>>doc:Main.Notes for ChirpStack.WebHome]].
25 25  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
26 26  
26 +
27 27  = 3. Support End Node and firmware version =
28 28  
29 29  (% border="1" style="background-color:#ffffcc; color:green; width:966px" %)
... ... @@ -97,6 +97,8 @@
97 97  )))
98 98  )))
99 99  
100 +
101 +
100 100  = 4. System Management Commands =
101 101  
102 102  == 4.1 Change Uplink Interval ==
... ... @@ -135,6 +135,7 @@
135 135  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
136 136  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
137 137  
140 +
138 138  == 4.2 Reboot End Node ==
139 139  
140 140  Feature: Reboot End Node to perform a new OTAA or ABP Join.
... ... @@ -352,6 +352,7 @@
352 352  )))
353 353  
354 354  
358 +
355 355  == 5.4 Device Address ==
356 356  
357 357  Feature: Get or Set the Device Address.
... ... @@ -408,6 +408,8 @@
408 408  )))
409 409  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
410 410  
415 +
416 +
411 411  == 5.7 Network Session Key ==
412 412  
413 413  Feature: Get or Set the Network Session Key
... ... @@ -424,6 +424,8 @@
424 424  )))
425 425  |(% 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
426 426  
433 +
434 +
427 427  = 6. Joining and sending date on LoRaWAN network =
428 428  
429 429  == 6.1 Confirm Mode ==
... ... @@ -452,6 +452,8 @@
452 452  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
453 453  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
454 454  
463 +
464 +
455 455  == 6.2 Confirm Status ==
456 456  
457 457  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -467,6 +467,8 @@
467 467  OK
468 468  )))
469 469  
480 +
481 +
470 470  == 6.3 Join LoRa® Network ==
471 471  
472 472  Feature: Join network.
... ... @@ -484,6 +484,8 @@
484 484  While Error in format, return AT_BUSY_ERROR
485 485  )))
486 486  
499 +
500 +
487 487  == 6.4 LoRa® Network Join Mode ==
488 488  
489 489  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -512,6 +512,8 @@
512 512  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
513 513  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
514 514  
529 +
530 +
515 515  == 6.5 LoRa® Network Join Status ==
516 516  
517 517  Feature: LoRa® Network Join Status.
... ... @@ -527,6 +527,8 @@
527 527  OK
528 528  )))
529 529  
546 +
547 +
530 530  == 6.6 Print Last Received Data in Raw Format ==
531 531  
532 532  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -542,6 +542,8 @@
542 542  OK
543 543  )))
544 544  
563 +
564 +
545 545  == 6.7 Print Last Received Data in Binary Format ==
546 546  
547 547  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -557,6 +557,8 @@
557 557  OK
558 558  )))
559 559  
580 +
581 +
560 560  == 6.8 Send Text Data ==
561 561  
562 562  Feature: Send Text Data<port:data>.
... ... @@ -576,6 +576,8 @@
576 576  
577 577  )))
578 578  
601 +
602 +
579 579  == 6.9 Send Hexadecimal Data ==
580 580  
581 581  Feature: Send hexadecimal data along with the application port.
... ... @@ -594,6 +594,8 @@
594 594  
595 595  )))
596 596  
621 +
622 +
597 597  = 7. LoRaWAN network management =
598 598  
599 599  == 7.1 Adaptive Data Rate ==
... ... @@ -625,6 +625,8 @@
625 625  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
626 626  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
627 627  
654 +
655 +
628 628  == 7.2 LoRa® Class ==
629 629  
630 630  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -643,6 +643,8 @@
643 643  
644 644  )))
645 645  
674 +
675 +
646 646  == 7.3 Duty Cycle Setting ==
647 647  
648 648  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -661,6 +661,8 @@
661 661  
662 662  )))
663 663  
694 +
695 +
664 664  == 7.4 Data Rate ==
665 665  
666 666  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
... ... @@ -689,6 +689,8 @@
689 689  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
690 690  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
691 691  
724 +
725 +
692 692  == 7.5 Frame Counter Downlink ==
693 693  
694 694  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -709,6 +709,8 @@
709 709  
710 710  )))
711 711  
746 +
747 +
712 712  == 7.6 Frame Counter Uplink ==
713 713  
714 714  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -727,6 +727,8 @@
727 727  
728 728  )))
729 729  
766 +
767 +
730 730  == 7.7 Join Accept Delay1 ==
731 731  
732 732  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -745,6 +745,8 @@
745 745  
746 746  )))
747 747  
786 +
787 +
748 748  == 7.8 Join Accept Delay2 ==
749 749  
750 750  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -763,6 +763,8 @@
763 763  
764 764  )))
765 765  
806 +
807 +
766 766  == 7.9 Public Network Mode ==
767 767  
768 768  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -783,6 +783,8 @@
783 783  
784 784  )))
785 785  
828 +
829 +
786 786  == 7.10 Receive Delay1 ==
787 787  
788 788  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -801,6 +801,8 @@
801 801  
802 802  )))
803 803  
848 +
849 +
804 804  == 7.11 Receive Delay2 ==
805 805  
806 806  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -819,6 +819,8 @@
819 819  
820 820  )))
821 821  
868 +
869 +
822 822  == 7.12 Rx2 Window Data Rate ==
823 823  
824 824  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -837,6 +837,8 @@
837 837  
838 838  )))
839 839  
888 +
889 +
840 840  == 7.13 Rx2 Window Frequency ==
841 841  
842 842  Feature: Get or Set the Rx2 window frequency
... ... @@ -855,6 +855,8 @@
855 855  
856 856  )))
857 857  
908 +
909 +
858 858  == 7.14 Transmit Power ==
859 859  
860 860  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. )
... ... @@ -880,6 +880,8 @@
880 880  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
881 881  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
882 882  
935 +
936 +
883 883  == 7.15 RSSI of the Last Received Packet ==
884 884  
885 885  Feature: Get or Set the Rx2 window frequency
... ... @@ -895,6 +895,8 @@
895 895  OK
896 896  )))
897 897  
952 +
953 +
898 898  == 7.16 SNR of the Last Received Packet ==
899 899  
900 900  Feature: Get the SNR of the last received packet
... ... @@ -910,6 +910,8 @@
910 910  OK
911 911  )))
912 912  
969 +
970 +
913 913  == 7.17 Application Port ==
914 914  
915 915  Feature: Get or set the application port.
... ... @@ -937,6 +937,8 @@
937 937  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
938 938  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
939 939  
998 +
999 +
940 940  == 7.18 Single Channel Mode ==
941 941  
942 942  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -953,6 +953,8 @@
953 953  )))
954 954  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
955 955  
1016 +
1017 +
956 956  == 7.19 Eight Channel Mode ==
957 957  
958 958  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -982,6 +982,8 @@
982 982  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
983 983  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
984 984  
1047 +
1048 +
985 985  == 7.20 Get or Set RXwindows1 timeout ==
986 986  
987 987  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1026,6 +1026,8 @@
1026 1026  )))
1027 1027  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1028 1028  
1093 +
1094 +
1029 1029  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1030 1030  
1031 1031  Feature: Get or Set uplinkdwelltime
... ... @@ -1053,6 +1053,8 @@
1053 1053  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1054 1054  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1055 1055  
1122 +
1123 +
1056 1056  == 7.23 Set Packet Receiving Response Level ==
1057 1057  
1058 1058  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.
... ... @@ -1094,6 +1094,8 @@
1094 1094  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1095 1095  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1096 1096  
1165 +
1166 +
1097 1097  = 8. AT Commands Combination =
1098 1098  
1099 1099  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1101,6 +1101,8 @@
1101 1101  * **AT+ADR=0 **~-~-> Disable ADR first
1102 1102  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1103 1103  
1174 +
1175 +
1104 1104  == 8.2 Use Downlink Command to set a fix uplink DR ==
1105 1105  
1106 1106  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0