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
-
... ... @@ -25,7 +25,6 @@ 25 25 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 26 26 27 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" %) ... ... @@ -99,6 +99,8 @@ 99 99 ))) 100 100 ))) 101 101 101 + 102 + 102 102 = 4. System Management Commands = 103 103 104 104 == 4.1 Change Uplink Interval == ... ... @@ -137,6 +137,8 @@ 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 141 + 142 + 140 140 == 4.2 Reboot End Node == 141 141 142 142 Feature: Reboot End Node to perform a new OTAA or ABP Join. ... ... @@ -298,6 +298,8 @@ 298 298 OK 299 299 ))) 300 300 304 + 305 + 301 301 = 5. Keys, IDs and EUIs management = 302 302 303 303 == 5.1 Application EUI == ... ... @@ -316,6 +316,8 @@ 316 316 ))) 317 317 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 318 318 324 + 325 + 319 319 == 5.2 Application Key == 320 320 321 321 Feature: Get or Set the Application Key. ... ... @@ -332,6 +332,7 @@ 332 332 ))) 333 333 |(% 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 334 334 342 + 335 335 == 5.3 Application Session Key == 336 336 337 337 Feature: Get or Set the Application Session Key. ... ... @@ -350,6 +350,7 @@ 350 350 OK 351 351 ))) 352 352 361 + 353 353 == 5.4 Device Address == 354 354 355 355 Feature: Get or Set the Device Address. ... ... @@ -368,6 +368,7 @@ 368 368 ))) 369 369 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 370 370 380 + 371 371 == 5.5 Device EUI == 372 372 373 373 Feature: Get or Set the Device EUI. ... ... @@ -386,6 +386,7 @@ 386 386 OK 387 387 ))) 388 388 399 + 389 389 == 5.6 Network ID == 390 390 391 391 Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection) ... ... @@ -402,6 +402,7 @@ 402 402 ))) 403 403 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 404 404 416 + 405 405 == 5.7 Network Session Key == 406 406 407 407 Feature: Get or Set the Network Session Key ... ... @@ -418,6 +418,7 @@ 418 418 ))) 419 419 |(% 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 420 420 433 + 421 421 = 6. Joining and sending date on LoRaWAN network = 422 422 423 423 == 6.1 Confirm Mode == ... ... @@ -446,6 +446,7 @@ 446 446 * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1 447 447 * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0 448 448 462 + 449 449 == 6.2 Confirm Status == 450 450 451 451 Feature: Get confirmation status of the last AT+SEND (0-1). ... ... @@ -461,6 +461,7 @@ 461 461 OK 462 462 ))) 463 463 478 + 464 464 == 6.3 Join LoRa® Network == 465 465 466 466 Feature: Join network. ... ... @@ -478,6 +478,8 @@ 478 478 While Error in format, return AT_BUSY_ERROR 479 479 ))) 480 480 496 + 497 + 481 481 == 6.4 LoRa® Network Join Mode == 482 482 483 483 Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA). ... ... @@ -506,6 +506,8 @@ 506 506 * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O 507 507 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 508 508 526 + 527 + 509 509 == 6.5 LoRa® Network Join Status == 510 510 511 511 Feature: LoRa® Network Join Status. ... ... @@ -521,6 +521,8 @@ 521 521 OK 522 522 ))) 523 523 543 + 544 + 524 524 == 6.6 Print Last Received Data in Raw Format == 525 525 526 526 Feature: Print Last Received Data in Raw Format<port:data>. ... ... @@ -536,6 +536,8 @@ 536 536 OK 537 537 ))) 538 538 560 + 561 + 539 539 == 6.7 Print Last Received Data in Binary Format == 540 540 541 541 Feature: Print Last Received Data in Binary Format<port:data>. ... ... @@ -551,6 +551,8 @@ 551 551 OK 552 552 ))) 553 553 577 + 578 + 554 554 == 6.8 Send Text Data == 555 555 556 556 Feature: Send Text Data<port:data>. ... ... @@ -570,6 +570,8 @@ 570 570 571 571 ))) 572 572 598 + 599 + 573 573 == 6.9 Send Hexadecimal Data == 574 574 575 575 Feature: Send hexadecimal data along with the application port. ... ... @@ -588,6 +588,8 @@ 588 588 589 589 ))) 590 590 618 + 619 + 591 591 = 7. LoRaWAN network management = 592 592 593 593 == 7.1 Adaptive Data Rate == ... ... @@ -619,6 +619,8 @@ 619 619 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 620 620 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 621 621 651 + 652 + 622 622 == 7.2 LoRa® Class == 623 623 624 624 Feature: Get or Set the Device Class(Currently only support class A, class C). ... ... @@ -637,6 +637,8 @@ 637 637 638 638 ))) 639 639 671 + 672 + 640 640 == 7.3 Duty Cycle Setting == 641 641 642 642 Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing. ... ... @@ -655,6 +655,8 @@ 655 655 656 656 ))) 657 657 691 + 692 + 658 658 == 7.4 Data Rate == 659 659 660 660 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 ... ... @@ -683,6 +683,8 @@ 683 683 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 684 684 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 685 685 721 + 722 + 686 686 == 7.5 Frame Counter Downlink == 687 687 688 688 Feature: Get or Set the Frame Counter Downlink. ... ... @@ -703,6 +703,8 @@ 703 703 704 704 ))) 705 705 743 + 744 + 706 706 == 7.6 Frame Counter Uplink == 707 707 708 708 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -721,6 +721,8 @@ 721 721 722 722 ))) 723 723 763 + 764 + 724 724 == 7.7 Join Accept Delay1 == 725 725 726 726 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms. ... ... @@ -739,6 +739,8 @@ 739 739 740 740 ))) 741 741 783 + 784 + 742 742 == 7.8 Join Accept Delay2 == 743 743 744 744 Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms. ... ... @@ -757,6 +757,8 @@ 757 757 758 758 ))) 759 759 803 + 804 + 760 760 == 7.9 Public Network Mode == 761 761 762 762 Feature: Get or Set the public network mode. (0: off, 1: on) ... ... @@ -777,6 +777,8 @@ 777 777 778 778 ))) 779 779 825 + 826 + 780 780 == 7.10 Receive Delay1 == 781 781 782 782 Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms ... ... @@ -795,6 +795,8 @@ 795 795 796 796 ))) 797 797 845 + 846 + 798 798 == 7.11 Receive Delay2 == 799 799 800 800 Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms ... ... @@ -813,6 +813,8 @@ 813 813 814 814 ))) 815 815 865 + 866 + 816 816 == 7.12 Rx2 Window Data Rate == 817 817 818 818 Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) ... ... @@ -831,6 +831,8 @@ 831 831 832 832 ))) 833 833 885 + 886 + 834 834 == 7.13 Rx2 Window Frequency == 835 835 836 836 Feature: Get or Set the Rx2 window frequency ... ... @@ -849,6 +849,8 @@ 849 849 850 850 ))) 851 851 905 + 906 + 852 852 == 7.14 Transmit Power == 853 853 854 854 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. ) ... ... @@ -874,6 +874,8 @@ 874 874 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 875 875 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 876 876 932 + 933 + 877 877 == 7.15 RSSI of the Last Received Packet == 878 878 879 879 Feature: Get or Set the Rx2 window frequency ... ... @@ -889,6 +889,8 @@ 889 889 OK 890 890 ))) 891 891 949 + 950 + 892 892 == 7.16 SNR of the Last Received Packet == 893 893 894 894 Feature: Get the SNR of the last received packet ... ... @@ -904,6 +904,8 @@ 904 904 OK 905 905 ))) 906 906 966 + 967 + 907 907 == 7.17 Application Port == 908 908 909 909 Feature: Get or set the application port. ... ... @@ -931,6 +931,8 @@ 931 931 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 932 932 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 933 933 995 + 996 + 934 934 == 7.18 Single Channel Mode == 935 935 936 936 Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode. ... ... @@ -947,6 +947,8 @@ 947 947 ))) 948 948 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 949 949 1013 + 1014 + 950 950 == 7.19 Eight Channel Mode == 951 951 952 952 Feature: Get or Set eight channels mode,Only for US915,AU915,CN470. ... ... @@ -976,6 +976,8 @@ 976 976 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 977 977 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 978 978 1044 + 1045 + 979 979 == 7.20 Get or Set RXwindows1 timeout == 980 980 981 981 Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255). ... ... @@ -1020,6 +1020,8 @@ 1020 1020 ))) 1021 1021 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1022 1022 1090 + 1091 + 1023 1023 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1024 1024 1025 1025 Feature: Get or Set uplinkdwelltime ... ... @@ -1047,6 +1047,8 @@ 1047 1047 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1048 1048 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1049 1049 1119 + 1120 + 1050 1050 == 7.23 Set Packet Receiving Response Level == 1051 1051 1052 1052 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. ... ... @@ -1088,6 +1088,8 @@ 1088 1088 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1089 1089 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1090 1090 1162 + 1163 + 1091 1091 = 8. AT Commands Combination = 1092 1092 1093 1093 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1095,6 +1095,8 @@ 1095 1095 * **AT+ADR=0 **~-~-> Disable ADR first 1096 1096 * **AT+RX2DR=xxxx** ~-~-> Set xxxx to your wanted DataRate 1097 1097 1171 + 1172 + 1098 1098 == 8.2 Use Downlink Command to set a fix uplink DR == 1099 1099 1100 1100 {{info}}