<
From version < 28.1 >
edited by Xiaoling
on 2022/05/27 17:59
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.
... ... @@ -371,6 +371,8 @@
371 371  )))
372 372  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
373 373  
377 +
378 +
374 374  == 5.5 Device EUI ==
375 375  
376 376  Feature: Get or Set the Device EUI.
... ... @@ -389,6 +389,8 @@
389 389  OK
390 390  )))
391 391  
397 +
398 +
392 392  == 5.6 Network ID ==
393 393  
394 394  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
... ... @@ -405,6 +405,8 @@
405 405  )))
406 406  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
407 407  
415 +
416 +
408 408  == 5.7 Network Session Key ==
409 409  
410 410  Feature: Get or Set the Network Session Key
... ... @@ -421,6 +421,8 @@
421 421  )))
422 422  |(% 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
423 423  
433 +
434 +
424 424  = 6. Joining and sending date on LoRaWAN network =
425 425  
426 426  == 6.1 Confirm Mode ==
... ... @@ -449,6 +449,8 @@
449 449  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
450 450  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
451 451  
463 +
464 +
452 452  == 6.2 Confirm Status ==
453 453  
454 454  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -464,6 +464,8 @@
464 464  OK
465 465  )))
466 466  
480 +
481 +
467 467  == 6.3 Join LoRa® Network ==
468 468  
469 469  Feature: Join network.
... ... @@ -481,6 +481,8 @@
481 481  While Error in format, return AT_BUSY_ERROR
482 482  )))
483 483  
499 +
500 +
484 484  == 6.4 LoRa® Network Join Mode ==
485 485  
486 486  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -509,6 +509,8 @@
509 509  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
510 510  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
511 511  
529 +
530 +
512 512  == 6.5 LoRa® Network Join Status ==
513 513  
514 514  Feature: LoRa® Network Join Status.
... ... @@ -524,6 +524,8 @@
524 524  OK
525 525  )))
526 526  
546 +
547 +
527 527  == 6.6 Print Last Received Data in Raw Format ==
528 528  
529 529  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -539,6 +539,8 @@
539 539  OK
540 540  )))
541 541  
563 +
564 +
542 542  == 6.7 Print Last Received Data in Binary Format ==
543 543  
544 544  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -554,6 +554,8 @@
554 554  OK
555 555  )))
556 556  
580 +
581 +
557 557  == 6.8 Send Text Data ==
558 558  
559 559  Feature: Send Text Data<port:data>.
... ... @@ -573,6 +573,8 @@
573 573  
574 574  )))
575 575  
601 +
602 +
576 576  == 6.9 Send Hexadecimal Data ==
577 577  
578 578  Feature: Send hexadecimal data along with the application port.
... ... @@ -591,6 +591,8 @@
591 591  
592 592  )))
593 593  
621 +
622 +
594 594  = 7. LoRaWAN network management =
595 595  
596 596  == 7.1 Adaptive Data Rate ==
... ... @@ -622,6 +622,8 @@
622 622  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
623 623  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
624 624  
654 +
655 +
625 625  == 7.2 LoRa® Class ==
626 626  
627 627  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -640,6 +640,8 @@
640 640  
641 641  )))
642 642  
674 +
675 +
643 643  == 7.3 Duty Cycle Setting ==
644 644  
645 645  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -658,6 +658,8 @@
658 658  
659 659  )))
660 660  
694 +
695 +
661 661  == 7.4 Data Rate ==
662 662  
663 663  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
... ... @@ -686,6 +686,8 @@
686 686  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
687 687  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
688 688  
724 +
725 +
689 689  == 7.5 Frame Counter Downlink ==
690 690  
691 691  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -706,6 +706,8 @@
706 706  
707 707  )))
708 708  
746 +
747 +
709 709  == 7.6 Frame Counter Uplink ==
710 710  
711 711  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -724,6 +724,8 @@
724 724  
725 725  )))
726 726  
766 +
767 +
727 727  == 7.7 Join Accept Delay1 ==
728 728  
729 729  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -742,6 +742,8 @@
742 742  
743 743  )))
744 744  
786 +
787 +
745 745  == 7.8 Join Accept Delay2 ==
746 746  
747 747  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -760,6 +760,8 @@
760 760  
761 761  )))
762 762  
806 +
807 +
763 763  == 7.9 Public Network Mode ==
764 764  
765 765  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -780,6 +780,8 @@
780 780  
781 781  )))
782 782  
828 +
829 +
783 783  == 7.10 Receive Delay1 ==
784 784  
785 785  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -798,6 +798,8 @@
798 798  
799 799  )))
800 800  
848 +
849 +
801 801  == 7.11 Receive Delay2 ==
802 802  
803 803  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -816,6 +816,8 @@
816 816  
817 817  )))
818 818  
868 +
869 +
819 819  == 7.12 Rx2 Window Data Rate ==
820 820  
821 821  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -834,6 +834,8 @@
834 834  
835 835  )))
836 836  
888 +
889 +
837 837  == 7.13 Rx2 Window Frequency ==
838 838  
839 839  Feature: Get or Set the Rx2 window frequency
... ... @@ -852,6 +852,8 @@
852 852  
853 853  )))
854 854  
908 +
909 +
855 855  == 7.14 Transmit Power ==
856 856  
857 857  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. )
... ... @@ -877,6 +877,8 @@
877 877  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
878 878  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
879 879  
935 +
936 +
880 880  == 7.15 RSSI of the Last Received Packet ==
881 881  
882 882  Feature: Get or Set the Rx2 window frequency
... ... @@ -892,6 +892,8 @@
892 892  OK
893 893  )))
894 894  
952 +
953 +
895 895  == 7.16 SNR of the Last Received Packet ==
896 896  
897 897  Feature: Get the SNR of the last received packet
... ... @@ -907,6 +907,8 @@
907 907  OK
908 908  )))
909 909  
969 +
970 +
910 910  == 7.17 Application Port ==
911 911  
912 912  Feature: Get or set the application port.
... ... @@ -934,6 +934,8 @@
934 934  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
935 935  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
936 936  
998 +
999 +
937 937  == 7.18 Single Channel Mode ==
938 938  
939 939  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -950,6 +950,8 @@
950 950  )))
951 951  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
952 952  
1016 +
1017 +
953 953  == 7.19 Eight Channel Mode ==
954 954  
955 955  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -979,6 +979,8 @@
979 979  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
980 980  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
981 981  
1047 +
1048 +
982 982  == 7.20 Get or Set RXwindows1 timeout ==
983 983  
984 984  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1023,6 +1023,8 @@
1023 1023  )))
1024 1024  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1025 1025  
1093 +
1094 +
1026 1026  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1027 1027  
1028 1028  Feature: Get or Set uplinkdwelltime
... ... @@ -1050,6 +1050,8 @@
1050 1050  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1051 1051  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1052 1052  
1122 +
1123 +
1053 1053  == 7.23 Set Packet Receiving Response Level ==
1054 1054  
1055 1055  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.
... ... @@ -1091,6 +1091,8 @@
1091 1091  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1092 1092  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1093 1093  
1165 +
1166 +
1094 1094  = 8. AT Commands Combination =
1095 1095  
1096 1096  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1098,6 +1098,8 @@
1098 1098  * **AT+ADR=0 **~-~-> Disable ADR first
1099 1099  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1100 1100  
1174 +
1175 +
1101 1101  == 8.2 Use Downlink Command to set a fix uplink DR ==
1102 1102  
1103 1103  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0