<
From version < 50.11 >
edited by Xiaoling
on 2022/07/13 13:37
To version < 47.1 >
edited by Bei Jinggeng
on 2022/06/13 14:45
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -1,4 +1,4 @@
1 - **Table of** **Contents:**
1 + **Contents:**
2 2  
3 3  {{toc/}}
4 4  
... ... @@ -6,7 +6,6 @@
6 6  
7 7  = 1. Introduction =
8 8  
9 -
10 10  Dragino LoRaWAN End Node support two types of AT Commands and Downlink Commands:
11 11  
12 12  * **Common Commands:** They should be available for each sensor, such as: change uplink interval, reset device.
... ... @@ -19,7 +19,6 @@
19 19  
20 20  = 2. How to use AT Commands or Downlink command =
21 21  
22 -
23 23  * 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/]]
24 24  * 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:
25 25  ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]]
... ... @@ -26,10 +26,8 @@
26 26  ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]]
27 27  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
28 28  
29 -
30 30  = 3. Support End Node and firmware version =
31 31  
32 -
33 33  (% border="1" style="background-color:#ffffcc; color:green; width:966px" %)
34 34  |=(% colspan="3" style="width: 963px;" %)(((
35 35  Dragino STM32 base hardware Firmware / LoRaWAN stack list
... ... @@ -101,16 +101,16 @@
101 101  )))
102 102  )))
103 103  
104 -
105 105  = 4. System Management Commands =
106 106  
107 -
108 108  == 4.1 Change Uplink Interval ==
109 109  
110 -
111 111  Feature: Change LoRaWAN End Node Transmit Interval.
112 112  
113 -(% style="color:blue" %)**AT Command: AT+TDC**
106 +(% class="box infomessage" %)
107 +(((
108 +**AT Command: AT+TDC**
109 +)))
114 114  
115 115  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
116 116  |=(% colspan="3" style="width: 724px;" %)AT+TDC
... ... @@ -124,11 +124,11 @@
124 124  Set transmit interval to 60000ms = 60 seconds
125 125  )))
126 126  
127 -(((
128 -
123 +{{info}}
124 +**Downlink Command: 0x01**
125 +{{/info}}
129 129  
130 -(% style="color:blue" %)**Downlink Command: 0x01**
131 -
127 +(((
132 132  Format: Command Code (0x01) followed by 3 bytes time value.
133 133  )))
134 134  
... ... @@ -139,16 +139,14 @@
139 139  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
140 140  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
141 141  
142 -
143 143  == 4.2 Reboot End Node ==
144 144  
145 -
146 146  Feature: Reboot End Node to perform a new OTAA or ABP Join.
147 147  
142 +{{info}}
143 +**AT Command: ATZ**
144 +{{/info}}
148 148  
149 -(% style="color:blue" %)**AT Command: ATZ**
150 -
151 -
152 152  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
153 153  |=(% colspan="3" %)ATZ: Trig a reset of the MCU
154 154  |**Command Example**|**Function**|**Response**
... ... @@ -166,9 +166,10 @@
166 166  <followed by the Tx and Rx information>
167 167  )))
168 168  
169 -(% style="color:blue" %)**Downlink Command: 0x04**
163 +{{info}}
164 +**Downlink Command: 0x04**
165 +{{/info}}
170 170  
171 -
172 172  (((
173 173  Format: Command Code (0x04) followed by FF.
174 174  )))
... ... @@ -181,10 +181,11 @@
181 181  
182 182  == 4.3 Reset to factory Default ==
183 183  
184 -
185 185  Feature: Reset the parameters to Factory Default, factory default value depends on the firmware settings, the OTAA and ABP keys will reserve after this command.
186 186  
187 -(% style="color:blue" %)**AT Command: AT+FDR**
181 +{{info}}
182 +**AT Command: AT+FDR**
183 +{{/info}}
188 188  
189 189  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
190 190  |=(% colspan="3" style="width: 828px;" %)Reset to factory default
... ... @@ -203,9 +203,10 @@
203 203  Please set the parameters or reset Device to apply change
204 204  )))
205 205  
206 -(% style="color:blue" %)**Downlink Command: 0x04**
202 +{{info}}
203 +**Downlink Command: 0x04**
204 +{{/info}}
207 207  
208 -
209 209  (((
210 210  Format: Command Code (0x04) followed by FE.
211 211  )))
... ... @@ -219,10 +219,10 @@
219 219  
220 220  Feature: Show firmware version. No downlink command yet.
221 221  
219 +{{info}}
220 +**AT Command: AT+VER**
221 +{{/info}}
222 222  
223 -(% style="color:blue" %)**AT Command: AT+VER**
224 -
225 -
226 226  (% border="1" style="background-color:#ffffcc; color:green; width:586px" %)
227 227  |=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band
228 228  |(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -232,9 +232,10 @@
232 232  OK
233 233  )))
234 234  
235 -(% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
232 +{{info}}
233 +**Downlink Command: 0x26 (Valid in 006 stack)**
234 +{{/info}}
236 236  
237 -
238 238  (((
239 239  Downlink Format: 0x26
240 240  )))
... ... @@ -277,10 +277,10 @@
277 277  
278 278  Feature: Show All configure. No downlink command yet.
279 279  
278 +{{info}}
279 +**AT Command: AT+CFG**
280 +{{/info}}
280 280  
281 -(% style="color:blue" %)**AT Command: AT+CFG**
282 -
283 -
284 284  (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %)
285 285  |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations
286 286  |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response**
... ... @@ -304,10 +304,10 @@
304 304  
305 305  Feature: Get or Set the Application EUI.
306 306  
305 +{{info}}
306 +**AT Command: AT+APPEUI**
307 +{{/info}}
307 307  
308 -(% style="color:blue" %)**AT Command: AT+APPEUI**
309 -
310 -
311 311  (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %)
312 312  |=(% colspan="3" style="width: 683px;" %)AT+APPEUI
313 313  |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response**
... ... @@ -320,10 +320,10 @@
320 320  
321 321  Feature: Get or Set the Application Key.
322 322  
321 +{{info}}
322 +**AT Command: AT+APPKEY**
323 +{{/info}}
323 323  
324 -(% style="color:blue" %)**AT Command: AT+APPKEY**
325 -
326 -
327 327  (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %)
328 328  |=(% colspan="3" style="width: 973px;" %)AT+APPKEY
329 329  |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response**
... ... @@ -336,10 +336,10 @@
336 336  
337 337  Feature: Get or Set the Application Session Key.
338 338  
337 +{{info}}
338 +**AT Command: AT+APPSKEY**
339 +{{/info}}
339 339  
340 -(% style="color:blue" %)**AT Command: AT+APPSKEY**
341 -
342 -
343 343  (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %)
344 344  |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY
345 345  |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response**
... ... @@ -354,10 +354,10 @@
354 354  
355 355  Feature: Get or Set the Device Address.
356 356  
355 +{{info}}
356 +**AT Command: AT+DADDR**
357 +{{/info}}
357 357  
358 -(% style="color:blue" %)**AT Command: AT+DADDR**
359 -
360 -
361 361  (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %)
362 362  |=(% colspan="3" style="width: 792px;" %)AT+DADDR
363 363  |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response**
... ... @@ -372,10 +372,10 @@
372 372  
373 373  Feature: Get or Set the Device EUI.
374 374  
373 +{{info}}
374 +**AT Command: AT+DEUI**
375 +{{/info}}
375 375  
376 -(% style="color:blue" %)**AT Command: AT+DEUI**
377 -
378 -
379 379  (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %)
380 380  |=(% colspan="3" style="width: 1032px;" %)AT+DEUI
381 381  |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response**
... ... @@ -390,10 +390,10 @@
390 390  
391 391  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
392 392  
391 +{{info}}
392 +**AT Command: AT+NWKID**
393 +{{/info}}
393 393  
394 -(% style="color:blue" %)**AT Command: AT+NWKID**
395 -
396 -
397 397  (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %)
398 398  |=(% colspan="3" style="width: 445px;" %)AT+NWKID
399 399  |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response**
... ... @@ -406,10 +406,10 @@
406 406  
407 407  Feature: Get or Set the Network Session Key
408 408  
407 +{{info}}
408 +**AT Command: AT+NWKSKEY**
409 +{{/info}}
409 409  
410 -(% style="color:blue" %)**AT Command: AT+NWKSKEY**
411 -
412 -
413 413  (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %)
414 414  |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY
415 415  |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response**
... ... @@ -426,10 +426,10 @@
426 426  
427 427  Feature: Get or Set the confirmation mode (0-1).
428 428  
427 +{{info}}
428 +**AT Command: AT+CFM**
429 +{{/info}}
429 429  
430 -(% style="color:blue" %)**AT Command: AT+CFM**
431 -
432 -
433 433  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
434 434  |=(% colspan="3" style="width: 707px;" %)AT+CFM
435 435  |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response**
... ... @@ -439,7 +439,7 @@
439 439  |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK
440 440  |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR
441 441  
442 -(% style="color:blue" %)**Downlink Command: 0x05**
440 +Downlink Command: 0x05
443 443  
444 444  Format: Command Code (0x05) followed by 2 bytes mode value.
445 445  
... ... @@ -450,10 +450,10 @@
450 450  
451 451  === AT+CFM command since DR-LWS007 software stack ===
452 452  
451 +{{info}}
452 +**AT Command: AT+CFM**
453 +{{/info}}
453 453  
454 -(% style="color:blue" %)**AT Command: AT+CFM**
455 -
456 -
457 457  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
458 458  |=(% colspan="3" style="width: 707px;" %)AT+CFM
459 459  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -485,9 +485,10 @@
485 485  OK
486 486  )))
487 487  
488 -(% style="color:blue" %)**Downlink Command: 0x05**
486 +{{info}}
487 +**Downlink Command: 0x05**
488 +{{/info}}
489 489  
490 -
491 491  Format: Command Code (0x05) followed by 2 bytes mode value.
492 492  
493 493  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
... ... @@ -499,10 +499,10 @@
499 499  
500 500  Feature: Get confirmation status of the last AT+SEND (0-1).
501 501  
501 +{{info}}
502 +**AT Command: AT+CFS**
503 +{{/info}}
502 502  
503 -(% style="color:blue" %)**AT Command: AT+CFS**
504 -
505 -
506 506  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
507 507  |=(% colspan="3" style="width: 531px;" %)AT+CFS
508 508  |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
... ... @@ -514,10 +514,10 @@
514 514  
515 515  Feature: Join network.
516 516  
516 +{{info}}
517 +**AT Command: AT+JOIN**
518 +{{/info}}
517 517  
518 -(% style="color:blue" %)**AT Command: AT+JOIN**
519 -
520 -
521 521  (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %)
522 522  |=(% colspan="3" style="width: 644px;" %)AT+JOIN
523 523  |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response**
... ... @@ -531,10 +531,10 @@
531 531  
532 532  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
533 533  
533 +{{info}}
534 +**AT Command: AT+NJM**
535 +{{/info}}
534 534  
535 -(% style="color:blue" %)**AT Command: AT+NJM**
536 -
537 -
538 538  (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %)
539 539  |=(% colspan="3" style="width: 750px;" %)AT+NJM
540 540  |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response**
... ... @@ -544,14 +544,15 @@
544 544  |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK
545 545  |(% style="width:162px" %)AT+NJM=2|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)While Error in format, return AT_PARAM_ERROR
546 546  
547 -(% style="color:blue" %)**Downlink Command: 0x20**
546 +{{info}}
547 +**Downlink Command: 0x20**
548 +{{/info}}
548 548  
549 -
550 550  Format: Command Code (0x20) followed by 1 bytes mode value.
551 551  
552 552  If the downlink payload=2000, it means set the Network Join Mode, while type code is 20.
553 553  
554 -* **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
554 +* **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
555 555  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
556 556  
557 557  == 6.5 LoRa® Network Join Status ==
... ... @@ -558,10 +558,10 @@
558 558  
559 559  Feature: LoRa® Network Join Status.
560 560  
561 +{{info}}
562 +**AT Command: AT+NJS**
563 +{{/info}}
561 561  
562 -(% style="color:blue" %)**AT Command: AT+NJS**
563 -
564 -
565 565  (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %)
566 566  |=(% colspan="3" style="width: 495px;" %)AT+NJS
567 567  |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response**
... ... @@ -573,10 +573,10 @@
573 573  
574 574  Feature: Print Last Received Data in Raw Format<port:data>.
575 575  
576 +{{info}}
577 +**AT Command: AT+RECV**
578 +{{/info}}
576 576  
577 -(% style="color:blue" %)**AT Command: AT+RECV**
578 -
579 -
580 580  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
581 581  |=(% colspan="3" style="width: 584px;" %)AT+RECV
582 582  |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -588,10 +588,10 @@
588 588  
589 589  Feature: Print Last Received Data in Binary Format<port:data>.
590 590  
591 +{{info}}
592 +**AT Command: AT+RECVB**
593 +{{/info}}
591 591  
592 -(% style="color:blue" %)**AT Command: AT+RECVB**
593 -
594 -
595 595  (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %)
596 596  |=(% colspan="3" style="width: 790px;" %)AT+RECVB
597 597  |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response**
... ... @@ -603,10 +603,10 @@
603 603  
604 604  Feature: Send Text Data<port:data>.
605 605  
606 +{{info}}
607 +**AT Command: AT+SEND**
608 +{{/info}}
606 606  
607 -(% style="color:blue" %)**AT Command: AT+SEND**
608 -
609 -
610 610  (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %)
611 611  |=(% colspan="3" style="width: 988px;" %)AT+SEND
612 612  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
... ... @@ -622,10 +622,10 @@
622 622  
623 623  Feature: Send hexadecimal data along with the application port.
624 624  
625 +{{info}}
626 +**AT Command: AT+SENDB**
627 +{{/info}}
625 625  
626 -(% style="color:blue" %)**AT Command: AT+SENDB**
627 -
628 -
629 629  (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %)
630 630  |=(% colspan="3" style="width: 1117px;" %)AT+SENDB
631 631  |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response**
... ... @@ -642,10 +642,10 @@
642 642  
643 643  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
644 644  
645 +{{info}}
646 +**AT Command: AT+ADR**
647 +{{/info}}
645 645  
646 -(% style="color:blue" %)**AT Command: AT+ADR**
647 -
648 -
649 649  (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %)
650 650  |=(% colspan="3" style="width: 680px;" %)AT+ADR
651 651  |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**
... ... @@ -657,10 +657,11 @@
657 657  AT_PARAM_ERROR
658 658  )))
659 659  
660 -(% style="color:blue" %)**Downlink Command: 0x22**
660 +{{info}}
661 +**Downlink Command: 0x22**
662 +{{/info}}
661 661  
662 662  
663 -
664 664  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
665 665  
666 666  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
... ... @@ -670,10 +670,10 @@
670 670  
671 671  Feature: Get or Set the Device Class(Currently only support class A, class C).
672 672  
674 +{{info}}
675 +**AT Command:AT+CLASS**
676 +{{/info}}
673 673  
674 -(% style="color:blue" %)**AT Command:AT+CLASS**
675 -
676 -
677 677  (% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %)
678 678  |=(% colspan="3" style="width: 504px;" %)AT+CLASS
679 679  |(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response**
... ... @@ -688,10 +688,10 @@
688 688  
689 689  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
690 690  
692 +{{info}}
693 +**AT Command:AT+DCS**
694 +{{/info}}
691 691  
692 -(% style="color:blue" %)**AT Command:AT+DCS**
693 -
694 -
695 695  (% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %)
696 696  |=(% colspan="3" style="width: 512px;" %)AT+DCS
697 697  |(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response**
... ... @@ -706,10 +706,10 @@
706 706  
707 707  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
708 708  
710 +{{info}}
711 +**AT Command: AT+DR**
712 +{{/info}}
709 709  
710 -(% style="color:blue" %)**AT Command: AT+DR**
711 -
712 -
713 713  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
714 714  |=(% colspan="3" style="width: 463px;" %)AT+DR
715 715  |(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -720,10 +720,11 @@
720 720  
721 721  )))
722 722  
723 -(% style="color:blue" %)**Downlink Command: 0x2200aaFF**
724 +{{info}}
725 +**Downlink Command: 0x2200aaFF**
726 +{{/info}}
724 724  
725 725  
726 -
727 727  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
728 728  
729 729  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
... ... @@ -733,10 +733,10 @@
733 733  
734 734  Feature: Get or Set the Frame Counter Downlink.
735 735  
738 +{{info}}
739 +**AT Command:AT+FCD**
740 +{{/info}}
736 736  
737 -(% style="color:blue" %)**AT Command:AT+FCD**
738 -
739 -
740 740  (% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %)
741 741  |=(% colspan="3" style="width: 690px;" %)AT+FCD
742 742  |(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response**
... ... @@ -753,10 +753,10 @@
753 753  
754 754  Feature: Get or Set the Frame Counter Uplink.
755 755  
758 +{{info}}
759 +**AT Command:AT+FCU**
760 +{{/info}}
756 756  
757 -(% style="color:blue" %)**AT Command:AT+FCU**
758 -
759 -
760 760  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
761 761  |=(% colspan="3" style="width: 531px;" %)AT+FCU
762 762  |(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -771,10 +771,10 @@
771 771  
772 772  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
773 773  
776 +{{info}}
777 +**AT Command:AT+JN1DL**
778 +{{/info}}
774 774  
775 -(% style="color:blue" %)**AT Command:AT+JN1DL**
776 -
777 -
778 778  (% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %)
779 779  |=(% colspan="3" style="width: 534px;" %)AT+JN1DL
780 780  |(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -789,10 +789,10 @@
789 789  
790 790  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
791 791  
794 +{{info}}
795 +**AT Command:AT+JN2DL**
796 +{{/info}}
792 792  
793 -(% style="color:blue" %)**AT Command:AT+JN2DL**
794 -
795 -
796 796  (% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %)
797 797  |=(% colspan="3" style="width: 535px;" %)AT+JN2DL
798 798  |(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response**
... ... @@ -805,14 +805,12 @@
805 805  
806 806  == 7.9 Public Network Mode ==
807 807  
808 -Feature: Get or Set the public network mode. (0: off, 1: on). A Public LoRaWAN network use 0x34 as syncword. Default Settings; PNM=1
810 +Feature: Get or Set the public network mode. (0: off, 1: on)
809 809  
810 -Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
812 +{{info}}
813 +**AT Command:AT+PNM**
814 +{{/info}}
811 811  
812 -
813 -(% style="color:blue" %)**AT Command:AT+PNM**
814 -
815 -
816 816  (% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %)
817 817  |=(% colspan="3" style="width: 664px;" %)AT+PNM
818 818  |(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response**
... ... @@ -819,25 +819,20 @@
819 819  |(% style="width:166px" %)AT+PNM=?|(% style="width:225px" %)Get the public network mode.|(% style="width:272px" %)1(((
820 820  OK
821 821  )))
822 -|(% style="width:166px" %)AT+PNM=1|(% style="width:225px" %)(((
823 -Set the public network mode.
824 -
825 -Set syncword=0x34
826 -)))|(% style="width:272px" %)(System will write new value to PNM)(((
822 +|(% style="width:166px" %)AT+PNM=1|(% style="width:225px" %)Set the public network mode.|(% style="width:272px" %)(System will write new value to PNM)(((
827 827  OK
828 828  
829 829  
830 830  )))
831 -|(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
832 832  
833 833  == 7.10 Receive Delay1 ==
834 834  
835 835  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
836 836  
832 +{{info}}
833 +**AT Command:AT+RX1DL**
834 +{{/info}}
837 837  
838 -(% style="color:blue" %)**AT Command:AT+RX1DL**
839 -
840 -
841 841  (% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %)
842 842  |=(% colspan="3" style="width: 405px;" %)AT+RX1DL
843 843  |(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -852,10 +852,10 @@
852 852  
853 853  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
854 854  
850 +{{info}}
851 +**AT Command:AT+RX2DL**
852 +{{/info}}
855 855  
856 -(% style="color:blue" %)**AT Command:AT+RX2DL**
857 -
858 -
859 859  (% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %)
860 860  |=(% colspan="3" style="width: 478px;" %)AT+RX2DL
861 861  |(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -870,10 +870,10 @@
870 870  
871 871  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
872 872  
868 +{{info}}
869 +**AT Command:AT+RX2DR**
870 +{{/info}}
873 873  
874 -(% style="color:blue" %)**AT Command:AT+RX2DR**
875 -
876 -
877 877  (% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %)
878 878  |=(% colspan="3" style="width: 522px;" %)AT+RX2DR
879 879  |(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response**
... ... @@ -888,10 +888,10 @@
888 888  
889 889  Feature: Get or Set the Rx2 window frequency
890 890  
886 +{{info}}
887 +**AT Command:AT+RX2FQ**
888 +{{/info}}
891 891  
892 -(% style="color:blue" %)**AT Command:AT+RX2FQ**
893 -
894 -
895 895  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
896 896  |=(% colspan="3" style="width: 584px;" %)AT+RX2FQ
897 897  |(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response**
... ... @@ -906,10 +906,10 @@
906 906  
907 907  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. )
908 908  
904 +{{info}}
905 +**AT Command:AT+TXP**
906 +{{/info}}
909 909  
910 -(% style="color:blue" %)**AT Command:AT+TXP**
911 -
912 -
913 913  (% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %)
914 914  |=(% colspan="3" style="width: 462px;" %)AT+TXP
915 915  |(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response**
... ... @@ -931,10 +931,10 @@
931 931  
932 932  Feature: Get or Set the Rx2 window frequency
933 933  
929 +{{info}}
930 +**AT Command:AT+RSSI**
931 +{{/info}}
934 934  
935 -(% style="color:blue" %)**AT Command:AT+RSSI**
936 -
937 -
938 938  (% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %)
939 939  |=(% colspan="3" style="width: 554px;" %)AT+RSSI
940 940  |(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response**
... ... @@ -946,10 +946,10 @@
946 946  
947 947  Feature: Get the SNR of the last received packet
948 948  
944 +{{info}}
945 +**AT Command:AT+SNR**
946 +{{/info}}
949 949  
950 -(% style="color:blue" %)**AT Command:AT+SNR**
951 -
952 -
953 953  (% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %)
954 954  |=(% colspan="3" style="width: 568px;" %)AT+SNR
955 955  |(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -961,10 +961,10 @@
961 961  
962 962  Feature: Get or set the application port.
963 963  
959 +{{info}}
960 +**AT Command: AT+PORT**
961 +{{/info}}
964 964  
965 -(% style="color:blue" %)**AT Command: AT+PORT**
966 -
967 -
968 968  (% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %)
969 969  |=(% colspan="3" style="width: 497px;" %)AT+PORT
970 970  |(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response**
... ... @@ -973,9 +973,10 @@
973 973  )))
974 974  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
975 975  
976 -(% style="color:blue" %)**Downlink Command: 0x23**
971 +{{info}}
972 +**Downlink Command: 0x23**
973 +{{/info}}
977 977  
978 -
979 979  Format: Command Code (0x23) followed by 1 bytes port value.
980 980  
981 981  If the downlink payload=2301, it means set the application port to 1, while type code is 23.
... ... @@ -987,10 +987,10 @@
987 987  
988 988  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
989 989  
986 +{{info}}
987 +**AT Command: AT+CHS**
988 +{{/info}}
990 990  
991 -(% style="color:blue" %)**AT Command: AT+CHS**
992 -
993 -
994 994  (% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %)
995 995  |=(% colspan="3" style="width: 600px;" %)AT+CHS
996 996  |(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -1003,10 +1003,10 @@
1003 1003  
1004 1004  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
1005 1005  
1002 +{{info}}
1003 +**AT Command: AT+CHE**
1004 +{{/info}}
1006 1006  
1007 -(% style="color:blue" %)**AT Command: AT+CHE**
1008 -
1009 -
1010 1010  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1011 1011  |=(% colspan="3" style="width: 707px;" %)AT+CHE
1012 1012  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1017,9 +1017,10 @@
1017 1017  )))
1018 1018  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1019 1019  
1020 -(% style="color:blue" %)**Downlink Command: 0x24**
1016 +{{info}}
1017 +**Downlink Command: 0x24**
1018 +{{/info}}
1021 1021  
1022 -
1023 1023  Format: Command Code (0x24) followed by 1 bytes channel value.
1024 1024  
1025 1025  If the downlink payload=2401, it means set channel mode to 1, while type code is 24.
... ... @@ -1031,10 +1031,10 @@
1031 1031  
1032 1032  Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
1033 1033  
1031 +{{info}}
1032 +**AT Command: AT+RX1WTO**
1033 +{{/info}}
1034 1034  
1035 -(% style="color:blue" %)**AT Command: AT+RX1WTO**
1036 -
1037 -
1038 1038  (% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %)
1039 1039  |=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO
1040 1040  |(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response**
... ... @@ -1059,10 +1059,10 @@
1059 1059  
1060 1060  Feature:Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255).
1061 1061  
1059 +{{info}}
1060 +**AT Command: AT+RX2WTO**
1061 +{{/info}}
1062 1062  
1063 -(% style="color:blue" %)**AT Command: AT+RX2WTO**
1064 -
1065 -
1066 1066  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1067 1067  |=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO
1068 1068  |(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response**
... ... @@ -1075,10 +1075,10 @@
1075 1075  
1076 1076  Feature: Get or Set uplinkdwelltime
1077 1077  
1075 +{{info}}
1076 +**AT Command: AT+DWELLT**
1077 +{{/info}}
1078 1078  
1079 -(% style="color:blue" %)**AT Command: AT+DWELLT**
1080 -
1081 -
1082 1082  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1083 1083  |=(% colspan="3" style="width: 494px;" %)AT+DWELLT
1084 1084  |(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response**
... ... @@ -1087,9 +1087,10 @@
1087 1087  )))
1088 1088  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1089 1089  
1090 -(% style="color:blue" %)**Downlink Command: 0x25**
1087 +{{info}}
1088 +**Downlink Command: 0x25**
1089 +{{/info}}
1091 1091  
1092 -
1093 1093  Format: Command Code (0x25) followed by 1 bytes state value.
1094 1094  
1095 1095  If the downlink payload=2501, it means set uplinkdwelltime to 1, while type code is 25.
... ... @@ -1115,9 +1115,10 @@
1115 1115  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
1116 1116  * 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.
1117 1117  
1118 -(% style="color:blue" %)**AT Command: AT+RPL**
1116 +{{info}}
1117 +**AT Command: AT+RPL**
1118 +{{/info}}
1119 1119  
1120 -
1121 1121  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1122 1122  |=(% colspan="3" style="width: 533px;" %)AT+RPL
1123 1123  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1126,9 +1126,10 @@
1126 1126  )))
1127 1127  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1128 1128  
1129 -(% style="color:blue" %)**Downlink Command: 0x21**
1128 +{{info}}
1129 +**Downlink Command: 0x21**
1130 +{{/info}}
1130 1130  
1131 -
1132 1132  Format: Command Code (0x21) followed by 1 bytes level value.
1133 1133  
1134 1134  If the downlink payload=2101, it means set packet receiving response level to 1, while type code is 21.
... ... @@ -1138,10 +1138,10 @@
1138 1138  
1139 1139  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1140 1140  
1141 +{{info}}
1142 +**AT Command: AT+SETMAXNBTRANS **
1143 +{{/info}}
1141 1141  
1142 -(% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS **
1143 -
1144 -
1145 1145  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1146 1146  |=(% colspan="3" style="width: 533px;" %)AT+**SETMAXNBTRANS**
1147 1147  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1154,9 +1154,10 @@
1154 1154  OK
1155 1155  )))
1156 1156  
1157 -(% style="color:blue" %)**Downlink Command: 0x33**
1157 +{{info}}
1158 +**Downlink Command: 0x33**
1159 +{{/info}}
1158 1158  
1159 -
1160 1160  Format: Command Code (0x33) followed by 2 bytes mode value.
1161 1161  
1162 1162  If the downlink payload=330100, it means set end node to use confirm mode, while type code is 33.
... ... @@ -1166,10 +1166,10 @@
1166 1166  
1167 1167  == 7.25 Device offline rejoining (LWS007) ==
1168 1168  
1170 +{{info}}
1171 +**AT Command: AT+DDETECT**
1172 +{{/info}}
1169 1169  
1170 -(% style="color:blue" %)**AT Command: AT+DDETECT**
1171 -
1172 -
1173 1173  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1174 1174  |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT**
1175 1175  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1201,9 +1201,10 @@
1201 1201  OK
1202 1202  )))
1203 1203  
1204 -(% style="color:blue" %)**Downlink Command: 0x33**
1205 +{{info}}
1206 +**Downlink Command: 0x33**
1207 +{{/info}}
1205 1205  
1206 -
1207 1207  Format: Command Code (0x32) followed by 2 bytes mode value.
1208 1208  
1209 1209  If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 33.
... ... @@ -1212,10 +1212,10 @@
1212 1212  
1213 1213  == 7.26 Request the server to send an ACK ==
1214 1214  
1217 +{{info}}
1218 +**AT Command: AT+PNACKMD**
1219 +{{/info}}
1215 1215  
1216 -(% style="color:blue" %)**AT Command: AT+PNACKMD**
1217 -
1218 -
1219 1219  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1220 1220  |=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD**
1221 1221  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1228,12 +1228,13 @@
1228 1228  OK
1229 1229  )))
1230 1230  
1233 +(% class="wikigeneratedid" %)
1231 1231  == 7.27 Adjust network rejoining interval ==
1232 1232  
1236 +{{info}}
1237 +**AT Command: AT+RJTDC**
1238 +{{/info}}
1233 1233  
1234 -(% style="color:blue" %)**AT Command: AT+RJTDC**
1235 -
1236 -
1237 1237  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1238 1238  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1239 1239  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
... ... @@ -1246,9 +1246,10 @@
1246 1246  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1247 1247  )))
1248 1248  
1249 -(% style="color:blue" %)**Downlink Command: 0x26**
1252 +{{info}}
1253 +**Downlink Command: 0x26**
1254 +{{/info}}
1250 1250  
1251 -
1252 1252  Format: Command Code (0x26) followed by 2 bytes mode value.
1253 1253  
1254 1254  If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26.
... ... @@ -1256,6 +1256,7 @@
1256 1256  * Example 1: Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10
1257 1257  * Example 2: Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2
1258 1258  
1263 +
1259 1259  = 8. AT Commands Combination =
1260 1260  
1261 1261  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1265,12 +1265,13 @@
1265 1265  
1266 1266  == 8.2 Use Downlink Command to set a fix uplink DR ==
1267 1267  
1273 +{{info}}
1274 +**Downlink Command: 0x22000500**
1275 +{{/info}}
1268 1268  
1269 -(% style="color:blue" %)**Downlink Command: 0x22000500**
1270 -
1271 -
1272 1272  Same as:
1273 1273  
1274 1274  * AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1275 1275  * AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1276 1276  * AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1282 +~)~)~)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0