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. Bei1 +XWiki.Edwin - Content
-
... ... @@ -14,6 +14,7 @@ 14 14 15 15 ((( 16 16 **This page shows the common commands since Dragino LoRaWAN stack DR-LWS-005. Make sure the end node support stack higher than DR-LWS-005 before checking this page.** 17 + 17 17 18 18 19 19 ))) ... ... @@ -21,12 +21,13 @@ 21 21 = 2. How to use AT Commands or Downlink command = 22 22 23 23 24 -* **AT Command**:See Devices User Manual forhow to connect to devicevia USB TTL adapter and use. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]25 -* **LoRaWAN DownlinkCommand**: The gateway transfer downlink command in HEX format. This page shows theDownlinkCommandIn HEXformat.PleasenotesomeLoRaWANservers use base64 as downlink codeso user need to convert HEX to Base64 and use. Below are referencesfor how to use downlink command: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 +* 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: 26 26 ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] 27 27 ** 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 28 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 29 29 31 + 30 30 = 3. Support End Node and firmware version = 31 31 32 32 ... ... @@ -104,6 +104,7 @@ 104 104 105 105 = 4. System Management Commands = 106 106 109 + 107 107 == 4.1 Change Uplink Interval == 108 108 109 109 ... ... @@ -174,6 +174,7 @@ 174 174 ((( 175 175 If the downlink payload=**04FF**, the end node will reboot. 176 176 180 + 177 177 178 178 ))) 179 179 ... ... @@ -213,6 +213,7 @@ 213 213 ))) 214 214 215 215 220 + 216 216 == 4.4 Show Firmware Version == 217 217 218 218 ... ... @@ -243,6 +243,7 @@ 243 243 ((( 244 244 245 245 251 + 246 246 **xx: Software Type:** 247 247 ))) 248 248 ... ... @@ -276,6 +276,7 @@ 276 276 firmware version: v1.1.0 ~-~-> 110 277 277 278 278 285 + 279 279 == 4.5 Show System Configure == 280 280 281 281 ... ... @@ -304,6 +304,7 @@ 304 304 305 305 = 5. Keys, IDs and EUIs management = 306 306 314 + 307 307 == 5.1 Application EUI == 308 308 309 309 ... ... @@ -431,8 +431,10 @@ 431 431 432 432 = 6. Joining and sending date on LoRaWAN network = 433 433 442 + 434 434 == 6.1 Confirm Mode == 435 435 445 + 436 436 === 6.1.1 AT+CFM command before DR-LWS007 software stack === 437 437 438 438 ... ... @@ -656,6 +656,7 @@ 656 656 657 657 = 7. LoRaWAN network management = 658 658 669 + 659 659 == 7.1 Adaptive Data Rate == 660 660 661 661 ... ... @@ -724,14 +724,9 @@ 724 724 == 7.4 Data Rate == 725 725 726 726 727 -Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . 738 +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 728 728 729 -(% style="color:red" %) 730 -**Notice:** 731 731 732 -* User need to set Adaptive Data Rate(ADR)=0 first. otherwise device will respond to server's ADR command and change the DR according to server auto-adjustment. 733 -* Data Rate specifies Spreading Factor. The mapping varies in different frequency bands. User can check this link for detail. [[rp2-1.0.3-lorawan-regional-parameters.pdf>>https://lora-alliance.org/resource_hub/rp2-1-0-3-lorawan-regional-parameters/]] 734 - 735 735 (% style="color:blue" %)**AT Command: AT+DR** 736 736 737 737 (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) ... ... @@ -1052,7 +1052,7 @@ 1052 1052 ))) 1053 1053 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1054 1054 1055 -(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**1061 +(% style="color:blue" %)**Downlink Command: 0x24** 1056 1056 1057 1057 Format: Command Code (0x24) followed by 1 bytes channel value. 1058 1058 ... ... @@ -1093,6 +1093,7 @@ 1093 1093 ((( 1094 1094 Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink. 1095 1095 1102 + 1096 1096 1097 1097 ))) 1098 1098 ... ... @@ -1273,6 +1273,7 @@ 1273 1273 ))) 1274 1274 1275 1275 1283 + 1276 1276 == 7.27 Adjust network rejoining interval == 1277 1277 1278 1278 ... ... @@ -1281,13 +1281,13 @@ 1281 1281 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 1282 1282 |=(% colspan="3" style="width: 724px;" %)AT+RJTDC 1283 1283 |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 1284 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30((( 1292 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000((( 1285 1285 OK 1286 1286 1287 -the interval is 30 in1295 +the interval is 30000ms = 30s 1288 1288 ))) 1289 -|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK((( 1290 -Set the ReJoin data transmission interval to 60 in1297 +|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK((( 1298 +Set the ReJoin data transmission interval to 60000ms = 60 seconds 1291 1291 ))) 1292 1292 1293 1293 (% style="color:blue" %)**Downlink Command: 0x26** ... ... @@ -1302,6 +1302,7 @@ 1302 1302 1303 1303 = 8. AT Commands Combination = 1304 1304 1313 + 1305 1305 == 8.1 Set a fix RX2DR for downlink window == 1306 1306 1307 1307