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 == ... ... @@ -323,7 +323,6 @@ 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 325 325 326 - 327 327 == 5.2 Application Key == 328 328 329 329 Feature: Get or Set the Application Key. ... ... @@ -340,8 +340,6 @@ 340 340 ))) 341 341 |(% 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 342 342 343 - 344 - 345 345 == 5.3 Application Session Key == 346 346 347 347 Feature: Get or Set the Application Session Key. ... ... @@ -360,6 +360,8 @@ 360 360 OK 361 361 ))) 362 362 355 + 356 + 363 363 == 5.4 Device Address == 364 364 365 365 Feature: Get or Set the Device Address. ... ... @@ -378,6 +378,8 @@ 378 378 ))) 379 379 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 380 380 375 + 376 + 381 381 == 5.5 Device EUI == 382 382 383 383 Feature: Get or Set the Device EUI. ... ... @@ -396,6 +396,8 @@ 396 396 OK 397 397 ))) 398 398 395 + 396 + 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,6 +412,8 @@ 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 413 + 414 + 415 415 == 5.7 Network Session Key == 416 416 417 417 Feature: Get or Set the Network Session Key ... ... @@ -428,6 +428,8 @@ 428 428 ))) 429 429 |(% 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 430 430 431 + 432 + 431 431 = 6. Joining and sending date on LoRaWAN network = 432 432 433 433 == 6.1 Confirm Mode == ... ... @@ -456,6 +456,8 @@ 456 456 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 457 457 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 458 458 461 + 462 + 459 459 == 6.2 Confirm Status == 460 460 461 461 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -471,6 +471,8 @@ 471 471 OK 472 472 ))) 473 473 478 + 479 + 474 474 == 6.3 Join LoRa® Network == 475 475 476 476 Feature: Join network. ... ... @@ -488,6 +488,7 @@ 488 488 While Error in format, return AT_BUSY_ERROR 489 489 ))) 490 490 497 + 491 491 == 6.4 LoRa® Network Join Mode == 492 492 493 493 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -516,6 +516,7 @@ 516 516 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 517 517 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 518 518 526 + 519 519 == 6.5 LoRa® Network Join Status == 520 520 521 521 Feature: LoRa® Network Join Status. ... ... @@ -531,6 +531,7 @@ 531 531 OK 532 532 ))) 533 533 542 + 534 534 == 6.6 Print Last Received Data in Raw Format == 535 535 536 536 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -546,6 +546,7 @@ 546 546 OK 547 547 ))) 548 548 558 + 549 549 == 6.7 Print Last Received Data in Binary Format == 550 550 551 551 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -561,6 +561,7 @@ 561 561 OK 562 562 ))) 563 563 574 + 564 564 == 6.8 Send Text Data == 565 565 566 566 Feature: Send Text Data<port:data>. ... ... @@ -580,6 +580,7 @@ 580 580 581 581 ))) 582 582 594 + 583 583 == 6.9 Send Hexadecimal Data == 584 584 585 585 Feature: Send hexadecimal data along with the application port. ... ... @@ -598,6 +598,7 @@ 598 598 599 599 ))) 600 600 613 + 601 601 = 7. LoRaWAN network management = 602 602 603 603 == 7.1 Adaptive Data Rate == ... ... @@ -629,6 +629,7 @@ 629 629 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 630 630 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 631 631 645 + 632 632 == 7.2 LoRa® Class == 633 633 634 634 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -647,6 +647,7 @@ 647 647 648 648 ))) 649 649 664 + 650 650 == 7.3 Duty Cycle Setting == 651 651 652 652 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -665,6 +665,7 @@ 665 665 666 666 ))) 667 667 683 + 668 668 == 7.4 Data Rate == 669 669 670 670 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 ... ... @@ -693,6 +693,7 @@ 693 693 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 694 694 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 695 695 712 + 696 696 == 7.5 Frame Counter Downlink == 697 697 698 698 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -713,6 +713,7 @@ 713 713 714 714 ))) 715 715 733 + 716 716 == 7.6 Frame Counter Uplink == 717 717 718 718 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -731,6 +731,7 @@ 731 731 732 732 ))) 733 733 752 + 734 734 == 7.7 Join Accept Delay1 == 735 735 736 736 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -749,6 +749,7 @@ 749 749 750 750 ))) 751 751 771 + 752 752 == 7.8 Join Accept Delay2 == 753 753 754 754 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -767,6 +767,7 @@ 767 767 768 768 ))) 769 769 790 + 770 770 == 7.9 Public Network Mode == 771 771 772 772 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -787,6 +787,7 @@ 787 787 788 788 ))) 789 789 811 + 790 790 == 7.10 Receive Delay1 == 791 791 792 792 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -805,6 +805,7 @@ 805 805 806 806 ))) 807 807 830 + 808 808 == 7.11 Receive Delay2 == 809 809 810 810 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -823,6 +823,7 @@ 823 823 824 824 ))) 825 825 849 + 826 826 == 7.12 Rx2 Window Data Rate == 827 827 828 828 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -841,6 +841,7 @@ 841 841 842 842 ))) 843 843 868 + 844 844 == 7.13 Rx2 Window Frequency == 845 845 846 846 Feature: Get or Set the Rx2 window frequency ... ... @@ -859,6 +859,7 @@ 859 859 860 860 ))) 861 861 887 + 862 862 == 7.14 Transmit Power == 863 863 864 864 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. ) ... ... @@ -884,6 +884,7 @@ 884 884 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 885 885 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 886 886 913 + 887 887 == 7.15 RSSI of the Last Received Packet == 888 888 889 889 Feature: Get or Set the Rx2 window frequency ... ... @@ -899,6 +899,7 @@ 899 899 OK 900 900 ))) 901 901 929 + 902 902 == 7.16 SNR of the Last Received Packet == 903 903 904 904 Feature: Get the SNR of the last received packet ... ... @@ -914,6 +914,7 @@ 914 914 OK 915 915 ))) 916 916 945 + 917 917 == 7.17 Application Port == 918 918 919 919 Feature: Get or set the application port. ... ... @@ -941,6 +941,7 @@ 941 941 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 942 942 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 943 943 973 + 944 944 == 7.18 Single Channel Mode == 945 945 946 946 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -957,6 +957,7 @@ 957 957 ))) 958 958 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 959 959 990 + 960 960 == 7.19 Eight Channel Mode == 961 961 962 962 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -986,6 +986,7 @@ 986 986 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 987 987 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 988 988 1020 + 989 989 == 7.20 Get or Set RXwindows1 timeout == 990 990 991 991 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1030,6 +1030,7 @@ 1030 1030 ))) 1031 1031 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1032 1032 1065 + 1033 1033 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1034 1034 1035 1035 Feature: Get or Set uplinkdwelltime ... ... @@ -1057,6 +1057,7 @@ 1057 1057 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1058 1058 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1059 1059 1093 + 1060 1060 == 7.23 Set Packet Receiving Response Level == 1061 1061 1062 1062 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. ... ... @@ -1098,6 +1098,7 @@ 1098 1098 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1099 1099 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1100 1100 1135 + 1101 1101 = 8. AT Commands Combination = 1102 1102 1103 1103 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1105,6 +1105,7 @@ 1105 1105 * **AT+ADR=0 **~-~-> Disable ADR first 1106 1106 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1107 1107 1143 + 1108 1108 == 8.2 Use Downlink Command to set a fix uplink DR == 1109 1109 1110 1110 {{info}}