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)
Details
- Page properties
-
- Content
-
... ... @@ -3,6 +3,7 @@ 3 3 {{toc/}} 4 4 5 5 6 + 6 6 = 1. Introduction = 7 7 8 8 Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands: ... ... @@ -19,9 +19,9 @@ 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>> 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]]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]] 25 +** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 25 25 26 26 = 3. Support End Node and firmware version = 27 27 ... ... @@ -96,6 +96,7 @@ 96 96 ))) 97 97 ))) 98 98 100 + 99 99 = 4. System Management Commands = 100 100 101 101 == 4.1 Change Uplink Interval == ... ... @@ -134,6 +134,7 @@ 134 134 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 135 135 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 136 136 139 + 137 137 == 4.2 Reboot End Node == 138 138 139 139 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -169,6 +169,8 @@ 169 169 170 170 ((( 171 171 If the downlink payload=**04FF**, the end node will reboot. 175 + 176 + 172 172 ))) 173 173 174 174 == 4.3 Reset to factory Default == ... ... @@ -293,6 +293,7 @@ 293 293 OK 294 294 ))) 295 295 301 + 296 296 = 5. Keys, IDs and EUIs management = 297 297 298 298 == 5.1 Application EUI == ... ... @@ -311,6 +311,7 @@ 311 311 ))) 312 312 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 313 313 320 + 314 314 == 5.2 Application Key == 315 315 316 316 Feature: Get or Set the Application Key. ... ... @@ -473,6 +473,7 @@ 473 473 While Error in format, return AT_BUSY_ERROR 474 474 ))) 475 475 483 + 476 476 == 6.4 LoRa® Network Join Mode == 477 477 478 478 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -501,6 +501,7 @@ 501 501 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 502 502 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 503 503 512 + 504 504 == 6.5 LoRa® Network Join Status == 505 505 506 506 Feature: LoRa® Network Join Status. ... ... @@ -516,6 +516,7 @@ 516 516 OK 517 517 ))) 518 518 528 + 519 519 == 6.6 Print Last Received Data in Raw Format == 520 520 521 521 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -531,6 +531,7 @@ 531 531 OK 532 532 ))) 533 533 544 + 534 534 == 6.7 Print Last Received Data in Binary Format == 535 535 536 536 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -546,6 +546,7 @@ 546 546 OK 547 547 ))) 548 548 560 + 549 549 == 6.8 Send Text Data == 550 550 551 551 Feature: Send Text Data<port:data>. ... ... @@ -565,6 +565,7 @@ 565 565 566 566 ))) 567 567 580 + 568 568 == 6.9 Send Hexadecimal Data == 569 569 570 570 Feature: Send hexadecimal data along with the application port. ... ... @@ -583,6 +583,7 @@ 583 583 584 584 ))) 585 585 599 + 586 586 = 7. LoRaWAN network management = 587 587 588 588 == 7.1 Adaptive Data Rate == ... ... @@ -614,6 +614,7 @@ 614 614 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 615 615 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 616 616 631 + 617 617 == 7.2 LoRa® Class == 618 618 619 619 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -632,6 +632,7 @@ 632 632 633 633 ))) 634 634 650 + 635 635 == 7.3 Duty Cycle Setting == 636 636 637 637 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -650,6 +650,7 @@ 650 650 651 651 ))) 652 652 669 + 653 653 == 7.4 Data Rate == 654 654 655 655 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 ... ... @@ -678,6 +678,7 @@ 678 678 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 679 679 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 680 680 698 + 681 681 == 7.5 Frame Counter Downlink == 682 682 683 683 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -698,6 +698,7 @@ 698 698 699 699 ))) 700 700 719 + 701 701 == 7.6 Frame Counter Uplink == 702 702 703 703 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -716,6 +716,7 @@ 716 716 717 717 ))) 718 718 738 + 719 719 == 7.7 Join Accept Delay1 == 720 720 721 721 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -734,6 +734,7 @@ 734 734 735 735 ))) 736 736 757 + 737 737 == 7.8 Join Accept Delay2 == 738 738 739 739 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -752,6 +752,7 @@ 752 752 753 753 ))) 754 754 776 + 755 755 == 7.9 Public Network Mode == 756 756 757 757 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -790,7 +790,7 @@ 790 790 791 791 ))) 792 792 793 -== 7.11Receive Delay2 == 815 +== 7.11 Receive Delay2 == 794 794 795 795 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 796 796 ... ... @@ -995,6 +995,8 @@ 995 995 996 996 ((( 997 997 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. 1020 + 1021 + 998 998 ))) 999 999 1000 1000 == 7.21 Get or Set RXwindows2 timeout == ... ... @@ -1088,7 +1088,6 @@ 1088 1088 * **AT+ADR=0 **~-~-> Disable ADR first 1089 1089 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1090 1090 1091 - 1092 1092 == 8.2 Use Downlink Command to set a fix uplink DR == 1093 1093 1094 1094 {{info}} ... ... @@ -1097,6 +1097,6 @@ 1097 1097 1098 1098 Same as: 1099 1099 1100 -* AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1101 -* AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1102 -* AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1123 +* AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1124 +* AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1125 +* AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]]