<
From version < 38.18 >
edited by Xiaoling
on 2022/05/31 09:01
To version < 22.1 >
edited by Xiaoling
on 2022/05/27 17:54
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -21,10 +21,11 @@
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 23  ** Use HEX format to send a downlink: [[TTN v3>>doc:Main.Notes for TTN.WebHome]]
24 -** Use HEX format to send a downlink: [[test>>Notes for TTN]]
25 25  ** Use Base64 format to send a downlink: [[Chirpstack>>doc:Main.Notes for ChirpStack.WebHome]].
26 26  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
27 27  
27 +
28 +
28 28  = 3. Support End Node and firmware version =
29 29  
30 30  (% border="1" style="background-color:#ffffcc; color:green; width:966px" %)
... ... @@ -98,6 +98,7 @@
98 98  )))
99 99  )))
100 100  
102 +
101 101  = 4. System Management Commands =
102 102  
103 103  == 4.1 Change Uplink Interval ==
... ... @@ -136,6 +136,8 @@
136 136  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
137 137  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
138 138  
141 +
142 +
139 139  == 4.2 Reboot End Node ==
140 140  
141 141  Feature: Reboot End Node to perform a new OTAA or ABP Join.
... ... @@ -297,6 +297,8 @@
297 297  OK
298 298  )))
299 299  
304 +
305 +
300 300  = 5. Keys, IDs and EUIs management =
301 301  
302 302  == 5.1 Application EUI ==
... ... @@ -315,6 +315,8 @@
315 315  )))
316 316  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
317 317  
324 +
325 +
318 318  == 5.2 Application Key ==
319 319  
320 320  Feature: Get or Set the Application Key.
... ... @@ -331,6 +331,8 @@
331 331  )))
332 332  |(% 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
333 333  
342 +
343 +
334 334  == 5.3 Application Session Key ==
335 335  
336 336  Feature: Get or Set the Application Session Key.
... ... @@ -349,6 +349,7 @@
349 349  OK
350 350  )))
351 351  
362 +
352 352  == 5.4 Device Address ==
353 353  
354 354  Feature: Get or Set the Device Address.
... ... @@ -367,6 +367,7 @@
367 367  )))
368 368  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
369 369  
381 +
370 370  == 5.5 Device EUI ==
371 371  
372 372  Feature: Get or Set the Device EUI.
... ... @@ -385,6 +385,7 @@
385 385  OK
386 386  )))
387 387  
400 +
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)
... ... @@ -401,6 +401,7 @@
401 401  )))
402 402  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
403 403  
417 +
404 404  == 5.7 Network Session Key ==
405 405  
406 406  Feature: Get or Set the Network Session Key
... ... @@ -417,6 +417,7 @@
417 417  )))
418 418  |(% 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
419 419  
434 +
420 420  = 6. Joining and sending date on LoRaWAN network =
421 421  
422 422  == 6.1 Confirm Mode ==
... ... @@ -445,6 +445,7 @@
445 445  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
446 446  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
447 447  
463 +
448 448  == 6.2 Confirm Status ==
449 449  
450 450  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -460,6 +460,7 @@
460 460  OK
461 461  )))
462 462  
479 +
463 463  == 6.3 Join LoRa® Network ==
464 464  
465 465  Feature: Join network.
... ... @@ -477,6 +477,7 @@
477 477  While Error in format, return AT_BUSY_ERROR
478 478  )))
479 479  
497 +
480 480  == 6.4 LoRa® Network Join Mode ==
481 481  
482 482  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -505,6 +505,7 @@
505 505  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
506 506  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
507 507  
526 +
508 508  == 6.5 LoRa® Network Join Status ==
509 509  
510 510  Feature: LoRa® Network Join Status.
... ... @@ -520,6 +520,7 @@
520 520  OK
521 521  )))
522 522  
542 +
523 523  == 6.6 Print Last Received Data in Raw Format ==
524 524  
525 525  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -535,6 +535,7 @@
535 535  OK
536 536  )))
537 537  
558 +
538 538  == 6.7 Print Last Received Data in Binary Format ==
539 539  
540 540  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -550,6 +550,7 @@
550 550  OK
551 551  )))
552 552  
574 +
553 553  == 6.8 Send Text Data ==
554 554  
555 555  Feature: Send Text Data<port:data>.
... ... @@ -569,6 +569,7 @@
569 569  
570 570  )))
571 571  
594 +
572 572  == 6.9 Send Hexadecimal Data ==
573 573  
574 574  Feature: Send hexadecimal data along with the application port.
... ... @@ -587,6 +587,7 @@
587 587  
588 588  )))
589 589  
613 +
590 590  = 7. LoRaWAN network management =
591 591  
592 592  == 7.1 Adaptive Data Rate ==
... ... @@ -618,6 +618,7 @@
618 618  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
619 619  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
620 620  
645 +
621 621  == 7.2 LoRa® Class ==
622 622  
623 623  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -636,6 +636,7 @@
636 636  
637 637  )))
638 638  
664 +
639 639  == 7.3 Duty Cycle Setting ==
640 640  
641 641  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -654,6 +654,7 @@
654 654  
655 655  )))
656 656  
683 +
657 657  == 7.4 Data Rate ==
658 658  
659 659  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
... ... @@ -682,6 +682,7 @@
682 682  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
683 683  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
684 684  
712 +
685 685  == 7.5 Frame Counter Downlink ==
686 686  
687 687  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -702,6 +702,7 @@
702 702  
703 703  )))
704 704  
733 +
705 705  == 7.6 Frame Counter Uplink ==
706 706  
707 707  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -720,6 +720,7 @@
720 720  
721 721  )))
722 722  
752 +
723 723  == 7.7 Join Accept Delay1 ==
724 724  
725 725  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -738,6 +738,7 @@
738 738  
739 739  )))
740 740  
771 +
741 741  == 7.8 Join Accept Delay2 ==
742 742  
743 743  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -756,6 +756,7 @@
756 756  
757 757  )))
758 758  
790 +
759 759  == 7.9 Public Network Mode ==
760 760  
761 761  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -776,6 +776,7 @@
776 776  
777 777  )))
778 778  
811 +
779 779  == 7.10 Receive Delay1 ==
780 780  
781 781  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -794,6 +794,7 @@
794 794  
795 795  )))
796 796  
830 +
797 797  == 7.11 Receive Delay2 ==
798 798  
799 799  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -812,6 +812,7 @@
812 812  
813 813  )))
814 814  
849 +
815 815  == 7.12 Rx2 Window Data Rate ==
816 816  
817 817  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -830,6 +830,7 @@
830 830  
831 831  )))
832 832  
868 +
833 833  == 7.13 Rx2 Window Frequency ==
834 834  
835 835  Feature: Get or Set the Rx2 window frequency
... ... @@ -848,6 +848,7 @@
848 848  
849 849  )))
850 850  
887 +
851 851  == 7.14 Transmit Power ==
852 852  
853 853  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. )
... ... @@ -873,6 +873,7 @@
873 873  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
874 874  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
875 875  
913 +
876 876  == 7.15 RSSI of the Last Received Packet ==
877 877  
878 878  Feature: Get or Set the Rx2 window frequency
... ... @@ -888,6 +888,7 @@
888 888  OK
889 889  )))
890 890  
929 +
891 891  == 7.16 SNR of the Last Received Packet ==
892 892  
893 893  Feature: Get the SNR of the last received packet
... ... @@ -903,6 +903,7 @@
903 903  OK
904 904  )))
905 905  
945 +
906 906  == 7.17 Application Port ==
907 907  
908 908  Feature: Get or set the application port.
... ... @@ -930,6 +930,7 @@
930 930  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
931 931  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
932 932  
973 +
933 933  == 7.18 Single Channel Mode ==
934 934  
935 935  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -946,6 +946,7 @@
946 946  )))
947 947  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
948 948  
990 +
949 949  == 7.19 Eight Channel Mode ==
950 950  
951 951  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -975,6 +975,7 @@
975 975  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
976 976  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
977 977  
1020 +
978 978  == 7.20 Get or Set RXwindows1 timeout ==
979 979  
980 980  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1019,6 +1019,7 @@
1019 1019  )))
1020 1020  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1021 1021  
1065 +
1022 1022  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1023 1023  
1024 1024  Feature: Get or Set uplinkdwelltime
... ... @@ -1046,6 +1046,7 @@
1046 1046  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1047 1047  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1048 1048  
1093 +
1049 1049  == 7.23 Set Packet Receiving Response Level ==
1050 1050  
1051 1051  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.
... ... @@ -1087,6 +1087,7 @@
1087 1087  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1088 1088  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1089 1089  
1135 +
1090 1090  = 8. AT Commands Combination =
1091 1091  
1092 1092  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1094,6 +1094,7 @@
1094 1094  * **AT+ADR=0 **~-~-> Disable ADR first
1095 1095  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1096 1096  
1143 +
1097 1097  == 8.2 Use Downlink Command to set a fix uplink DR ==
1098 1098  
1099 1099  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0