<
From version < 59.2 >
edited by Xiaoling
on 2023/01/29 11:16
To version < 52.13 >
edited by Xiaoling
on 2022/09/19 15:27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
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,10 +21,10 @@
21 21  = 2. How to use AT Commands or Downlink command =
22 22  
23 23  
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:
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 -** 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]]
28 28  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
29 29  
30 30  
... ... @@ -107,6 +107,7 @@
107 107  
108 108  = 4. System Management Commands =
109 109  
111 +
110 110  == 4.1 Change Uplink Interval ==
111 111  
112 112  
... ... @@ -178,6 +178,7 @@
178 178  (((
179 179  If the downlink payload=**04FF**, the end node will reboot.
180 180  
183 +
181 181  
182 182  )))
183 183  
... ... @@ -217,6 +217,7 @@
217 217  )))
218 218  
219 219  
223 +
220 220  == 4.4 Show Firmware Version ==
221 221  
222 222  
... ... @@ -247,6 +247,7 @@
247 247  (((
248 248  
249 249  
254 +
250 250  **xx: Software Type:**
251 251  )))
252 252  
... ... @@ -280,6 +280,7 @@
280 280  firmware version: v1.1.0 ~-~-> 110
281 281  
282 282  
288 +
283 283  == 4.5 Show System Configure ==
284 284  
285 285  
... ... @@ -309,6 +309,7 @@
309 309  
310 310  = 5. Keys, IDs and EUIs management =
311 311  
318 +
312 312  == 5.1 Application EUI ==
313 313  
314 314  
... ... @@ -443,8 +443,10 @@
443 443  
444 444  = 6. Joining and sending date on LoRaWAN network =
445 445  
453 +
446 446  == 6.1 Confirm Mode ==
447 447  
456 +
448 448  === 6.1.1  AT+CFM command before DR-LWS007 software stack ===
449 449  
450 450  
... ... @@ -528,10 +528,10 @@
528 528  
529 529  (% style="color:blue" %)**AT Command: AT+CFS**
530 530  
531 -(% border="1" style="background-color:#ffffcc; color:green; width:463px" %)
532 -|=(% colspan="3" style="width: 460px;" %)AT+CFS
533 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:107px" %)**Response**
534 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0(((
540 +(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
541 +|=(% colspan="3" style="width: 531px;" %)AT+CFS
542 +|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
543 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:178px" %)0(((
535 535  OK
536 536  )))
537 537  
... ... @@ -678,6 +678,7 @@
678 678  
679 679  = 7. LoRaWAN network management =
680 680  
690 +
681 681  == 7.1 Adaptive Data Rate ==
682 682  
683 683  
... ... @@ -749,14 +749,9 @@
749 749  == 7.4 Data Rate ==
750 750  
751 751  
752 -Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) .
762 +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
753 753  
754 -(% style="color:red" %)
755 -**Notice:**
756 756  
757 -* 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.
758 -* 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/]]
759 -
760 760  (% style="color:blue" %)**AT Command: AT+DR**
761 761  
762 762  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
... ... @@ -1092,7 +1092,7 @@
1092 1092  )))
1093 1093  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1094 1094  
1095 -(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**
1100 +(% style="color:blue" %)**Downlink Command: 0x24**
1096 1096  
1097 1097  Format: Command Code (0x24) followed by 1 bytes channel value.
1098 1098  
... ... @@ -1134,6 +1134,7 @@
1134 1134  (((
1135 1135  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.
1136 1136  
1142 +
1137 1137  
1138 1138  )))
1139 1139  
... ... @@ -1202,6 +1202,7 @@
1202 1202  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
1203 1203  * 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.
1204 1204  
1211 +
1205 1205  (% style="color:blue" %)**AT Command: AT+RPL**
1206 1206  
1207 1207  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
... ... @@ -1320,6 +1320,7 @@
1320 1320  
1321 1321  
1322 1322  
1330 +
1323 1323  == 7.27 Adjust network rejoining interval ==
1324 1324  
1325 1325  
... ... @@ -1328,13 +1328,13 @@
1328 1328  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1329 1329  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1330 1330  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1331 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30(((
1339 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1332 1332  OK
1333 1333  
1334 -the interval is 30 min
1342 +the interval is 30000ms = 30s
1335 1335  )))
1336 -|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1337 -Set the ReJoin data transmission interval to 60 min
1344 +|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1345 +Set the ReJoin data transmission interval to 60000ms = 60 seconds
1338 1338  )))
1339 1339  
1340 1340  (% style="color:blue" %)**Downlink Command: 0x26**
... ... @@ -1350,6 +1350,7 @@
1350 1350  
1351 1351  = 8. AT Commands Combination =
1352 1352  
1361 +
1353 1353  == 8.1 Set a fix RX2DR for downlink window ==
1354 1354  
1355 1355  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0