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