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
-
... ... @@ -24,8 +24,6 @@ 24 24 ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] 25 25 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 26 26 27 - 28 - 29 29 = 3. Support End Node and firmware version = 30 30 31 31 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -100,7 +100,6 @@ 100 100 ))) 101 101 102 102 103 - 104 104 = 4. System Management Commands = 105 105 106 106 == 4.1 Change Uplink Interval == ... ... @@ -140,7 +140,6 @@ 140 140 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 141 141 142 142 143 - 144 144 == 4.2 Reboot End Node == 145 145 146 146 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -303,7 +303,6 @@ 303 303 ))) 304 304 305 305 306 - 307 307 = 5. Keys, IDs and EUIs management = 308 308 309 309 == 5.1 Application EUI == ... ... @@ -322,6 +322,7 @@ 322 322 ))) 323 323 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 324 324 320 + 325 325 == 5.2 Application Key == 326 326 327 327 Feature: Get or Set the Application Key. ... ... @@ -408,6 +408,8 @@ 408 408 ))) 409 409 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 410 410 407 + 408 + 411 411 == 5.7 Network Session Key == 412 412 413 413 Feature: Get or Set the Network Session Key ... ... @@ -424,6 +424,8 @@ 424 424 ))) 425 425 |(% 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 426 426 425 + 426 + 427 427 = 6. Joining and sending date on LoRaWAN network = 428 428 429 429 == 6.1 Confirm Mode == ... ... @@ -452,6 +452,8 @@ 452 452 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 453 453 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 454 454 455 + 456 + 455 455 == 6.2 Confirm Status == 456 456 457 457 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -467,6 +467,8 @@ 467 467 OK 468 468 ))) 469 469 472 + 473 + 470 470 == 6.3 Join LoRa® Network == 471 471 472 472 Feature: Join network. ... ... @@ -484,6 +484,7 @@ 484 484 While Error in format, return AT_BUSY_ERROR 485 485 ))) 486 486 491 + 487 487 == 6.4 LoRa® Network Join Mode == 488 488 489 489 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -512,6 +512,7 @@ 512 512 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 513 513 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 514 514 520 + 515 515 == 6.5 LoRa® Network Join Status == 516 516 517 517 Feature: LoRa® Network Join Status. ... ... @@ -527,6 +527,7 @@ 527 527 OK 528 528 ))) 529 529 536 + 530 530 == 6.6 Print Last Received Data in Raw Format == 531 531 532 532 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -542,6 +542,7 @@ 542 542 OK 543 543 ))) 544 544 552 + 545 545 == 6.7 Print Last Received Data in Binary Format == 546 546 547 547 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -557,6 +557,7 @@ 557 557 OK 558 558 ))) 559 559 568 + 560 560 == 6.8 Send Text Data == 561 561 562 562 Feature: Send Text Data<port:data>. ... ... @@ -576,6 +576,7 @@ 576 576 577 577 ))) 578 578 588 + 579 579 == 6.9 Send Hexadecimal Data == 580 580 581 581 Feature: Send hexadecimal data along with the application port. ... ... @@ -594,6 +594,7 @@ 594 594 595 595 ))) 596 596 607 + 597 597 = 7. LoRaWAN network management = 598 598 599 599 == 7.1 Adaptive Data Rate == ... ... @@ -625,6 +625,7 @@ 625 625 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 626 626 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 627 627 639 + 628 628 == 7.2 LoRa® Class == 629 629 630 630 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -643,6 +643,7 @@ 643 643 644 644 ))) 645 645 658 + 646 646 == 7.3 Duty Cycle Setting == 647 647 648 648 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -661,6 +661,7 @@ 661 661 662 662 ))) 663 663 677 + 664 664 == 7.4 Data Rate == 665 665 666 666 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 ... ... @@ -689,6 +689,7 @@ 689 689 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 690 690 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 691 691 706 + 692 692 == 7.5 Frame Counter Downlink == 693 693 694 694 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -709,6 +709,7 @@ 709 709 710 710 ))) 711 711 727 + 712 712 == 7.6 Frame Counter Uplink == 713 713 714 714 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -727,6 +727,7 @@ 727 727 728 728 ))) 729 729 746 + 730 730 == 7.7 Join Accept Delay1 == 731 731 732 732 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -745,6 +745,7 @@ 745 745 746 746 ))) 747 747 765 + 748 748 == 7.8 Join Accept Delay2 == 749 749 750 750 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -763,6 +763,7 @@ 763 763 764 764 ))) 765 765 784 + 766 766 == 7.9 Public Network Mode == 767 767 768 768 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -783,6 +783,7 @@ 783 783 784 784 ))) 785 785 805 + 786 786 == 7.10 Receive Delay1 == 787 787 788 788 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -801,6 +801,7 @@ 801 801 802 802 ))) 803 803 824 + 804 804 == 7.11 Receive Delay2 == 805 805 806 806 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -819,6 +819,7 @@ 819 819 820 820 ))) 821 821 843 + 822 822 == 7.12 Rx2 Window Data Rate == 823 823 824 824 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -837,6 +837,7 @@ 837 837 838 838 ))) 839 839 862 + 840 840 == 7.13 Rx2 Window Frequency == 841 841 842 842 Feature: Get or Set the Rx2 window frequency ... ... @@ -855,6 +855,7 @@ 855 855 856 856 ))) 857 857 881 + 858 858 == 7.14 Transmit Power == 859 859 860 860 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. ) ... ... @@ -880,6 +880,7 @@ 880 880 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 881 881 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 882 882 907 + 883 883 == 7.15 RSSI of the Last Received Packet == 884 884 885 885 Feature: Get or Set the Rx2 window frequency ... ... @@ -895,6 +895,7 @@ 895 895 OK 896 896 ))) 897 897 923 + 898 898 == 7.16 SNR of the Last Received Packet == 899 899 900 900 Feature: Get the SNR of the last received packet ... ... @@ -910,6 +910,7 @@ 910 910 OK 911 911 ))) 912 912 939 + 913 913 == 7.17 Application Port == 914 914 915 915 Feature: Get or set the application port. ... ... @@ -937,6 +937,7 @@ 937 937 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 938 938 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 939 939 967 + 940 940 == 7.18 Single Channel Mode == 941 941 942 942 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -953,6 +953,7 @@ 953 953 ))) 954 954 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 955 955 984 + 956 956 == 7.19 Eight Channel Mode == 957 957 958 958 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -982,6 +982,7 @@ 982 982 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 983 983 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 984 984 1014 + 985 985 == 7.20 Get or Set RXwindows1 timeout == 986 986 987 987 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1026,6 +1026,7 @@ 1026 1026 ))) 1027 1027 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1028 1028 1059 + 1029 1029 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1030 1030 1031 1031 Feature: Get or Set uplinkdwelltime ... ... @@ -1053,6 +1053,7 @@ 1053 1053 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1054 1054 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1055 1055 1087 + 1056 1056 == 7.23 Set Packet Receiving Response Level == 1057 1057 1058 1058 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. ... ... @@ -1094,6 +1094,7 @@ 1094 1094 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1095 1095 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1096 1096 1129 + 1097 1097 = 8. AT Commands Combination = 1098 1098 1099 1099 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1101,6 +1101,7 @@ 1101 1101 * **AT+ADR=0 **~-~-> Disable ADR first 1102 1102 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1103 1103 1137 + 1104 1104 == 8.2 Use Downlink Command to set a fix uplink DR == 1105 1105 1106 1106 {{info}}