<
From version < 58.1 >
edited by Bei Jinggeng
on 2022/12/02 10:28
To version < 60.3 >
edited by Xiaoling
on 2023/03/27 13:52
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -14,11 +14,9 @@
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 -
19 -
20 20  )))
21 21  
19 +
22 22  = 2. How to use AT Commands or Downlink command =
23 23  
24 24  
... ... @@ -28,6 +28,8 @@
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  
29 +(% style="display:none" %) (%%)
30 +
31 31  = 3. Support End Node and firmware version =
32 32  
33 33  
... ... @@ -173,7 +173,6 @@
173 173  (((
174 174  If the downlink payload=**04FF**, the end node will reboot.
175 175  
176 -
177 177  
178 178  )))
179 179  
... ... @@ -213,7 +213,6 @@
213 213  )))
214 214  
215 215  
216 -
217 217  == 4.4 Show Firmware Version ==
218 218  
219 219  
... ... @@ -244,7 +244,6 @@
244 244  (((
245 245  
246 246  
247 -
248 248  **xx: Software Type:**
249 249  )))
250 250  
... ... @@ -278,7 +278,6 @@
278 278  firmware version: v1.1.0 ~-~-> 110
279 279  
280 280  
281 -
282 282  == 4.5 Show System Configure ==
283 283  
284 284  
... ... @@ -507,10 +507,10 @@
507 507  
508 508  (% style="color:blue" %)**AT Command: AT+CFS**
509 509  
510 -(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
511 -|=(% colspan="3" style="width: 531px;" %)AT+CFS
512 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
513 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:178px" %)0(((
506 +(% border="1" style="background-color:#ffffcc; color:green; width:463px" %)
507 +|=(% colspan="3" style="width: 460px;" %)AT+CFS
508 +|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:107px" %)**Response**
509 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0(((
514 514  OK
515 515  )))
516 516  
... ... @@ -1059,7 +1059,6 @@
1059 1059  (((
1060 1060  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.
1061 1061  
1062 -
1063 1063  
1064 1064  )))
1065 1065  
... ... @@ -1178,6 +1178,11 @@
1178 1178  
1179 1179  (% style="color:blue" %)**AT Command: AT+DDETECT**
1180 1180  
1176 +AT+DDETECT=<Flag>,<ACK_Timout_1>,<ACK_Timout_2> (Default Value: AT+DDETECT=1,1440,2880)
1177 +
1178 +* ACK_Timout_1: Unit: min
1179 +* ACK_Timout_2: Unit: min
1180 +
1181 1181  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1182 1182  |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT**
1183 1183  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1209,13 +1209,17 @@
1209 1209  OK
1210 1210  )))
1211 1211  
1212 -(% style="color:blue" %)**Downlink Command: 0x33**
1212 +(% style="color:blue" %)**Downlink Command: 0x32**
1213 1213  
1214 1214  Format: Command Code (0x32) followed by 2 bytes mode value.
1215 1215  
1216 -If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 33.
1216 +If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 32.
1217 1217  
1218 -* **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1218 +* **Example 1:** Downlink Payload: 320105A00B40  ~/~/ Set AT+DDETECT=1,1440,2880
1219 +** 0x01 : Flag
1220 +** 0x05A0: ACK_Timout_1 : 1440minutes (24 hours)
1221 +** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours)
1222 +** **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join.
1219 1219  
1220 1220  == 7.26 Request the server to send an ACK ==
1221 1221  
... ... @@ -1242,13 +1242,13 @@
1242 1242  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1243 1243  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1244 1244  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1245 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1249 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30(((
1246 1246  OK
1247 1247  
1248 -the interval is 30000ms = 30s
1252 +the interval is 30 min
1249 1249  )))
1250 -|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1251 -Set the ReJoin data transmission interval to 60000ms = 60 seconds
1254 +|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1255 +Set the ReJoin data transmission interval to 60 min
1252 1252  )))
1253 1253  
1254 1254  (% style="color:blue" %)**Downlink Command: 0x26**
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0