<
From version < 25.1 >
edited by Xiaoling
on 2022/05/27 17:57
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:
... ... @@ -138,6 +138,7 @@
138 138  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
139 139  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
140 140  
140 +
141 141  == 4.2 Reboot End Node ==
142 142  
143 143  Feature: Reboot End Node to perform a new OTAA or ABP Join.
... ... @@ -299,6 +299,7 @@
299 299  OK
300 300  )))
301 301  
302 +
302 302  = 5. Keys, IDs and EUIs management =
303 303  
304 304  == 5.1 Application EUI ==
... ... @@ -317,6 +317,7 @@
317 317  )))
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  
321 +
320 320  == 5.2 Application Key ==
321 321  
322 322  Feature: Get or Set the Application Key.
... ... @@ -333,6 +333,7 @@
333 333  )))
334 334  |(% 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
335 335  
338 +
336 336  == 5.3 Application Session Key ==
337 337  
338 338  Feature: Get or Set the Application Session Key.
... ... @@ -351,6 +351,8 @@
351 351  OK
352 352  )))
353 353  
357 +
358 +
354 354  == 5.4 Device Address ==
355 355  
356 356  Feature: Get or Set the Device Address.
... ... @@ -369,6 +369,8 @@
369 369  )))
370 370  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
371 371  
377 +
378 +
372 372  == 5.5 Device EUI ==
373 373  
374 374  Feature: Get or Set the Device EUI.
... ... @@ -387,6 +387,8 @@
387 387  OK
388 388  )))
389 389  
397 +
398 +
390 390  == 5.6 Network ID ==
391 391  
392 392  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
... ... @@ -403,6 +403,8 @@
403 403  )))
404 404  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
405 405  
415 +
416 +
406 406  == 5.7 Network Session Key ==
407 407  
408 408  Feature: Get or Set the Network Session Key
... ... @@ -419,6 +419,8 @@
419 419  )))
420 420  |(% 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
421 421  
433 +
434 +
422 422  = 6. Joining and sending date on LoRaWAN network =
423 423  
424 424  == 6.1 Confirm Mode ==
... ... @@ -447,6 +447,8 @@
447 447  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
448 448  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
449 449  
463 +
464 +
450 450  == 6.2 Confirm Status ==
451 451  
452 452  Feature: Get confirmation status of the last AT+SEND (0-1).
... ... @@ -462,6 +462,8 @@
462 462  OK
463 463  )))
464 464  
480 +
481 +
465 465  == 6.3 Join LoRa® Network ==
466 466  
467 467  Feature: Join network.
... ... @@ -479,6 +479,8 @@
479 479  While Error in format, return AT_BUSY_ERROR
480 480  )))
481 481  
499 +
500 +
482 482  == 6.4 LoRa® Network Join Mode ==
483 483  
484 484  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
... ... @@ -507,6 +507,8 @@
507 507  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
508 508  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
509 509  
529 +
530 +
510 510  == 6.5 LoRa® Network Join Status ==
511 511  
512 512  Feature: LoRa® Network Join Status.
... ... @@ -522,6 +522,8 @@
522 522  OK
523 523  )))
524 524  
546 +
547 +
525 525  == 6.6 Print Last Received Data in Raw Format ==
526 526  
527 527  Feature: Print Last Received Data in Raw Format<port:data>.
... ... @@ -537,6 +537,8 @@
537 537  OK
538 538  )))
539 539  
563 +
564 +
540 540  == 6.7 Print Last Received Data in Binary Format ==
541 541  
542 542  Feature: Print Last Received Data in Binary Format<port:data>.
... ... @@ -552,6 +552,8 @@
552 552  OK
553 553  )))
554 554  
580 +
581 +
555 555  == 6.8 Send Text Data ==
556 556  
557 557  Feature: Send Text Data<port:data>.
... ... @@ -571,6 +571,8 @@
571 571  
572 572  )))
573 573  
601 +
602 +
574 574  == 6.9 Send Hexadecimal Data ==
575 575  
576 576  Feature: Send hexadecimal data along with the application port.
... ... @@ -589,6 +589,8 @@
589 589  
590 590  )))
591 591  
621 +
622 +
592 592  = 7. LoRaWAN network management =
593 593  
594 594  == 7.1 Adaptive Data Rate ==
... ... @@ -620,6 +620,8 @@
620 620  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
621 621  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
622 622  
654 +
655 +
623 623  == 7.2 LoRa® Class ==
624 624  
625 625  Feature: Get or Set the Device Class(Currently only support class A, class C).
... ... @@ -638,6 +638,8 @@
638 638  
639 639  )))
640 640  
674 +
675 +
641 641  == 7.3 Duty Cycle Setting ==
642 642  
643 643  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
... ... @@ -656,6 +656,8 @@
656 656  
657 657  )))
658 658  
694 +
695 +
659 659  == 7.4 Data Rate ==
660 660  
661 661  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
... ... @@ -684,6 +684,8 @@
684 684  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
685 685  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
686 686  
724 +
725 +
687 687  == 7.5 Frame Counter Downlink ==
688 688  
689 689  Feature: Get or Set the Frame Counter Downlink.
... ... @@ -704,6 +704,8 @@
704 704  
705 705  )))
706 706  
746 +
747 +
707 707  == 7.6 Frame Counter Uplink ==
708 708  
709 709  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -722,6 +722,8 @@
722 722  
723 723  )))
724 724  
766 +
767 +
725 725  == 7.7 Join Accept Delay1 ==
726 726  
727 727  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
... ... @@ -740,6 +740,8 @@
740 740  
741 741  )))
742 742  
786 +
787 +
743 743  == 7.8 Join Accept Delay2 ==
744 744  
745 745  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -758,6 +758,8 @@
758 758  
759 759  )))
760 760  
806 +
807 +
761 761  == 7.9 Public Network Mode ==
762 762  
763 763  Feature: Get or Set the public network mode. (0: off, 1: on)
... ... @@ -778,6 +778,8 @@
778 778  
779 779  )))
780 780  
828 +
829 +
781 781  == 7.10 Receive Delay1 ==
782 782  
783 783  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
... ... @@ -796,6 +796,8 @@
796 796  
797 797  )))
798 798  
848 +
849 +
799 799  == 7.11 Receive Delay2 ==
800 800  
801 801  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
... ... @@ -814,6 +814,8 @@
814 814  
815 815  )))
816 816  
868 +
869 +
817 817  == 7.12 Rx2 Window Data Rate ==
818 818  
819 819  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
... ... @@ -832,6 +832,8 @@
832 832  
833 833  )))
834 834  
888 +
889 +
835 835  == 7.13 Rx2 Window Frequency ==
836 836  
837 837  Feature: Get or Set the Rx2 window frequency
... ... @@ -850,6 +850,8 @@
850 850  
851 851  )))
852 852  
908 +
909 +
853 853  == 7.14 Transmit Power ==
854 854  
855 855  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. )
... ... @@ -875,6 +875,8 @@
875 875  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
876 876  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
877 877  
935 +
936 +
878 878  == 7.15 RSSI of the Last Received Packet ==
879 879  
880 880  Feature: Get or Set the Rx2 window frequency
... ... @@ -890,6 +890,8 @@
890 890  OK
891 891  )))
892 892  
952 +
953 +
893 893  == 7.16 SNR of the Last Received Packet ==
894 894  
895 895  Feature: Get the SNR of the last received packet
... ... @@ -905,6 +905,8 @@
905 905  OK
906 906  )))
907 907  
969 +
970 +
908 908  == 7.17 Application Port ==
909 909  
910 910  Feature: Get or set the application port.
... ... @@ -932,6 +932,8 @@
932 932  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
933 933  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
934 934  
998 +
999 +
935 935  == 7.18 Single Channel Mode ==
936 936  
937 937  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
... ... @@ -948,6 +948,8 @@
948 948  )))
949 949  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
950 950  
1016 +
1017 +
951 951  == 7.19 Eight Channel Mode ==
952 952  
953 953  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -977,6 +977,8 @@
977 977  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
978 978  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
979 979  
1047 +
1048 +
980 980  == 7.20 Get or Set RXwindows1 timeout ==
981 981  
982 982  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
... ... @@ -1021,6 +1021,8 @@
1021 1021  )))
1022 1022  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1023 1023  
1093 +
1094 +
1024 1024  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1025 1025  
1026 1026  Feature: Get or Set uplinkdwelltime
... ... @@ -1048,6 +1048,8 @@
1048 1048  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1049 1049  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1050 1050  
1122 +
1123 +
1051 1051  == 7.23 Set Packet Receiving Response Level ==
1052 1052  
1053 1053  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.
... ... @@ -1089,6 +1089,8 @@
1089 1089  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1090 1090  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1091 1091  
1165 +
1166 +
1092 1092  = 8. AT Commands Combination =
1093 1093  
1094 1094  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1096,6 +1096,8 @@
1096 1096  * **AT+ADR=0 **~-~-> Disable ADR first
1097 1097  * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate
1098 1098  
1174 +
1175 +
1099 1099  == 8.2 Use Downlink Command to set a fix uplink DR ==
1100 1100  
1101 1101  {{info}}
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0