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]] 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]]? 29 29 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 30 30 31 31 ... ... @@ -110,7 +110,6 @@ 110 110 111 111 = 4. System Management Commands = 112 112 113 - 114 114 == 4.1 Change Uplink Interval == 115 115 116 116 ... ... @@ -319,7 +319,6 @@ 319 319 320 320 = 5. Keys, IDs and EUIs management = 321 321 322 - 323 323 == 5.1 Application EUI == 324 324 325 325 ... ... @@ -461,10 +461,8 @@ 461 461 462 462 = 6. Joining and sending date on LoRaWAN network = 463 463 464 - 465 465 == 6.1 Confirm Mode == 466 466 467 - 468 468 === 6.1.1 AT+CFM command before DR-LWS007 software stack === 469 469 470 470 ... ... @@ -482,8 +482,6 @@ 482 482 |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK 483 483 |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR 484 484 485 - 486 - 487 487 (% style="color:blue" %)**Downlink Command: 0x05** 488 488 489 489 Format: Command Code (0x05) followed by 2 bytes mode value. ... ... @@ -532,8 +532,6 @@ 532 532 OK 533 533 ))) 534 534 535 - 536 - 537 537 (% style="color:blue" %)**Downlink Command: 0x05** 538 538 539 539 Format: Command Code (0x05) followed by 2 bytes mode value. ... ... @@ -601,8 +601,6 @@ 601 601 |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK 602 602 |(% 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 603 603 604 - 605 - 606 606 (% style="color:blue" %)**Downlink Command: 0x20** 607 607 608 608 Format: Command Code (0x20) followed by 1 bytes mode value. ... ... @@ -714,7 +714,6 @@ 714 714 715 715 = 7. LoRaWAN network management = 716 716 717 - 718 718 == 7.1 Adaptive Data Rate == 719 719 720 720 ... ... @@ -734,8 +734,6 @@ 734 734 AT_PARAM_ERROR 735 735 ))) 736 736 737 - 738 - 739 739 (% style="color:blue" %)**Downlink Command: 0x22** 740 740 741 741 If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22. ... ... @@ -806,8 +806,6 @@ 806 806 807 807 ))) 808 808 809 - 810 - 811 811 (% style="color:blue" %)**Downlink Command: 0x2200aaFF** 812 812 813 813 If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF. ... ... @@ -1097,8 +1097,6 @@ 1097 1097 ))) 1098 1098 |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK 1099 1099 1100 - 1101 - 1102 1102 (% style="color:blue" %)**Downlink Command: 0x23** 1103 1103 1104 1104 Format: Command Code (0x23) followed by 1 bytes port value. ... ... @@ -1148,8 +1148,6 @@ 1148 1148 ))) 1149 1149 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1150 1150 1151 - 1152 - 1153 1153 (% style="color:blue" %)**Downlink Command: 0x24** 1154 1154 1155 1155 Format: Command Code (0x24) followed by 1 bytes channel value. ... ... @@ -1232,8 +1232,6 @@ 1232 1232 ))) 1233 1233 |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK 1234 1234 1235 - 1236 - 1237 1237 (% style="color:blue" %)**Downlink Command: 0x25** 1238 1238 1239 1239 Format: Command Code (0x25) followed by 1 bytes state value. ... ... @@ -1266,9 +1266,6 @@ 1266 1266 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1267 1267 * 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. 1268 1268 1269 - 1270 - 1271 - 1272 1272 (% style="color:blue" %)**AT Command: AT+RPL** 1273 1273 1274 1274 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1279,8 +1279,6 @@ 1279 1279 ))) 1280 1280 |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK 1281 1281 1282 - 1283 - 1284 1284 (% style="color:blue" %)**Downlink Command: 0x21** 1285 1285 1286 1286 Format: Command Code (0x21) followed by 1 bytes level value. ... ... @@ -1314,8 +1314,6 @@ 1314 1314 OK 1315 1315 ))) 1316 1316 1317 - 1318 - 1319 1319 (% style="color:blue" %)**Downlink Command: 0x33** 1320 1320 1321 1321 Format: Command Code (0x33) followed by 2 bytes mode value. ... ... @@ -1364,8 +1364,6 @@ 1364 1364 OK 1365 1365 ))) 1366 1366 1367 - 1368 - 1369 1369 (% style="color:blue" %)**Downlink Command: 0x33** 1370 1370 1371 1371 Format: Command Code (0x32) followed by 2 bytes mode value. ... ... @@ -1414,8 +1414,6 @@ 1414 1414 Set the ReJoin data transmission interval to 60000ms = 60 seconds 1415 1415 ))) 1416 1416 1417 - 1418 - 1419 1419 (% style="color:blue" %)**Downlink Command: 0x26** 1420 1420 1421 1421 Format: Command Code (0x26) followed by 2 bytes mode value. ... ... @@ -1430,12 +1430,11 @@ 1430 1430 1431 1431 = 8. AT Commands Combination = 1432 1432 1433 - 1434 1434 == 8.1 Set a fix RX2DR for downlink window == 1435 1435 1436 1436 1437 1437 * (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1438 -* (% style="color: red" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate1405 +* (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1439 1439 1440 1440 1441 1441