<
From version < 27.1 >
edited by Xiaoling
on 2022/05/27 17:58
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 ==
... ... @@ -298,7 +298,6 @@
298 298  )))
299 299  
300 300  
301 -
302 302  = 5. Keys, IDs and EUIs management =
303 303  
304 304  == 5.1 Application EUI ==
... ... @@ -318,7 +318,6 @@
318 318  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
319 319  
320 320  
321 -
322 322  == 5.2 Application Key ==
323 323  
324 324  Feature: Get or Set the Application Key.
... ... @@ -336,7 +336,6 @@
336 336  |(% 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
337 337  
338 338  
339 -
340 340  == 5.3 Application Session Key ==
341 341  
342 342  Feature: Get or Set the Application Session Key.
... ... @@ -355,6 +355,8 @@
355 355  OK
356 356  )))
357 357  
357 +
358 +
358 358  == 5.4 Device Address ==
359 359  
360 360  Feature: Get or Set the Device Address.
... ... @@ -373,6 +373,8 @@
373 373  )))
374 374  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
375 375  
377 +
378 +
376 376  == 5.5 Device EUI ==
377 377  
378 378  Feature: Get or Set the Device EUI.
... ... @@ -391,6 +391,8 @@
391 391  OK
392 392  )))
393 393  
397 +
398 +
394 394  == 5.6 Network ID ==
395 395  
396 396  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
... ... @@ -407,6 +407,8 @@
407 407  )))
408 408  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
409 409  
415 +
416 +
410 410  == 5.7 Network Session Key ==
411 411  
412 412  Feature: Get or Set the Network Session Key
... ... @@ -423,6 +423,8 @@
423 423  )))
424 424  |(% 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
425 425  
433 +
434 +
426 426  = 6. Joining and sending date on LoRaWAN network =
427 427  
428 428  == 6.1 Confirm Mode ==
... ... @@ -451,6 +451,8 @@
451 451  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
452 452  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
453 453  
463 +
464 +
454 454  == 6.2 Confirm Status ==
455 455  
456 456  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -466,6 +466,8 @@
466 466  OK
467 467  )))
468 468  
480 +
481 +
469 469  == 6.3 Join LoRa® Network ==
470 470  
471 471  Feature: Join network.
... ... @@ -483,6 +483,8 @@
483 483  While Error in format, return AT_BUSY_ERROR
484 484  )))
485 485  
499 +
500 +
486 486  == 6.4 LoRa® Network Join Mode ==
487 487  
488 488  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -511,6 +511,8 @@
511 511  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
512 512  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
513 513  
529 +
530 +
514 514  == 6.5 LoRa® Network Join Status ==
515 515  
516 516  Feature: LoRa® Network Join Status.
... ... @@ -526,6 +526,8 @@
526 526  OK
527 527  )))
528 528  
546 +
547 +
529 529  == 6.6 Print Last Received Data in Raw Format ==
530 530  
531 531  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -541,6 +541,8 @@
541 541  OK
542 542  )))
543 543  
563 +
564 +
544 544  == 6.7 Print Last Received Data in Binary Format ==
545 545  
546 546  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -556,6 +556,8 @@
556 556  OK
557 557  )))
558 558  
580 +
581 +
559 559  == 6.8 Send Text Data ==
560 560  
561 561  Feature: Send Text Data<port:data>.
... ... @@ -575,6 +575,8 @@
575 575  
576 576  )))
577 577  
601 +
602 +
578 578  == 6.9 Send Hexadecimal Data ==
579 579  
580 580  Feature: Send hexadecimal data along with the application port.
... ... @@ -593,6 +593,8 @@
593 593  
594 594  )))
595 595  
621 +
622 +
596 596  = 7. LoRaWAN network management =
597 597  
598 598  == 7.1 Adaptive Data Rate ==
... ... @@ -624,6 +624,8 @@
624 624  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
625 625  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
626 626  
654 +
655 +
627 627  == 7.2 LoRa® Class ==
628 628  
629 629  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -642,6 +642,8 @@
642 642  
643 643  )))
644 644  
674 +
675 +
645 645  == 7.3 Duty Cycle Setting ==
646 646  
647 647  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -660,6 +660,8 @@
660 660  
661 661  )))
662 662  
694 +
695 +
663 663  == 7.4 Data Rate ==
664 664  
665 665  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
... ... @@ -688,6 +688,8 @@
688 688  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
689 689  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
690 690  
724 +
725 +
691 691  == 7.5 Frame Counter Downlink ==
692 692  
693 693  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -708,6 +708,8 @@
708 708  
709 709  )))
710 710  
746 +
747 +
711 711  == 7.6 Frame Counter Uplink ==
712 712  
713 713  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -726,6 +726,8 @@
726 726  
727 727  )))
728 728  
766 +
767 +
729 729  == 7.7 Join Accept Delay1 ==
730 730  
731 731  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -744,6 +744,8 @@
744 744  
745 745  )))
746 746  
786 +
787 +
747 747  == 7.8 Join Accept Delay2 ==
748 748  
749 749  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -762,6 +762,8 @@
762 762  
763 763  )))
764 764  
806 +
807 +
765 765  == 7.9 Public Network Mode ==
766 766  
767 767  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -782,6 +782,8 @@
782 782  
783 783  )))
784 784  
828 +
829 +
785 785  == 7.10 Receive Delay1 ==
786 786  
787 787  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -800,6 +800,8 @@
800 800  
801 801  )))
802 802  
848 +
849 +
803 803  == 7.11 Receive Delay2 ==
804 804  
805 805  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -818,6 +818,8 @@
818 818  
819 819  )))
820 820  
868 +
869 +
821 821  == 7.12 Rx2 Window Data Rate ==
822 822  
823 823  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -836,6 +836,8 @@
836 836  
837 837  )))
838 838  
888 +
889 +
839 839  == 7.13 Rx2 Window Frequency ==
840 840  
841 841  Feature: Get or Set the Rx2 window frequency
... ... @@ -854,6 +854,8 @@
854 854  
855 855  )))
856 856  
908 +
909 +
857 857  == 7.14 Transmit Power ==
858 858  
859 859  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. )
... ... @@ -879,6 +879,8 @@
879 879  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
880 880  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
881 881  
935 +
936 +
882 882  == 7.15 RSSI of the Last Received Packet ==
883 883  
884 884  Feature: Get or Set the Rx2 window frequency
... ... @@ -894,6 +894,8 @@
894 894  OK
895 895  )))
896 896  
952 +
953 +
897 897  == 7.16 SNR of the Last Received Packet ==
898 898  
899 899  Feature: Get the SNR of the last received packet
... ... @@ -909,6 +909,8 @@
909 909  OK
910 910  )))
911 911  
969 +
970 +
912 912  == 7.17 Application Port ==
913 913  
914 914  Feature: Get or set the application port.
... ... @@ -936,6 +936,8 @@
936 936  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
937 937  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
938 938  
998 +
999 +
939 939  == 7.18 Single Channel Mode ==
940 940  
941 941  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -952,6 +952,8 @@
952 952  )))
953 953  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
954 954  
1016 +
1017 +
955 955  == 7.19 Eight Channel Mode ==
956 956  
957 957  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -981,6 +981,8 @@
981 981  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
982 982  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
983 983  
1047 +
1048 +
984 984  == 7.20 Get or Set RXwindows1 timeout ==
985 985  
986 986  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1025,6 +1025,8 @@
1025 1025  )))
1026 1026  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1027 1027  
1093 +
1094 +
1028 1028  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1029 1029  
1030 1030  Feature: Get or Set uplinkdwelltime
... ... @@ -1052,6 +1052,8 @@
1052 1052  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1053 1053  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1054 1054  
1122 +
1123 +
1055 1055  == 7.23 Set Packet Receiving Response Level ==
1056 1056  
1057 1057  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.
... ... @@ -1093,6 +1093,8 @@
1093 1093  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1094 1094  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1095 1095  
1165 +
1166 +
1096 1096  = 8. AT Commands Combination =
1097 1097  
1098 1098  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1100,6 +1100,8 @@
1100 1100  * **AT+ADR=0 **~-~-> Disable ADR first
1101 1101  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1102 1102  
1174 +
1175 +
1103 1103  == 8.2 Use Downlink Command to set a fix uplink DR ==
1104 1104  
1105 1105  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0