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,6 +24,7 @@ 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 + 27 27 = 3. Support End Node and firmware version = 28 28 29 29 (% border="1" style="background-color:#ffffcc; color:green; width:966px" %) ... ... @@ -98,6 +98,7 @@ 98 98 ))) 99 99 100 100 102 + 101 101 = 4. System Management Commands = 102 102 103 103 == 4.1 Change Uplink Interval == ... ... @@ -137,6 +137,7 @@ 137 137 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 138 138 139 139 142 + 140 140 == 4.2 Reboot End Node == 141 141 142 142 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -299,6 +299,7 @@ 299 299 ))) 300 300 301 301 305 + 302 302 = 5. Keys, IDs and EUIs management = 303 303 304 304 == 5.1 Application EUI == ... ... @@ -318,6 +318,7 @@ 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 320 320 325 + 321 321 == 5.2 Application Key == 322 322 323 323 Feature: Get or Set the Application Key. ... ... @@ -334,6 +334,7 @@ 334 334 ))) 335 335 |(% 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 336 336 342 + 337 337 == 5.3 Application Session Key == 338 338 339 339 Feature: Get or Set the Application Session Key. ... ... @@ -352,6 +352,7 @@ 352 352 OK 353 353 ))) 354 354 361 + 355 355 == 5.4 Device Address == 356 356 357 357 Feature: Get or Set the Device Address. ... ... @@ -370,6 +370,7 @@ 370 370 ))) 371 371 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 372 372 380 + 373 373 == 5.5 Device EUI == 374 374 375 375 Feature: Get or Set the Device EUI. ... ... @@ -388,6 +388,7 @@ 388 388 OK 389 389 ))) 390 390 399 + 391 391 == 5.6 Network ID == 392 392 393 393 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -405,7 +405,6 @@ 405 405 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 406 406 407 407 408 - 409 409 == 5.7 Network Session Key == 410 410 411 411 Feature: Get or Set the Network Session Key ... ... @@ -423,7 +423,6 @@ 423 423 |(% 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 424 424 425 425 426 - 427 427 = 6. Joining and sending date on LoRaWAN network = 428 428 429 429 == 6.1 Confirm Mode == ... ... @@ -453,7 +453,6 @@ 453 453 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 454 454 455 455 456 - 457 457 == 6.2 Confirm Status == 458 458 459 459 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -470,7 +470,6 @@ 470 470 ))) 471 471 472 472 473 - 474 474 == 6.3 Join LoRa® Network == 475 475 476 476 Feature: Join network. ... ... @@ -489,6 +489,7 @@ 489 489 ))) 490 490 491 491 497 + 492 492 == 6.4 LoRa® Network Join Mode == 493 493 494 494 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -518,6 +518,7 @@ 518 518 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 519 519 520 520 527 + 521 521 == 6.5 LoRa® Network Join Status == 522 522 523 523 Feature: LoRa® Network Join Status. ... ... @@ -534,6 +534,7 @@ 534 534 ))) 535 535 536 536 544 + 537 537 == 6.6 Print Last Received Data in Raw Format == 538 538 539 539 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -550,6 +550,7 @@ 550 550 ))) 551 551 552 552 561 + 553 553 == 6.7 Print Last Received Data in Binary Format == 554 554 555 555 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -566,6 +566,7 @@ 566 566 ))) 567 567 568 568 578 + 569 569 == 6.8 Send Text Data == 570 570 571 571 Feature: Send Text Data<port:data>. ... ... @@ -586,6 +586,7 @@ 586 586 ))) 587 587 588 588 599 + 589 589 == 6.9 Send Hexadecimal Data == 590 590 591 591 Feature: Send hexadecimal data along with the application port. ... ... @@ -605,6 +605,7 @@ 605 605 ))) 606 606 607 607 619 + 608 608 = 7. LoRaWAN network management = 609 609 610 610 == 7.1 Adaptive Data Rate == ... ... @@ -637,6 +637,7 @@ 637 637 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 638 638 639 639 652 + 640 640 == 7.2 LoRa® Class == 641 641 642 642 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -656,6 +656,7 @@ 656 656 ))) 657 657 658 658 672 + 659 659 == 7.3 Duty Cycle Setting == 660 660 661 661 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -675,6 +675,7 @@ 675 675 ))) 676 676 677 677 692 + 678 678 == 7.4 Data Rate == 679 679 680 680 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 ... ... @@ -704,6 +704,7 @@ 704 704 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 705 705 706 706 722 + 707 707 == 7.5 Frame Counter Downlink == 708 708 709 709 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -725,6 +725,7 @@ 725 725 ))) 726 726 727 727 744 + 728 728 == 7.6 Frame Counter Uplink == 729 729 730 730 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -744,6 +744,7 @@ 744 744 ))) 745 745 746 746 764 + 747 747 == 7.7 Join Accept Delay1 == 748 748 749 749 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -763,6 +763,7 @@ 763 763 ))) 764 764 765 765 784 + 766 766 == 7.8 Join Accept Delay2 == 767 767 768 768 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -782,6 +782,7 @@ 782 782 ))) 783 783 784 784 804 + 785 785 == 7.9 Public Network Mode == 786 786 787 787 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -803,6 +803,7 @@ 803 803 ))) 804 804 805 805 826 + 806 806 == 7.10 Receive Delay1 == 807 807 808 808 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -822,6 +822,7 @@ 822 822 ))) 823 823 824 824 846 + 825 825 == 7.11 Receive Delay2 == 826 826 827 827 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -841,6 +841,7 @@ 841 841 ))) 842 842 843 843 866 + 844 844 == 7.12 Rx2 Window Data Rate == 845 845 846 846 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -860,6 +860,7 @@ 860 860 ))) 861 861 862 862 886 + 863 863 == 7.13 Rx2 Window Frequency == 864 864 865 865 Feature: Get or Set the Rx2 window frequency ... ... @@ -879,6 +879,7 @@ 879 879 ))) 880 880 881 881 906 + 882 882 == 7.14 Transmit Power == 883 883 884 884 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. ) ... ... @@ -905,6 +905,7 @@ 905 905 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 906 906 907 907 933 + 908 908 == 7.15 RSSI of the Last Received Packet == 909 909 910 910 Feature: Get or Set the Rx2 window frequency ... ... @@ -921,6 +921,7 @@ 921 921 ))) 922 922 923 923 950 + 924 924 == 7.16 SNR of the Last Received Packet == 925 925 926 926 Feature: Get the SNR of the last received packet ... ... @@ -937,6 +937,7 @@ 937 937 ))) 938 938 939 939 967 + 940 940 == 7.17 Application Port == 941 941 942 942 Feature: Get or set the application port. ... ... @@ -965,6 +965,7 @@ 965 965 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 966 966 967 967 996 + 968 968 == 7.18 Single Channel Mode == 969 969 970 970 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -982,6 +982,7 @@ 982 982 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 983 983 984 984 1014 + 985 985 == 7.19 Eight Channel Mode == 986 986 987 987 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -1011,7 +1011,6 @@ 1011 1011 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1012 1012 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1013 1013 1014 - 1015 1015 == 7.20 Get or Set RXwindows1 timeout == 1016 1016 1017 1017 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1056,7 +1056,6 @@ 1056 1056 ))) 1057 1057 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1058 1058 1059 - 1060 1060 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1061 1061 1062 1062 Feature: Get or Set uplinkdwelltime ... ... @@ -1084,7 +1084,6 @@ 1084 1084 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1085 1085 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1086 1086 1087 - 1088 1088 == 7.23 Set Packet Receiving Response Level == 1089 1089 1090 1090 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. ... ... @@ -1126,7 +1126,6 @@ 1126 1126 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1127 1127 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1128 1128 1129 - 1130 1130 = 8. AT Commands Combination = 1131 1131 1132 1132 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1134,7 +1134,6 @@ 1134 1134 * **AT+ADR=0 **~-~-> Disable ADR first 1135 1135 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1136 1136 1137 - 1138 1138 == 8.2 Use Downlink Command to set a fix uplink DR == 1139 1139 1140 1140 {{info}}