<
From version < 38.24 >
edited by Xiaoling
on 2022/05/31 09:08
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 ==
... ... @@ -338,6 +338,8 @@
338 338  )))
339 339  |(% 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
340 340  
342 +
343 +
341 341  == 5.3 Application Session Key ==
342 342  
343 343  Feature: Get or Set the Application Session Key.
... ... @@ -356,6 +356,7 @@
356 356  OK
357 357  )))
358 358  
362 +
359 359  == 5.4 Device Address ==
360 360  
361 361  Feature: Get or Set the Device Address.
... ... @@ -374,6 +374,7 @@
374 374  )))
375 375  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
376 376  
381 +
377 377  == 5.5 Device EUI ==
378 378  
379 379  Feature: Get or Set the Device EUI.
... ... @@ -392,6 +392,7 @@
392 392  OK
393 393  )))
394 394  
400 +
395 395  == 5.6 Network ID ==
396 396  
397 397  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
... ... @@ -408,6 +408,7 @@
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  
417 +
411 411  == 5.7 Network Session Key ==
412 412  
413 413  Feature: Get or Set the Network Session Key
... ... @@ -424,6 +424,7 @@
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  
434 +
427 427  = 6. Joining and sending date on LoRaWAN network =
428 428  
429 429  == 6.1 Confirm Mode ==
... ... @@ -452,6 +452,7 @@
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 +
455 455  == 6.2 Confirm Status ==
456 456  
457 457  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -467,6 +467,7 @@
467 467  OK
468 468  )))
469 469  
479 +
470 470  == 6.3 Join LoRa® Network ==
471 471  
472 472  Feature: Join network.
... ... @@ -484,6 +484,7 @@
484 484  While Error in format, return AT_BUSY_ERROR
485 485  )))
486 486  
497 +
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,7 @@
512 512  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
513 513  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
514 514  
526 +
515 515  == 6.5 LoRa® Network Join Status ==
516 516  
517 517  Feature: LoRa® Network Join Status.
... ... @@ -527,6 +527,7 @@
527 527  OK
528 528  )))
529 529  
542 +
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,7 @@
542 542  OK
543 543  )))
544 544  
558 +
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,7 @@
557 557  OK
558 558  )))
559 559  
574 +
560 560  == 6.8 Send Text Data ==
561 561  
562 562  Feature: Send Text Data<port:data>.
... ... @@ -576,6 +576,7 @@
576 576  
577 577  )))
578 578  
594 +
579 579  == 6.9 Send Hexadecimal Data ==
580 580  
581 581  Feature: Send hexadecimal data along with the application port.
... ... @@ -594,6 +594,7 @@
594 594  
595 595  )))
596 596  
613 +
597 597  = 7. LoRaWAN network management =
598 598  
599 599  == 7.1 Adaptive Data Rate ==
... ... @@ -625,6 +625,7 @@
625 625  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
626 626  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
627 627  
645 +
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,7 @@
643 643  
644 644  )))
645 645  
664 +
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,7 @@
661 661  
662 662  )))
663 663  
683 +
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,7 @@
689 689  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
690 690  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
691 691  
712 +
692 692  == 7.5 Frame Counter Downlink ==
693 693  
694 694  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -709,6 +709,7 @@
709 709  
710 710  )))
711 711  
733 +
712 712  == 7.6 Frame Counter Uplink ==
713 713  
714 714  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -727,6 +727,7 @@
727 727  
728 728  )))
729 729  
752 +
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,7 @@
745 745  
746 746  )))
747 747  
771 +
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,7 @@
763 763  
764 764  )))
765 765  
790 +
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,7 @@
783 783  
784 784  )))
785 785  
811 +
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,7 @@
801 801  
802 802  )))
803 803  
830 +
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,7 @@
819 819  
820 820  )))
821 821  
849 +
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,7 @@
837 837  
838 838  )))
839 839  
868 +
840 840  == 7.13 Rx2 Window Frequency ==
841 841  
842 842  Feature: Get or Set the Rx2 window frequency
... ... @@ -855,6 +855,7 @@
855 855  
856 856  )))
857 857  
887 +
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,7 @@
880 880  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
881 881  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
882 882  
913 +
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,7 @@
895 895  OK
896 896  )))
897 897  
929 +
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,7 @@
910 910  OK
911 911  )))
912 912  
945 +
913 913  == 7.17 Application Port ==
914 914  
915 915  Feature: Get or set the application port.
... ... @@ -937,6 +937,7 @@
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  
973 +
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,7 @@
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  
990 +
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,7 @@
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  
1020 +
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,7 @@
1026 1026  )))
1027 1027  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1028 1028  
1065 +
1029 1029  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1030 1030  
1031 1031  Feature: Get or Set uplinkdwelltime
... ... @@ -1053,6 +1053,7 @@
1053 1053  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1054 1054  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1055 1055  
1093 +
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,7 @@
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  
1135 +
1097 1097  = 8. AT Commands Combination =
1098 1098  
1099 1099  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1101,6 +1101,7 @@
1101 1101  * **AT+ADR=0 **~-~-> Disable ADR first
1102 1102  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1103 1103  
1143 +
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