<
From version < 53.1 >
edited by Edwin Chen
on 2022/10/10 19:39
To version < 59.1 >
edited by Bei Jinggeng
on 2023/01/10 11:43
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Bei
Content
... ... @@ -14,7 +14,6 @@
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 -
18 18  
19 19  
20 20  )))
... ... @@ -22,13 +22,12 @@
22 22  = 2. How to use AT Commands or Downlink command =
23 23  
24 24  
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:
24 +* **AT Command** See Devices User Manual for how to connect to device via 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 Downlink Command**: The gateway transfer downlink command in HEX format. This page shows the Downlink Command In HEX format. Please note some LoRaWAN servers use base64 as downlink code so user need to convert HEX to Base64 and use. Below are references for how to use downlink command:
27 27  ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
28 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 -
32 32  = 3. Support End Node and firmware version =
33 33  
34 34  
... ... @@ -106,7 +106,6 @@
106 106  
107 107  = 4. System Management Commands =
108 108  
109 -
110 110  == 4.1 Change Uplink Interval ==
111 111  
112 112  
... ... @@ -177,7 +177,6 @@
177 177  (((
178 178  If the downlink payload=**04FF**, the end node will reboot.
179 179  
180 -
181 181  
182 182  )))
183 183  
... ... @@ -217,7 +217,6 @@
217 217  )))
218 218  
219 219  
220 -
221 221  == 4.4 Show Firmware Version ==
222 222  
223 223  
... ... @@ -248,7 +248,6 @@
248 248  (((
249 249  
250 250  
251 -
252 252  **xx: Software Type:**
253 253  )))
254 254  
... ... @@ -282,7 +282,6 @@
282 282  firmware version: v1.1.0 ~-~-> 110
283 283  
284 284  
285 -
286 286  == 4.5 Show System Configure ==
287 287  
288 288  
... ... @@ -311,7 +311,6 @@
311 311  
312 312  = 5. Keys, IDs and EUIs management =
313 313  
314 -
315 315  == 5.1 Application EUI ==
316 316  
317 317  
... ... @@ -439,10 +439,8 @@
439 439  
440 440  = 6. Joining and sending date on LoRaWAN network =
441 441  
442 -
443 443  == 6.1 Confirm Mode ==
444 444  
445 -
446 446  === 6.1.1  AT+CFM command before DR-LWS007 software stack ===
447 447  
448 448  
... ... @@ -666,7 +666,6 @@
666 666  
667 667  = 7. LoRaWAN network management =
668 668  
669 -
670 670  == 7.1 Adaptive Data Rate ==
671 671  
672 672  
... ... @@ -735,9 +735,14 @@
735 735  == 7.4 Data Rate ==
736 736  
737 737  
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
727 +Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) .
739 739  
729 +(% style="color:red" %)
730 +**Notice:**
740 740  
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 +
741 741  (% style="color:blue" %)**AT Command: AT+DR**
742 742  
743 743  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
... ... @@ -1058,7 +1058,7 @@
1058 1058  )))
1059 1059  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1060 1060  
1061 -(% style="color:blue" %)**Downlink Command: 0x24**
1055 +(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**
1062 1062  
1063 1063  Format: Command Code (0x24) followed by 1 bytes channel value.
1064 1064  
... ... @@ -1099,7 +1099,6 @@
1099 1099  (((
1100 1100  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.
1101 1101  
1102 -
1103 1103  
1104 1104  )))
1105 1105  
... ... @@ -1280,7 +1280,6 @@
1280 1280  )))
1281 1281  
1282 1282  
1283 -
1284 1284  == 7.27 Adjust network rejoining interval ==
1285 1285  
1286 1286  
... ... @@ -1289,13 +1289,13 @@
1289 1289  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1290 1290  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1291 1291  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1292 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1284 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30(((
1293 1293  OK
1294 1294  
1295 -the interval is 30000ms = 30s
1287 +the interval is 30 min
1296 1296  )))
1297 -|(% 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
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 min
1299 1299  )))
1300 1300  
1301 1301  (% style="color:blue" %)**Downlink Command: 0x26**
... ... @@ -1310,7 +1310,6 @@
1310 1310  
1311 1311  = 8. AT Commands Combination =
1312 1312  
1313 -
1314 1314  == 8.1 Set a fix RX2DR for downlink window ==
1315 1315  
1316 1316  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0