<
From version < 31.1 >
edited by Xiaoling
on 2022/05/27 18:00
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.
... ... @@ -296,6 +296,7 @@
296 296  OK
297 297  )))
298 298  
302 +
299 299  = 5. Keys, IDs and EUIs management =
300 300  
301 301  == 5.1 Application EUI ==
... ... @@ -314,6 +314,7 @@
314 314  )))
315 315  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
316 316  
321 +
317 317  == 5.2 Application Key ==
318 318  
319 319  Feature: Get or Set the Application Key.
... ... @@ -330,6 +330,7 @@
330 330  )))
331 331  |(% 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
332 332  
338 +
333 333  == 5.3 Application Session Key ==
334 334  
335 335  Feature: Get or Set the Application Session Key.
... ... @@ -348,6 +348,8 @@
348 348  OK
349 349  )))
350 350  
357 +
358 +
351 351  == 5.4 Device Address ==
352 352  
353 353  Feature: Get or Set the Device Address.
... ... @@ -366,6 +366,8 @@
366 366  )))
367 367  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
368 368  
377 +
378 +
369 369  == 5.5 Device EUI ==
370 370  
371 371  Feature: Get or Set the Device EUI.
... ... @@ -385,6 +385,7 @@
385 385  )))
386 386  
387 387  
398 +
388 388  == 5.6 Network ID ==
389 389  
390 390  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
... ... @@ -402,6 +402,7 @@
402 402  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
403 403  
404 404  
416 +
405 405  == 5.7 Network Session Key ==
406 406  
407 407  Feature: Get or Set the Network Session Key
... ... @@ -448,6 +448,8 @@
448 448  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
449 449  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
450 450  
463 +
464 +
451 451  == 6.2 Confirm Status ==
452 452  
453 453  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -463,6 +463,8 @@
463 463  OK
464 464  )))
465 465  
480 +
481 +
466 466  == 6.3 Join LoRa® Network ==
467 467  
468 468  Feature: Join network.
... ... @@ -480,6 +480,8 @@
480 480  While Error in format, return AT_BUSY_ERROR
481 481  )))
482 482  
499 +
500 +
483 483  == 6.4 LoRa® Network Join Mode ==
484 484  
485 485  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -508,6 +508,8 @@
508 508  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
509 509  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
510 510  
529 +
530 +
511 511  == 6.5 LoRa® Network Join Status ==
512 512  
513 513  Feature: LoRa® Network Join Status.
... ... @@ -523,6 +523,8 @@
523 523  OK
524 524  )))
525 525  
546 +
547 +
526 526  == 6.6 Print Last Received Data in Raw Format ==
527 527  
528 528  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -538,6 +538,8 @@
538 538  OK
539 539  )))
540 540  
563 +
564 +
541 541  == 6.7 Print Last Received Data in Binary Format ==
542 542  
543 543  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -553,6 +553,8 @@
553 553  OK
554 554  )))
555 555  
580 +
581 +
556 556  == 6.8 Send Text Data ==
557 557  
558 558  Feature: Send Text Data<port:data>.
... ... @@ -572,6 +572,8 @@
572 572  
573 573  )))
574 574  
601 +
602 +
575 575  == 6.9 Send Hexadecimal Data ==
576 576  
577 577  Feature: Send hexadecimal data along with the application port.
... ... @@ -590,6 +590,8 @@
590 590  
591 591  )))
592 592  
621 +
622 +
593 593  = 7. LoRaWAN network management =
594 594  
595 595  == 7.1 Adaptive Data Rate ==
... ... @@ -621,6 +621,8 @@
621 621  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
622 622  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
623 623  
654 +
655 +
624 624  == 7.2 LoRa® Class ==
625 625  
626 626  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -639,6 +639,8 @@
639 639  
640 640  )))
641 641  
674 +
675 +
642 642  == 7.3 Duty Cycle Setting ==
643 643  
644 644  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -657,6 +657,8 @@
657 657  
658 658  )))
659 659  
694 +
695 +
660 660  == 7.4 Data Rate ==
661 661  
662 662  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
... ... @@ -685,6 +685,8 @@
685 685  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
686 686  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
687 687  
724 +
725 +
688 688  == 7.5 Frame Counter Downlink ==
689 689  
690 690  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -705,6 +705,8 @@
705 705  
706 706  )))
707 707  
746 +
747 +
708 708  == 7.6 Frame Counter Uplink ==
709 709  
710 710  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -723,6 +723,8 @@
723 723  
724 724  )))
725 725  
766 +
767 +
726 726  == 7.7 Join Accept Delay1 ==
727 727  
728 728  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -741,6 +741,8 @@
741 741  
742 742  )))
743 743  
786 +
787 +
744 744  == 7.8 Join Accept Delay2 ==
745 745  
746 746  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -759,6 +759,8 @@
759 759  
760 760  )))
761 761  
806 +
807 +
762 762  == 7.9 Public Network Mode ==
763 763  
764 764  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -779,6 +779,8 @@
779 779  
780 780  )))
781 781  
828 +
829 +
782 782  == 7.10 Receive Delay1 ==
783 783  
784 784  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -797,6 +797,8 @@
797 797  
798 798  )))
799 799  
848 +
849 +
800 800  == 7.11 Receive Delay2 ==
801 801  
802 802  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -815,6 +815,8 @@
815 815  
816 816  )))
817 817  
868 +
869 +
818 818  == 7.12 Rx2 Window Data Rate ==
819 819  
820 820  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -833,6 +833,8 @@
833 833  
834 834  )))
835 835  
888 +
889 +
836 836  == 7.13 Rx2 Window Frequency ==
837 837  
838 838  Feature: Get or Set the Rx2 window frequency
... ... @@ -851,6 +851,8 @@
851 851  
852 852  )))
853 853  
908 +
909 +
854 854  == 7.14 Transmit Power ==
855 855  
856 856  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. )
... ... @@ -876,6 +876,8 @@
876 876  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
877 877  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
878 878  
935 +
936 +
879 879  == 7.15 RSSI of the Last Received Packet ==
880 880  
881 881  Feature: Get or Set the Rx2 window frequency
... ... @@ -891,6 +891,8 @@
891 891  OK
892 892  )))
893 893  
952 +
953 +
894 894  == 7.16 SNR of the Last Received Packet ==
895 895  
896 896  Feature: Get the SNR of the last received packet
... ... @@ -906,6 +906,8 @@
906 906  OK
907 907  )))
908 908  
969 +
970 +
909 909  == 7.17 Application Port ==
910 910  
911 911  Feature: Get or set the application port.
... ... @@ -933,6 +933,8 @@
933 933  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
934 934  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
935 935  
998 +
999 +
936 936  == 7.18 Single Channel Mode ==
937 937  
938 938  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -949,6 +949,8 @@
949 949  )))
950 950  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
951 951  
1016 +
1017 +
952 952  == 7.19 Eight Channel Mode ==
953 953  
954 954  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -978,6 +978,8 @@
978 978  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
979 979  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
980 980  
1047 +
1048 +
981 981  == 7.20 Get or Set RXwindows1 timeout ==
982 982  
983 983  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1022,6 +1022,8 @@
1022 1022  )))
1023 1023  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1024 1024  
1093 +
1094 +
1025 1025  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1026 1026  
1027 1027  Feature: Get or Set uplinkdwelltime
... ... @@ -1049,6 +1049,8 @@
1049 1049  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1050 1050  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1051 1051  
1122 +
1123 +
1052 1052  == 7.23 Set Packet Receiving Response Level ==
1053 1053  
1054 1054  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.
... ... @@ -1090,6 +1090,8 @@
1090 1090  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1091 1091  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1092 1092  
1165 +
1166 +
1093 1093  = 8. AT Commands Combination =
1094 1094  
1095 1095  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1097,6 +1097,8 @@
1097 1097  * **AT+ADR=0 **~-~-> Disable ADR first
1098 1098  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1099 1099  
1174 +
1175 +
1100 1100  == 8.2 Use Downlink Command to set a fix uplink DR ==
1101 1101  
1102 1102  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0