Last modified by Mengting Qiu on 2025/07/01 15:53

From version 81.1
edited by Mengting Qiu
on 2025/07/01 15:11
Change comment: There is no comment for this version
To version 65.1
edited by Mengting Qiu
on 2024/01/15 10:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,12 +18,10 @@
18 18  )))
19 19  
20 20  
21 -
22 -
23 23  = 2. How to use AT Commands or Downlink command =
24 24  
25 25  
26 -* **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 Products User Manual>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/]]**.
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/]]
27 27  
28 28  * **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:
29 29  ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
... ... @@ -227,11 +227,11 @@
227 227  (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
228 228  
229 229  (((
230 -Format: Command Code (0x26) followed by 1 byte.
228 +Downlink Format: 0x26
231 231  )))
232 232  
233 233  (((
234 -If the downlink payload=**2601, **Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes(  FPort= 5 usually).
232 +Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes
235 235  )))
236 236  
237 237  (((
... ... @@ -257,9 +257,9 @@
257 257  * 0x05: KZ865
258 258  * 0x06: RU864
259 259  * 0x07: AS923
260 -* 0x08: AS923-2
261 -* 0x09: AS923-3
262 -* 0xa0: AS923-4
258 +* 0x08: AS923-1
259 +* 0x09: AS923-2
260 +* 0xa0: AS923-3
263 263  
264 264  (((
265 265  
... ... @@ -291,50 +291,6 @@
291 291  
292 292  (% style="display:none" %) (%%)
293 293  
294 -== 4.6 Get or Set time synchronization method ==
295 -
296 -
297 -Feature: Set the system time synchronization.
298 -
299 -(% style="color:blue" %)**AT Command: AT+SYNCMOD**
300 -
301 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:727.222px" %)
302 -|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:329px" %)**Response**
303 -|(% style="width:165px" %)AT+SYNCMOD=?|(% style="width:227px" %)Show curren|(% style="width:329px" %)(((
304 -AT+SYNCMOD=?
305 -
306 -1,0
307 -
308 -(((
309 -OK
310 -)))
311 -)))
312 -|(% style="width:165px" %)AT+TDC=60000|(% style="width:227px" %)Set Transmit Interval|(% style="width:329px" %)OK(((
313 -Set transmit interval to 60000ms = 60 seconds
314 -)))
315 -
316 - AT+SYNCMOD=1,bb 
317 -
318 -* (((
319 -1: Set the system time synchronization
320 -)))
321 -
322 - bb:  Set local time (24 zones): -12~~12
323 -
324 -* (((
325 -Example: AT+SYNCMOD=1,8  ~/~/Set the time to UTC+8 time display.
326 -)))
327 -* (((
328 -Downlink payload:28 01 xx
329 -
330 -Example:  downlink 0x280108 ~-~-~-~-->AT+SYNCMOD=1,8
331 -)))
332 -
333 -Note: This command takes effect after the node is reset, or after downlink 0x2601(query device status).
334 -
335 -
336 -
337 -
338 338  = 5. Keys, IDs and EUIs management =
339 339  
340 340  == 5.1 Application EUI ==
... ... @@ -484,7 +484,7 @@
484 484  
485 485  (% style="color:blue" %)**Downlink Command: 0x05**
486 486  
487 -Format: Command Code (0x05) followed by 1 byte mode value.
441 +Format: Command Code (0x05) followed by 2 bytes mode value.
488 488  
489 489  If the downlink payload=0501, it means set end node to use confirm mode, while type code is 05.
490 490  
... ... @@ -531,7 +531,7 @@
531 531  
532 532  (% style="color:blue" %)**Downlink Command: 0x05**
533 533  
534 -Format: Command Code (0x05) followed by 3 bytes mode value.
488 +Format: Command Code (0x05) followed by 2 bytes mode value.
535 535  
536 536  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
537 537  
... ... @@ -972,7 +972,7 @@
972 972  == 7.14 Transmit Power ==
973 973  
974 974  
975 -Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dBm, 41 = 11dBm, …, 50 = 20dBm which is out of LoRaWAN spec. )
929 +Feature: Get or Set the Transmit Power(0-5, MAX:0, MIN:5, according to LoRaWAN Spec, or 40=10dB, 41 = 11dB, …, 50 = 20dB which is out of LoRaWAN spec. )
976 976  
977 977  (% style="color:red" %)**Notice: Transmit Power might be changed by ADR from LoRaWAN server. So manually change TXP also remember to set AT+ADR=0 in sensor**
978 978  
... ... @@ -1130,22 +1130,7 @@
1130 1130  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.
1131 1131  )))
1132 1132  
1133 -**Example:**
1134 -~1. Set AT+RX1WTO=0, AT+RX1DL=5000, the window opening time is: 53.699ms
1135 1135  
1136 -[[image:image-20240906095336-1.png||height="404" width="759"]]
1137 -
1138 -
1139 -2. Set AT+RX1WTO=128, AT+RX1DL=5000, the window opening time is: 149.644ms
1140 -
1141 -[[image:image-20240906095433-2.png||height="403" width="756"]]
1142 -
1143 -
1144 -3. Set AT+RX1WTO=128, AT+RX1DL=5000, the window opening time is: 298.221ms
1145 -
1146 -[[image:image-20240906095527-3.png||height="400" width="749"]]
1147 -
1148 -
1149 1149  == 7.21 Get or Set RXwindows2 timeout ==
1150 1150  
1151 1151  
... ... @@ -1161,22 +1161,8 @@
1161 1161  )))
1162 1162  |(% style="width:162px" %)AT+RX2WTO=20|(% style="width:192px" %)Set RXwindows2 timeout|(% style="width:90px" %)OK
1163 1163  
1164 -**Example:**
1165 -~1. Set AT+RX2WTO=0, AT+RX2DL=6000, the window opening time is: 48.435ms
1103 +(% style="display:none" %) (%%)
1166 1166  
1167 -(% style="display:none" %) (%%) [[image:image-20240906095619-4.png||height="375" width="703"]]
1168 -
1169 -
1170 -2. Set AT+RX2WTO=128, AT+RX2DL=6000, the window opening time is: 3011ms
1171 -
1172 -[[image:image-20240906095726-5.png||height="381" width="714"]]
1173 -
1174 -
1175 -3. Set AT+RX2WTO=255, AT+RX2DL=6000, the window opening time is: 3009ms
1176 -
1177 -[[image:image-20240906095811-6.png||height="380" width="711"]]
1178 -
1179 -
1180 1180  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1181 1181  
1182 1182  
... ... @@ -1346,16 +1346,14 @@
1346 1346  == 7.26 Request the server to send an ACK ==
1347 1347  
1348 1348  
1349 -Feature: Mode for sending data for which acknowledgment was not received. LoraWAN Network Server(eg. The Things NetWork/ChirpStack/AWS/...).
1350 -
1351 1351  (% style="color:blue" %)**AT Command: AT+PNACKMD**
1352 1352  
1353 1353  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:889px" %)
1354 1354  |(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:627px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response**
1355 -|(% style="width:160px" %)AT+PNACKMD=1|(% style="width:627px" %)If the node uploads the ACK as confirm, it will request the LoraWAN Network Server to send an ACK. If the LoraWAN Network Server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:100px" %)1(((
1278 +|(% style="width:160px" %)AT+PNACKMD=1|(% style="width:627px" %)If the node uploads the ACK as confirm, it will request the server to send an ACK. If the server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:100px" %)1(((
1356 1356  OK
1357 1357  )))
1358 -|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:627px" %)off request the LoraWAN Network Server to send an ACK|(% style="width:100px" %)(((
1281 +|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:627px" %)off request the server to send an ACK|(% style="width:100px" %)(((
1359 1359  0
1360 1360  OK
1361 1361  )))
image-20240906095336-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -111.0 KB
Content
image-20240906095433-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -113.2 KB
Content
image-20240906095527-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -111.6 KB
Content
image-20240906095619-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -112.4 KB
Content
image-20240906095726-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -114.0 KB
Content
image-20240906095811-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -112.8 KB
Content