<
From version < 38.8 >
edited by Xiaoling
on 2022/05/30 10:50
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:
... ... @@ -139,7 +139,6 @@
139 139  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
140 140  
141 141  
142 -
143 143  == 4.2 Reboot End Node ==
144 144  
145 145  Feature: Reboot End Node to perform a new OTAA or ABP Join.
... ... @@ -321,7 +321,6 @@
321 321  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
322 322  
323 323  
324 -
325 325  == 5.2 Application Key ==
326 326  
327 327  Feature: Get or Set the Application Key.
... ... @@ -339,7 +339,6 @@
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  
341 341  
342 -
343 343  == 5.3 Application Session Key ==
344 344  
345 345  Feature: Get or Set the Application Session Key.
... ... @@ -358,6 +358,8 @@
358 358  OK
359 359  )))
360 360  
357 +
358 +
361 361  == 5.4 Device Address ==
362 362  
363 363  Feature: Get or Set the Device Address.
... ... @@ -376,6 +376,8 @@
376 376  )))
377 377  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
378 378  
377 +
378 +
379 379  == 5.5 Device EUI ==
380 380  
381 381  Feature: Get or Set the Device EUI.
... ... @@ -394,6 +394,8 @@
394 394  OK
395 395  )))
396 396  
397 +
398 +
397 397  == 5.6 Network ID ==
398 398  
399 399  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
... ... @@ -410,6 +410,8 @@
410 410  )))
411 411  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
412 412  
415 +
416 +
413 413  == 5.7 Network Session Key ==
414 414  
415 415  Feature: Get or Set the Network Session Key
... ... @@ -426,6 +426,8 @@
426 426  )))
427 427  |(% 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
428 428  
433 +
434 +
429 429  = 6. Joining and sending date on LoRaWAN network =
430 430  
431 431  == 6.1 Confirm Mode ==
... ... @@ -454,6 +454,8 @@
454 454  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
455 455  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
456 456  
463 +
464 +
457 457  == 6.2 Confirm Status ==
458 458  
459 459  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -469,6 +469,8 @@
469 469  OK
470 470  )))
471 471  
480 +
481 +
472 472  == 6.3 Join LoRa® Network ==
473 473  
474 474  Feature: Join network.
... ... @@ -486,6 +486,8 @@
486 486  While Error in format, return AT_BUSY_ERROR
487 487  )))
488 488  
499 +
500 +
489 489  == 6.4 LoRa® Network Join Mode ==
490 490  
491 491  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -514,6 +514,8 @@
514 514  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
515 515  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
516 516  
529 +
530 +
517 517  == 6.5 LoRa® Network Join Status ==
518 518  
519 519  Feature: LoRa® Network Join Status.
... ... @@ -529,6 +529,8 @@
529 529  OK
530 530  )))
531 531  
546 +
547 +
532 532  == 6.6 Print Last Received Data in Raw Format ==
533 533  
534 534  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -544,6 +544,8 @@
544 544  OK
545 545  )))
546 546  
563 +
564 +
547 547  == 6.7 Print Last Received Data in Binary Format ==
548 548  
549 549  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -559,6 +559,8 @@
559 559  OK
560 560  )))
561 561  
580 +
581 +
562 562  == 6.8 Send Text Data ==
563 563  
564 564  Feature: Send Text Data<port:data>.
... ... @@ -578,6 +578,8 @@
578 578  
579 579  )))
580 580  
601 +
602 +
581 581  == 6.9 Send Hexadecimal Data ==
582 582  
583 583  Feature: Send hexadecimal data along with the application port.
... ... @@ -596,6 +596,8 @@
596 596  
597 597  )))
598 598  
621 +
622 +
599 599  = 7. LoRaWAN network management =
600 600  
601 601  == 7.1 Adaptive Data Rate ==
... ... @@ -627,6 +627,8 @@
627 627  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
628 628  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
629 629  
654 +
655 +
630 630  == 7.2 LoRa® Class ==
631 631  
632 632  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -645,6 +645,8 @@
645 645  
646 646  )))
647 647  
674 +
675 +
648 648  == 7.3 Duty Cycle Setting ==
649 649  
650 650  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -663,6 +663,8 @@
663 663  
664 664  )))
665 665  
694 +
695 +
666 666  == 7.4 Data Rate ==
667 667  
668 668  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
... ... @@ -691,6 +691,8 @@
691 691  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
692 692  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
693 693  
724 +
725 +
694 694  == 7.5 Frame Counter Downlink ==
695 695  
696 696  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -711,6 +711,8 @@
711 711  
712 712  )))
713 713  
746 +
747 +
714 714  == 7.6 Frame Counter Uplink ==
715 715  
716 716  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -729,6 +729,8 @@
729 729  
730 730  )))
731 731  
766 +
767 +
732 732  == 7.7 Join Accept Delay1 ==
733 733  
734 734  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -747,6 +747,8 @@
747 747  
748 748  )))
749 749  
786 +
787 +
750 750  == 7.8 Join Accept Delay2 ==
751 751  
752 752  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -765,6 +765,8 @@
765 765  
766 766  )))
767 767  
806 +
807 +
768 768  == 7.9 Public Network Mode ==
769 769  
770 770  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -785,6 +785,8 @@
785 785  
786 786  )))
787 787  
828 +
829 +
788 788  == 7.10 Receive Delay1 ==
789 789  
790 790  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -803,6 +803,8 @@
803 803  
804 804  )))
805 805  
848 +
849 +
806 806  == 7.11 Receive Delay2 ==
807 807  
808 808  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -821,6 +821,8 @@
821 821  
822 822  )))
823 823  
868 +
869 +
824 824  == 7.12 Rx2 Window Data Rate ==
825 825  
826 826  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -839,6 +839,8 @@
839 839  
840 840  )))
841 841  
888 +
889 +
842 842  == 7.13 Rx2 Window Frequency ==
843 843  
844 844  Feature: Get or Set the Rx2 window frequency
... ... @@ -857,6 +857,8 @@
857 857  
858 858  )))
859 859  
908 +
909 +
860 860  == 7.14 Transmit Power ==
861 861  
862 862  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. )
... ... @@ -882,6 +882,8 @@
882 882  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
883 883  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
884 884  
935 +
936 +
885 885  == 7.15 RSSI of the Last Received Packet ==
886 886  
887 887  Feature: Get or Set the Rx2 window frequency
... ... @@ -897,6 +897,8 @@
897 897  OK
898 898  )))
899 899  
952 +
953 +
900 900  == 7.16 SNR of the Last Received Packet ==
901 901  
902 902  Feature: Get the SNR of the last received packet
... ... @@ -912,6 +912,8 @@
912 912  OK
913 913  )))
914 914  
969 +
970 +
915 915  == 7.17 Application Port ==
916 916  
917 917  Feature: Get or set the application port.
... ... @@ -939,6 +939,8 @@
939 939  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
940 940  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
941 941  
998 +
999 +
942 942  == 7.18 Single Channel Mode ==
943 943  
944 944  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -955,6 +955,8 @@
955 955  )))
956 956  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
957 957  
1016 +
1017 +
958 958  == 7.19 Eight Channel Mode ==
959 959  
960 960  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -984,6 +984,8 @@
984 984  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
985 985  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
986 986  
1047 +
1048 +
987 987  == 7.20 Get or Set RXwindows1 timeout ==
988 988  
989 989  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1028,6 +1028,8 @@
1028 1028  )))
1029 1029  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1030 1030  
1093 +
1094 +
1031 1031  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1032 1032  
1033 1033  Feature: Get or Set uplinkdwelltime
... ... @@ -1055,6 +1055,8 @@
1055 1055  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1056 1056  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1057 1057  
1122 +
1123 +
1058 1058  == 7.23 Set Packet Receiving Response Level ==
1059 1059  
1060 1060  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.
... ... @@ -1096,6 +1096,8 @@
1096 1096  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1097 1097  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1098 1098  
1165 +
1166 +
1099 1099  = 8. AT Commands Combination =
1100 1100  
1101 1101  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1103,6 +1103,8 @@
1103 1103  * **AT+ADR=0 **~-~-> Disable ADR first
1104 1104  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1105 1105  
1174 +
1175 +
1106 1106  == 8.2 Use Downlink Command to set a fix uplink DR ==
1107 1107  
1108 1108  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0