Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -25,10 +25,12 @@ 25 25 * 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/]] 26 26 * 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: 27 27 ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] 28 -** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] , [[How to Convert>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.1ConvertHEXtoBase64]]?28 +** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] 29 29 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 30 30 31 31 32 + 33 + 32 32 = 3. Support End Node and firmware version = 33 33 34 34 ... ... @@ -104,6 +104,8 @@ 104 104 ))) 105 105 106 106 109 + 110 + 107 107 = 4. System Management Commands = 108 108 109 109 ... ... @@ -143,6 +143,8 @@ 143 143 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 144 144 145 145 150 + 151 + 146 146 == 4.2 Reboot End Node == 147 147 148 148 ... ... @@ -309,6 +309,8 @@ 309 309 ))) 310 310 311 311 318 + 319 + 312 312 = 5. Keys, IDs and EUIs management = 313 313 314 314 ... ... @@ -329,6 +329,8 @@ 329 329 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 330 330 331 331 340 + 341 + 332 332 == 5.2 Application Key == 333 333 334 334 ... ... @@ -346,6 +346,8 @@ 346 346 |(% 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 347 347 348 348 359 + 360 + 349 349 == 5.3 Application Session Key == 350 350 351 351 ... ... @@ -365,6 +365,8 @@ 365 365 ))) 366 366 367 367 380 + 381 + 368 368 == 5.4 Device Address == 369 369 370 370 ... ... @@ -384,6 +384,8 @@ 384 384 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 385 385 386 386 401 + 402 + 387 387 == 5.5 Device EUI == 388 388 389 389 ... ... @@ -403,6 +403,8 @@ 403 403 ))) 404 404 405 405 422 + 423 + 406 406 == 5.6 Network ID == 407 407 408 408 ... ... @@ -420,6 +420,8 @@ 420 420 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 421 421 422 422 441 + 442 + 423 423 == 5.7 Network Session Key == 424 424 425 425 ... ... @@ -437,6 +437,8 @@ 437 437 |(% 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 438 438 439 439 460 + 461 + 440 440 = 6. Joining and sending date on LoRaWAN network = 441 441 442 442 ... ... @@ -470,6 +470,8 @@ 470 470 * **Example 2:** Downlink Payload: 0500 ~/~/ Set AT+CFM=0 471 471 472 472 495 + 496 + 473 473 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 474 474 475 475 ... ... @@ -516,6 +516,8 @@ 516 516 * **Example 2:** Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 517 517 518 518 543 + 544 + 519 519 == 6.2 Confirm Status == 520 520 521 521 ... ... @@ -532,6 +532,8 @@ 532 532 ))) 533 533 534 534 561 + 562 + 535 535 == 6.3 Join LoRa® Network == 536 536 537 537 ... ... @@ -550,6 +550,8 @@ 550 550 ))) 551 551 552 552 581 + 582 + 553 553 == 6.4 LoRa® Network Join Mode == 554 554 555 555 ... ... @@ -577,6 +577,8 @@ 577 577 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 578 578 579 579 610 + 611 + 580 580 == 6.5 LoRa® Network Join Status == 581 581 582 582 ... ... @@ -593,6 +593,8 @@ 593 593 ))) 594 594 595 595 628 + 629 + 596 596 == 6.6 Print Last Received Data in Raw Format == 597 597 598 598 ... ... @@ -609,6 +609,8 @@ 609 609 ))) 610 610 611 611 646 + 647 + 612 612 == 6.7 Print Last Received Data in Binary Format == 613 613 614 614 ... ... @@ -625,6 +625,8 @@ 625 625 ))) 626 626 627 627 664 + 665 + 628 628 == 6.8 Send Text Data == 629 629 630 630 ... ... @@ -645,6 +645,8 @@ 645 645 ))) 646 646 647 647 686 + 687 + 648 648 == 6.9 Send Hexadecimal Data == 649 649 650 650 ... ... @@ -664,6 +664,8 @@ 664 664 ))) 665 665 666 666 707 + 708 + 667 667 = 7. LoRaWAN network management = 668 668 669 669 ... ... @@ -694,6 +694,8 @@ 694 694 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 695 695 696 696 739 + 740 + 697 697 == 7.2 LoRa® Class == 698 698 699 699 ... ... @@ -713,6 +713,8 @@ 713 713 ))) 714 714 715 715 760 + 761 + 716 716 == 7.3 Duty Cycle Setting == 717 717 718 718 ... ... @@ -732,6 +732,8 @@ 732 732 ))) 733 733 734 734 781 + 782 + 735 735 == 7.4 Data Rate == 736 736 737 737 ... ... @@ -758,6 +758,8 @@ 758 758 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 759 759 760 760 809 + 810 + 761 761 == 7.5 Frame Counter Downlink == 762 762 763 763 ... ... @@ -777,6 +777,8 @@ 777 777 ))) 778 778 779 779 830 + 831 + 780 780 == 7.6 Frame Counter Uplink == 781 781 782 782 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -795,6 +795,8 @@ 795 795 ))) 796 796 797 797 850 + 851 + 798 798 == 7.7 Join Accept Delay1 == 799 799 800 800 ... ... @@ -814,6 +814,8 @@ 814 814 ))) 815 815 816 816 871 + 872 + 817 817 == 7.8 Join Accept Delay2 == 818 818 819 819 ... ... @@ -833,6 +833,8 @@ 833 833 ))) 834 834 835 835 892 + 893 + 836 836 == 7.9 Public Network Mode == 837 837 838 838 ... ... @@ -861,6 +861,8 @@ 861 861 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 862 862 863 863 922 + 923 + 864 864 == 7.10 Receive Delay1 == 865 865 866 866 ... ... @@ -880,6 +880,8 @@ 880 880 ))) 881 881 882 882 943 + 944 + 883 883 == 7.11 Receive Delay2 == 884 884 885 885 ... ... @@ -899,6 +899,8 @@ 899 899 ))) 900 900 901 901 964 + 965 + 902 902 == 7.12 Rx2 Window Data Rate == 903 903 904 904 ... ... @@ -918,6 +918,8 @@ 918 918 ))) 919 919 920 920 985 + 986 + 921 921 == 7.13 Rx2 Window Frequency == 922 922 923 923 ... ... @@ -937,6 +937,8 @@ 937 937 ))) 938 938 939 939 1006 + 1007 + 940 940 == 7.14 Transmit Power == 941 941 942 942 ... ... @@ -965,6 +965,8 @@ 965 965 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 966 966 967 967 1036 + 1037 + 968 968 == 7.15 RSSI of the Last Received Packet == 969 969 970 970 ... ... @@ -981,6 +981,8 @@ 981 981 ))) 982 982 983 983 1054 + 1055 + 984 984 == 7.16 SNR of the Last Received Packet == 985 985 986 986 ... ... @@ -997,6 +997,8 @@ 997 997 ))) 998 998 999 999 1072 + 1073 + 1000 1000 == 7.17 Application Port == 1001 1001 1002 1002 ... ... @@ -1023,6 +1023,8 @@ 1023 1023 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 1024 1024 1025 1025 1100 + 1101 + 1026 1026 == 7.18 Single Channel Mode == 1027 1027 1028 1028 ... ... @@ -1040,6 +1040,8 @@ 1040 1040 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1041 1041 1042 1042 1119 + 1120 + 1043 1043 == 7.19 Eight Channel Mode == 1044 1044 1045 1045 ... ... @@ -1068,6 +1068,8 @@ 1068 1068 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1069 1069 1070 1070 1149 + 1150 + 1071 1071 == 7.20 Get or Set RXwindows1 timeout == 1072 1072 1073 1073 ... ... @@ -1120,6 +1120,8 @@ 1120 1120 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1121 1121 1122 1122 1203 + 1204 + 1123 1123 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1124 1124 1125 1125 ... ... @@ -1146,6 +1146,8 @@ 1146 1146 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1147 1147 1148 1148 1231 + 1232 + 1149 1149 == 7.23 Set Packet Receiving Response Level == 1150 1150 1151 1151 ... ... @@ -1166,6 +1166,8 @@ 1166 1166 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1167 1167 * For Class C devices used in TTI, need to set AT+RPL=4 because TTI require immediately reply message to Confirmed Data Down & MAC Command. 1168 1168 1253 + 1254 + 1169 1169 (% style="color:blue" %)**AT Command: AT+RPL** 1170 1170 1171 1171 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1186,6 +1186,8 @@ 1186 1186 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1187 1187 1188 1188 1275 + 1276 + 1189 1189 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1190 1190 1191 1191 ... ... @@ -1217,6 +1217,8 @@ 1217 1217 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1218 1218 1219 1219 1308 + 1309 + 1220 1220 == 7.25 Device offline rejoining (LWS007) == 1221 1221 1222 1222 ... ... @@ -1262,6 +1262,8 @@ 1262 1262 * **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1263 1263 1264 1264 1355 + 1356 + 1265 1265 == 7.26 Request the server to send an ACK == 1266 1266 1267 1267 ... ... @@ -1280,7 +1280,6 @@ 1280 1280 ))) 1281 1281 1282 1282 1283 - 1284 1284 == 7.27 Adjust network rejoining interval == 1285 1285 1286 1286 ... ... @@ -1308,6 +1308,8 @@ 1308 1308 * **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1309 1309 1310 1310 1402 + 1403 + 1311 1311 = 8. AT Commands Combination = 1312 1312 1313 1313 ... ... @@ -1318,6 +1318,8 @@ 1318 1318 * (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1319 1319 1320 1320 1414 + 1415 + 1321 1321 == 8.2 Use Downlink Command to set a fix uplink DR == 1322 1322 1323 1323