Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,11 +19,10 @@ 19 19 20 20 * 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/]] 21 21 * 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: 22 -** Use HEX format to send a downlink: [[TTN v3>>doc :Main.Notes.WebHome]]23 -** Use Base64 format to send a downlink: [[Chirpstack>>doc :Main.Notes.WebHome]].24 -** See use note for more serves [[Servers Note>>doc :Main.WebHome]](IoT LoRaWANServer)22 +** Use HEX format to send a downlink: [[TTN v3>>url:https://wiki.dragino.com/index.php/Notes_for_TTN#Send_Downlink_message]] 23 +** Use Base64 format to send a downlink: [[Chirpstack>>url:https://wiki.dragino.com/index.php/Notes_for_ChirpStack#Downlink]]. 24 +** See use note for more serves [[Servers Note>>url:https://wiki.dragino.com/index.php/Main_Page#Use_Note_for_Server]] 25 25 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,8 +97,6 @@ 97 97 ))) 98 98 ))) 99 99 100 - 101 - 102 102 = 4. System Management Commands = 103 103 104 104 == 4.1 Change Uplink Interval == ... ... @@ -137,7 +137,6 @@ 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 140 - 141 141 == 4.2 Reboot End Node == 142 142 143 143 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -173,8 +173,6 @@ 173 173 174 174 ((( 175 175 If the downlink payload=**04FF**, the end node will reboot. 176 - 177 - 178 178 ))) 179 179 180 180 == 4.3 Reset to factory Default == ... ... @@ -299,7 +299,6 @@ 299 299 OK 300 300 ))) 301 301 302 - 303 303 = 5. Keys, IDs and EUIs management = 304 304 305 305 == 5.1 Application EUI == ... ... @@ -318,7 +318,6 @@ 318 318 ))) 319 319 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 320 320 321 - 322 322 == 5.2 Application Key == 323 323 324 324 Feature: Get or Set the Application Key. ... ... @@ -335,7 +335,6 @@ 335 335 ))) 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 - 339 339 == 5.3 Application Session Key == 340 340 341 341 Feature: Get or Set the Application Session Key. ... ... @@ -354,8 +354,6 @@ 354 354 OK 355 355 ))) 356 356 357 - 358 - 359 359 == 5.4 Device Address == 360 360 361 361 Feature: Get or Set the Device Address. ... ... @@ -374,8 +374,6 @@ 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 377 - 378 - 379 379 == 5.5 Device EUI == 380 380 381 381 Feature: Get or Set the Device EUI. ... ... @@ -394,8 +394,6 @@ 394 394 OK 395 395 ))) 396 396 397 - 398 - 399 399 == 5.6 Network ID == 400 400 401 401 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -412,8 +412,6 @@ 412 412 ))) 413 413 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 414 414 415 - 416 - 417 417 == 5.7 Network Session Key == 418 418 419 419 Feature: Get or Set the Network Session Key ... ... @@ -430,8 +430,6 @@ 430 430 ))) 431 431 |(% 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 432 432 433 - 434 - 435 435 = 6. Joining and sending date on LoRaWAN network = 436 436 437 437 == 6.1 Confirm Mode == ... ... @@ -460,8 +460,6 @@ 460 460 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 461 461 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 462 462 463 - 464 - 465 465 == 6.2 Confirm Status == 466 466 467 467 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -477,8 +477,6 @@ 477 477 OK 478 478 ))) 479 479 480 - 481 - 482 482 == 6.3 Join LoRa® Network == 483 483 484 484 Feature: Join network. ... ... @@ -496,8 +496,6 @@ 496 496 While Error in format, return AT_BUSY_ERROR 497 497 ))) 498 498 499 - 500 - 501 501 == 6.4 LoRa® Network Join Mode == 502 502 503 503 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -526,8 +526,6 @@ 526 526 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 527 527 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 528 528 529 - 530 - 531 531 == 6.5 LoRa® Network Join Status == 532 532 533 533 Feature: LoRa® Network Join Status. ... ... @@ -543,8 +543,6 @@ 543 543 OK 544 544 ))) 545 545 546 - 547 - 548 548 == 6.6 Print Last Received Data in Raw Format == 549 549 550 550 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -560,8 +560,6 @@ 560 560 OK 561 561 ))) 562 562 563 - 564 - 565 565 == 6.7 Print Last Received Data in Binary Format == 566 566 567 567 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -577,8 +577,6 @@ 577 577 OK 578 578 ))) 579 579 580 - 581 - 582 582 == 6.8 Send Text Data == 583 583 584 584 Feature: Send Text Data<port:data>. ... ... @@ -598,8 +598,6 @@ 598 598 599 599 ))) 600 600 601 - 602 - 603 603 == 6.9 Send Hexadecimal Data == 604 604 605 605 Feature: Send hexadecimal data along with the application port. ... ... @@ -618,8 +618,6 @@ 618 618 619 619 ))) 620 620 621 - 622 - 623 623 = 7. LoRaWAN network management = 624 624 625 625 == 7.1 Adaptive Data Rate == ... ... @@ -651,8 +651,6 @@ 651 651 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 652 652 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 653 653 654 - 655 - 656 656 == 7.2 LoRa® Class == 657 657 658 658 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -671,8 +671,6 @@ 671 671 672 672 ))) 673 673 674 - 675 - 676 676 == 7.3 Duty Cycle Setting == 677 677 678 678 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -691,8 +691,6 @@ 691 691 692 692 ))) 693 693 694 - 695 - 696 696 == 7.4 Data Rate == 697 697 698 698 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 ... ... @@ -721,8 +721,6 @@ 721 721 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 722 722 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 723 723 724 - 725 - 726 726 == 7.5 Frame Counter Downlink == 727 727 728 728 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -743,8 +743,6 @@ 743 743 744 744 ))) 745 745 746 - 747 - 748 748 == 7.6 Frame Counter Uplink == 749 749 750 750 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -763,8 +763,6 @@ 763 763 764 764 ))) 765 765 766 - 767 - 768 768 == 7.7 Join Accept Delay1 == 769 769 770 770 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -783,8 +783,6 @@ 783 783 784 784 ))) 785 785 786 - 787 - 788 788 == 7.8 Join Accept Delay2 == 789 789 790 790 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -803,8 +803,6 @@ 803 803 804 804 ))) 805 805 806 - 807 - 808 808 == 7.9 Public Network Mode == 809 809 810 810 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -825,8 +825,6 @@ 825 825 826 826 ))) 827 827 828 - 829 - 830 830 == 7.10 Receive Delay1 == 831 831 832 832 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -845,10 +845,8 @@ 845 845 846 846 ))) 847 847 793 +== 7.11Receive Delay2 == 848 848 849 - 850 -== 7.11 Receive Delay2 == 851 - 852 852 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 853 853 854 854 {{info}} ... ... @@ -865,8 +865,6 @@ 865 865 866 866 ))) 867 867 868 - 869 - 870 870 == 7.12 Rx2 Window Data Rate == 871 871 872 872 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -885,8 +885,6 @@ 885 885 886 886 ))) 887 887 888 - 889 - 890 890 == 7.13 Rx2 Window Frequency == 891 891 892 892 Feature: Get or Set the Rx2 window frequency ... ... @@ -905,8 +905,6 @@ 905 905 906 906 ))) 907 907 908 - 909 - 910 910 == 7.14 Transmit Power == 911 911 912 912 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. ) ... ... @@ -932,8 +932,6 @@ 932 932 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 933 933 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 934 934 935 - 936 - 937 937 == 7.15 RSSI of the Last Received Packet == 938 938 939 939 Feature: Get or Set the Rx2 window frequency ... ... @@ -949,8 +949,6 @@ 949 949 OK 950 950 ))) 951 951 952 - 953 - 954 954 == 7.16 SNR of the Last Received Packet == 955 955 956 956 Feature: Get the SNR of the last received packet ... ... @@ -966,8 +966,6 @@ 966 966 OK 967 967 ))) 968 968 969 - 970 - 971 971 == 7.17 Application Port == 972 972 973 973 Feature: Get or set the application port. ... ... @@ -995,8 +995,6 @@ 995 995 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 996 996 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 997 997 998 - 999 - 1000 1000 == 7.18 Single Channel Mode == 1001 1001 1002 1002 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -1013,8 +1013,6 @@ 1013 1013 ))) 1014 1014 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1015 1015 1016 - 1017 - 1018 1018 == 7.19 Eight Channel Mode == 1019 1019 1020 1020 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1044,8 +1044,6 @@ 1044 1044 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1045 1045 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1046 1046 1047 - 1048 - 1049 1049 == 7.20 Get or Set RXwindows1 timeout == 1050 1050 1051 1051 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1066,12 +1066,10 @@ 1066 1066 **AT+RX1TWO** is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph. 1067 1067 ))) 1068 1068 1069 -[[image:image-202205 26162535-1.png]]994 +[[image:image-20220511120050-1.png]] 1070 1070 1071 1071 ((( 1072 1072 Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink. 1073 - 1074 - 1075 1075 ))) 1076 1076 1077 1077 == 7.21 Get or Set RXwindows2 timeout == ... ... @@ -1090,8 +1090,6 @@ 1090 1090 ))) 1091 1091 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1092 1092 1093 - 1094 - 1095 1095 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1096 1096 1097 1097 Feature: Get or Set uplinkdwelltime ... ... @@ -1119,8 +1119,6 @@ 1119 1119 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1120 1120 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1121 1121 1122 - 1123 - 1124 1124 == 7.23 Set Packet Receiving Response Level == 1125 1125 1126 1126 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. ... ... @@ -1162,8 +1162,6 @@ 1162 1162 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1163 1163 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1164 1164 1165 - 1166 - 1167 1167 = 8. AT Commands Combination = 1168 1168 1169 1169 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1171,8 +1171,6 @@ 1171 1171 * **AT+ADR=0 **~-~-> Disable ADR first 1172 1172 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1173 1173 1174 - 1175 - 1176 1176 == 8.2 Use Downlink Command to set a fix uplink DR == 1177 1177 1178 1178 {{info}} ... ... @@ -1181,6 +1181,6 @@ 1181 1181 1182 1182 Same as: 1183 1183 1184 -* AT+ADR=0 ||anchor="H7.1AdaptiveDataRate"]]1185 -* AT+DR=5 ||anchor="H7.4DataRate"]]1186 -* AT+TXP=0 ||anchor="H7.14TransmitPower"]]1099 +* AT+ADR=0 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.1AdaptiveDataRate]] 1100 +* AT+DR=5 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.4DataRate]] 1101 +* AT+TXP=0 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.14TransmitPower]]
- image-20220526162535-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -149.4 KB - Content