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

Summary

Details

Page properties
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,10 +22,10 @@
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 -** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]]
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]]?
29 29  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
30 30  
31 31  
... ... @@ -108,7 +108,6 @@
108 108  
109 109  = 4. System Management Commands =
110 110  
111 -
112 112  == 4.1 Change Uplink Interval ==
113 113  
114 114  
... ... @@ -180,7 +180,6 @@
180 180  (((
181 181  If the downlink payload=**04FF**, the end node will reboot.
182 182  
183 -
184 184  
185 185  )))
186 186  
... ... @@ -220,7 +220,6 @@
220 220  )))
221 221  
222 222  
223 -
224 224  == 4.4 Show Firmware Version ==
225 225  
226 226  
... ... @@ -251,7 +251,6 @@
251 251  (((
252 252  
253 253  
254 -
255 255  **xx: Software Type:**
256 256  )))
257 257  
... ... @@ -285,7 +285,6 @@
285 285  firmware version: v1.1.0 ~-~-> 110
286 286  
287 287  
288 -
289 289  == 4.5 Show System Configure ==
290 290  
291 291  
... ... @@ -315,7 +315,6 @@
315 315  
316 316  = 5. Keys, IDs and EUIs management =
317 317  
318 -
319 319  == 5.1 Application EUI ==
320 320  
321 321  
... ... @@ -450,10 +450,8 @@
450 450  
451 451  = 6. Joining and sending date on LoRaWAN network =
452 452  
453 -
454 454  == 6.1 Confirm Mode ==
455 455  
456 -
457 457  === 6.1.1  AT+CFM command before DR-LWS007 software stack ===
458 458  
459 459  
... ... @@ -537,10 +537,10 @@
537 537  
538 538  (% style="color:blue" %)**AT Command: AT+CFS**
539 539  
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(((
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(((
544 544  OK
545 545  )))
546 546  
... ... @@ -687,7 +687,6 @@
687 687  
688 688  = 7. LoRaWAN network management =
689 689  
690 -
691 691  == 7.1 Adaptive Data Rate ==
692 692  
693 693  
... ... @@ -759,9 +759,14 @@
759 759  == 7.4 Data Rate ==
760 760  
761 761  
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
752 +Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) .
763 763  
754 +(% style="color:red" %)
755 +**Notice:**
764 764  
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 +
765 765  (% style="color:blue" %)**AT Command: AT+DR**
766 766  
767 767  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
... ... @@ -1097,7 +1097,7 @@
1097 1097  )))
1098 1098  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1099 1099  
1100 -(% style="color:blue" %)**Downlink Command: 0x24**
1095 +(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**
1101 1101  
1102 1102  Format: Command Code (0x24) followed by 1 bytes channel value.
1103 1103  
... ... @@ -1139,7 +1139,6 @@
1139 1139  (((
1140 1140  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.
1141 1141  
1142 -
1143 1143  
1144 1144  )))
1145 1145  
... ... @@ -1208,7 +1208,6 @@
1208 1208  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
1209 1209  * 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.
1210 1210  
1211 -
1212 1212  (% style="color:blue" %)**AT Command: AT+RPL**
1213 1213  
1214 1214  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
... ... @@ -1327,7 +1327,6 @@
1327 1327  
1328 1328  
1329 1329  
1330 -
1331 1331  == 7.27 Adjust network rejoining interval ==
1332 1332  
1333 1333  
... ... @@ -1336,13 +1336,13 @@
1336 1336  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1337 1337  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1338 1338  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1339 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1331 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30(((
1340 1340  OK
1341 1341  
1342 -the interval is 30000ms = 30s
1334 +the interval is 30 min
1343 1343  )))
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
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
1346 1346  )))
1347 1347  
1348 1348  (% style="color:blue" %)**Downlink Command: 0x26**
... ... @@ -1358,7 +1358,6 @@
1358 1358  
1359 1359  = 8. AT Commands Combination =
1360 1360  
1361 -
1362 1362  == 8.1 Set a fix RX2DR for downlink window ==
1363 1363  
1364 1364  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0