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,7 @@ 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 ... ... @@ -110,6 +110,7 @@ 110 110 111 111 = 4. System Management Commands = 112 112 113 + 113 113 == 4.1 Change Uplink Interval == 114 114 115 115 ... ... @@ -318,6 +318,7 @@ 318 318 319 319 = 5. Keys, IDs and EUIs management = 320 320 322 + 321 321 == 5.1 Application EUI == 322 322 323 323 ... ... @@ -459,8 +459,10 @@ 459 459 460 460 = 6. Joining and sending date on LoRaWAN network = 461 461 464 + 462 462 == 6.1 Confirm Mode == 463 463 467 + 464 464 === 6.1.1 AT+CFM command before DR-LWS007 software stack === 465 465 466 466 ... ... @@ -478,6 +478,8 @@ 478 478 |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK 479 479 |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR 480 480 485 + 486 + 481 481 (% style="color:blue" %)**Downlink Command: 0x05** 482 482 483 483 Format: Command Code (0x05) followed by 2 bytes mode value. ... ... @@ -526,6 +526,8 @@ 526 526 OK 527 527 ))) 528 528 535 + 536 + 529 529 (% style="color:blue" %)**Downlink Command: 0x05** 530 530 531 531 Format: Command Code (0x05) followed by 2 bytes mode value. ... ... @@ -593,6 +593,8 @@ 593 593 |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK 594 594 |(% style="width:162px" %)AT+NJM=2|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)While Error in format, return AT_PARAM_ERROR 595 595 604 + 605 + 596 596 (% style="color:blue" %)**Downlink Command: 0x20** 597 597 598 598 Format: Command Code (0x20) followed by 1 bytes mode value. ... ... @@ -704,6 +704,7 @@ 704 704 705 705 = 7. LoRaWAN network management = 706 706 717 + 707 707 == 7.1 Adaptive Data Rate == 708 708 709 709 ... ... @@ -723,6 +723,8 @@ 723 723 AT_PARAM_ERROR 724 724 ))) 725 725 737 + 738 + 726 726 (% style="color:blue" %)**Downlink Command: 0x22** 727 727 728 728 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -793,6 +793,8 @@ 793 793 794 794 ))) 795 795 809 + 810 + 796 796 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 797 797 798 798 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -1082,6 +1082,8 @@ 1082 1082 ))) 1083 1083 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1084 1084 1100 + 1101 + 1085 1085 (% style="color:blue" %)**Downlink Command: 0x23** 1086 1086 1087 1087 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1131,6 +1131,8 @@ 1131 1131 ))) 1132 1132 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1133 1133 1151 + 1152 + 1134 1134 (% style="color:blue" %)**Downlink Command: 0x24** 1135 1135 1136 1136 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1213,6 +1213,8 @@ 1213 1213 ))) 1214 1214 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1215 1215 1235 + 1236 + 1216 1216 (% style="color:blue" %)**Downlink Command: 0x25** 1217 1217 1218 1218 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1245,6 +1245,9 @@ 1245 1245 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1246 1246 * 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. 1247 1247 1269 + 1270 + 1271 + 1248 1248 (% style="color:blue" %)**AT Command: AT+RPL** 1249 1249 1250 1250 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1255,6 +1255,8 @@ 1255 1255 ))) 1256 1256 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1257 1257 1282 + 1283 + 1258 1258 (% style="color:blue" %)**Downlink Command: 0x21** 1259 1259 1260 1260 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1288,6 +1288,8 @@ 1288 1288 OK 1289 1289 ))) 1290 1290 1317 + 1318 + 1291 1291 (% style="color:blue" %)**Downlink Command: 0x33** 1292 1292 1293 1293 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1336,6 +1336,8 @@ 1336 1336 OK 1337 1337 ))) 1338 1338 1367 + 1368 + 1339 1339 (% style="color:blue" %)**Downlink Command: 0x33** 1340 1340 1341 1341 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1384,6 +1384,8 @@ 1384 1384 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1385 1385 ))) 1386 1386 1417 + 1418 + 1387 1387 (% style="color:blue" %)**Downlink Command: 0x26** 1388 1388 1389 1389 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1398,11 +1398,12 @@ 1398 1398 1399 1399 = 8. AT Commands Combination = 1400 1400 1433 + 1401 1401 == 8.1 Set a fix RX2DR for downlink window == 1402 1402 1403 1403 1404 1404 * (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1405 -* (% style="color: blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate1438 +* (% style="color:red" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1406 1406 1407 1407 1408 1408