<
From version < 50.6 >
edited by Xiaoling
on 2022/07/13 12:01
To version < 46.1 >
edited by Edwin Chen
on 2022/06/10 20:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
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,11 +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 -
31 31  = 3. Support End Node and firmware version =
32 32  
33 -
34 34  (% border="1" style="background-color:#ffffcc; color:green; width:966px" %)
35 35  |=(% colspan="3" style="width: 963px;" %)(((
36 36  Dragino STM32 base hardware Firmware / LoRaWAN stack list
... ... @@ -102,17 +102,16 @@
102 102  )))
103 103  )))
104 104  
105 -
106 -
107 107  = 4. System Management Commands =
108 108  
109 -
110 110  == 4.1 Change Uplink Interval ==
111 111  
112 -
113 113  Feature: Change LoRaWAN End Node Transmit Interval.
114 114  
115 -(% style="color:blue" %)**AT Command: AT+TDC**
106 +(% class="box infomessage" %)
107 +(((
108 +**AT Command: AT+TDC**
109 +)))
116 116  
117 117  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
118 118  |=(% colspan="3" style="width: 724px;" %)AT+TDC
... ... @@ -126,11 +126,11 @@
126 126  Set transmit interval to 60000ms = 60 seconds
127 127  )))
128 128  
129 -(((
130 -
123 +{{info}}
124 +**Downlink Command: 0x01**
125 +{{/info}}
131 131  
132 -(% style="color:blue" %)**Downlink Command: 0x01**
133 -
127 +(((
134 134  Format: Command Code (0x01) followed by 3 bytes time value.
135 135  )))
136 136  
... ... @@ -141,17 +141,14 @@
141 141  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
142 142  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
143 143  
144 -
145 -
146 146  == 4.2 Reboot End Node ==
147 147  
148 -
149 149  Feature: Reboot End Node to perform a new OTAA or ABP Join.
150 150  
142 +{{info}}
143 +**AT Command: ATZ**
144 +{{/info}}
151 151  
152 -(% style="color:blue" %)**AT Command: ATZ**
153 -
154 -
155 155  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
156 156  |=(% colspan="3" %)ATZ: Trig a reset of the MCU
157 157  |**Command Example**|**Function**|**Response**
... ... @@ -169,10 +169,10 @@
169 169  <followed by the Tx and Rx information>
170 170  )))
171 171  
163 +{{info}}
164 +**Downlink Command: 0x04**
165 +{{/info}}
172 172  
173 -(% style="color:blue" %)**Downlink Command: 0x04**
174 -
175 -
176 176  (((
177 177  Format: Command Code (0x04) followed by FF.
178 178  )))
... ... @@ -185,10 +185,11 @@
185 185  
186 186  == 4.3 Reset to factory Default ==
187 187  
188 -
189 189  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.
190 190  
191 -(% style="color:blue" %)**AT Command: AT+FDR**
181 +{{info}}
182 +**AT Command: AT+FDR**
183 +{{/info}}
192 192  
193 193  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
194 194  |=(% colspan="3" style="width: 828px;" %)Reset to factory default
... ... @@ -207,10 +207,10 @@
207 207  Please set the parameters or reset Device to apply change
208 208  )))
209 209  
202 +{{info}}
203 +**Downlink Command: 0x04**
204 +{{/info}}
210 210  
211 -(% style="color:blue" %)**Downlink Command: 0x04**
212 -
213 -
214 214  (((
215 215  Format: Command Code (0x04) followed by FE.
216 216  )))
... ... @@ -224,10 +224,10 @@
224 224  
225 225  Feature: Show firmware version. No downlink command yet.
226 226  
219 +{{info}}
220 +**AT Command: AT+VER**
221 +{{/info}}
227 227  
228 -(% style="color:blue" %)**AT Command: AT+VER**
229 -
230 -
231 231  (% border="1" style="background-color:#ffffcc; color:green; width:586px" %)
232 232  |=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band
233 233  |(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -237,10 +237,10 @@
237 237  OK
238 238  )))
239 239  
232 +{{info}}
233 +**Downlink Command: 0x26 (Valid in 006 stack)**
234 +{{/info}}
240 240  
241 -(% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
242 -
243 -
244 244  (((
245 245  Downlink Format: 0x26
246 246  )))
... ... @@ -283,10 +283,10 @@
283 283  
284 284  Feature: Show All configure. No downlink command yet.
285 285  
278 +{{info}}
279 +**AT Command: AT+CFG**
280 +{{/info}}
286 286  
287 -(% style="color:blue" %)**AT Command: AT+CFG**
288 -
289 -
290 290  (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %)
291 291  |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations
292 292  |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response**
... ... @@ -310,10 +310,10 @@
310 310  
311 311  Feature: Get or Set the Application EUI.
312 312  
305 +{{info}}
306 +**AT Command: AT+APPEUI**
307 +{{/info}}
313 313  
314 -(% style="color:blue" %)**AT Command: AT+APPEUI**
315 -
316 -
317 317  (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %)
318 318  |=(% colspan="3" style="width: 683px;" %)AT+APPEUI
319 319  |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response**
... ... @@ -326,10 +326,10 @@
326 326  
327 327  Feature: Get or Set the Application Key.
328 328  
321 +{{info}}
322 +**AT Command: AT+APPKEY**
323 +{{/info}}
329 329  
330 -(% style="color:blue" %)**AT Command: AT+APPKEY**
331 -
332 -
333 333  (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %)
334 334  |=(% colspan="3" style="width: 973px;" %)AT+APPKEY
335 335  |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response**
... ... @@ -342,10 +342,10 @@
342 342  
343 343  Feature: Get or Set the Application Session Key.
344 344  
337 +{{info}}
338 +**AT Command: AT+APPSKEY**
339 +{{/info}}
345 345  
346 -(% style="color:blue" %)**AT Command: AT+APPSKEY**
347 -
348 -
349 349  (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %)
350 350  |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY
351 351  |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response**
... ... @@ -360,10 +360,10 @@
360 360  
361 361  Feature: Get or Set the Device Address.
362 362  
355 +{{info}}
356 +**AT Command: AT+DADDR**
357 +{{/info}}
363 363  
364 -(% style="color:blue" %)**AT Command: AT+DADDR**
365 -
366 -
367 367  (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %)
368 368  |=(% colspan="3" style="width: 792px;" %)AT+DADDR
369 369  |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response**
... ... @@ -378,10 +378,10 @@
378 378  
379 379  Feature: Get or Set the Device EUI.
380 380  
373 +{{info}}
374 +**AT Command: AT+DEUI**
375 +{{/info}}
381 381  
382 -(% style="color:blue" %)**AT Command: AT+DEUI**
383 -
384 -
385 385  (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %)
386 386  |=(% colspan="3" style="width: 1032px;" %)AT+DEUI
387 387  |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response**
... ... @@ -396,10 +396,10 @@
396 396  
397 397  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
398 398  
391 +{{info}}
392 +**AT Command: AT+NWKID**
393 +{{/info}}
399 399  
400 -(% style="color:blue" %)**AT Command: AT+NWKID**
401 -
402 -
403 403  (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %)
404 404  |=(% colspan="3" style="width: 445px;" %)AT+NWKID
405 405  |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response**
... ... @@ -412,10 +412,10 @@
412 412  
413 413  Feature: Get or Set the Network Session Key
414 414  
407 +{{info}}
408 +**AT Command: AT+NWKSKEY**
409 +{{/info}}
415 415  
416 -(% style="color:blue" %)**AT Command: AT+NWKSKEY**
417 -
418 -
419 419  (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %)
420 420  |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY
421 421  |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response**
... ... @@ -432,10 +432,10 @@
432 432  
433 433  Feature: Get or Set the confirmation mode (0-1).
434 434  
427 +{{info}}
428 +**AT Command: AT+CFM**
429 +{{/info}}
435 435  
436 -(% style="color:blue" %)**AT Command: AT+CFM**
437 -
438 -
439 439  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
440 440  |=(% colspan="3" style="width: 707px;" %)AT+CFM
441 441  |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response**
... ... @@ -445,7 +445,7 @@
445 445  |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK
446 446  |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR
447 447  
448 -(% style="color:blue" %)**Downlink Command: 0x05**
440 +Downlink Command: 0x05
449 449  
450 450  Format: Command Code (0x05) followed by 2 bytes mode value.
451 451  
... ... @@ -454,12 +454,13 @@
454 454  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
455 455  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
456 456  
449 +
457 457  === AT+CFM command since DR-LWS007 software stack ===
458 458  
452 +{{info}}
453 +**AT Command: AT+CFM**
454 +{{/info}}
459 459  
460 -(% style="color:blue" %)**AT Command: AT+CFM**
461 -
462 -
463 463  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
464 464  |=(% colspan="3" style="width: 707px;" %)AT+CFM
465 465  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -491,10 +491,10 @@
491 491  OK
492 492  )))
493 493  
487 +{{info}}
488 +**Downlink Command: 0x05**
489 +{{/info}}
494 494  
495 -(% style="color:blue" %)**Downlink Command: 0x05**
496 -
497 -
498 498  Format: Command Code (0x05) followed by 2 bytes mode value.
499 499  
500 500  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
... ... @@ -502,14 +502,15 @@
502 502  * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
503 503  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
504 504  
498 +
505 505  == 6.2 Confirm Status ==
506 506  
507 507  Feature: Get confirmation status of the last AT+SEND (0-1).
508 508  
503 +{{info}}
504 +**AT Command: AT+CFS**
505 +{{/info}}
509 509  
510 -(% style="color:blue" %)**AT Command: AT+CFS**
511 -
512 -
513 513  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
514 514  |=(% colspan="3" style="width: 531px;" %)AT+CFS
515 515  |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
... ... @@ -521,10 +521,10 @@
521 521  
522 522  Feature: Join network.
523 523  
518 +{{info}}
519 +**AT Command: AT+JOIN**
520 +{{/info}}
524 524  
525 -(% style="color:blue" %)**AT Command: AT+JOIN**
526 -
527 -
528 528  (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %)
529 529  |=(% colspan="3" style="width: 644px;" %)AT+JOIN
530 530  |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response**
... ... @@ -538,10 +538,10 @@
538 538  
539 539  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
540 540  
535 +{{info}}
536 +**AT Command: AT+NJM**
537 +{{/info}}
541 541  
542 -(% style="color:blue" %)**AT Command: AT+NJM**
543 -
544 -
545 545  (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %)
546 546  |=(% colspan="3" style="width: 750px;" %)AT+NJM
547 547  |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response**
... ... @@ -551,15 +551,15 @@
551 551  |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK
552 552  |(% 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
553 553  
548 +{{info}}
549 +**Downlink Command: 0x20**
550 +{{/info}}
554 554  
555 -(% style="color:blue" %)**Downlink Command: 0x20**
556 -
557 -
558 558  Format: Command Code (0x20) followed by 1 bytes mode value.
559 559  
560 560  If the downlink payload=2000, it means set the Network Join Mode, while type code is 20.
561 561  
562 -* **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
556 +* **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=O
563 563  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
564 564  
565 565  == 6.5 LoRa® Network Join Status ==
... ... @@ -566,10 +566,10 @@
566 566  
567 567  Feature: LoRa® Network Join Status.
568 568  
563 +{{info}}
564 +**AT Command: AT+NJS**
565 +{{/info}}
569 569  
570 -(% style="color:blue" %)**AT Command: AT+NJS**
571 -
572 -
573 573  (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %)
574 574  |=(% colspan="3" style="width: 495px;" %)AT+NJS
575 575  |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response**
... ... @@ -581,10 +581,10 @@
581 581  
582 582  Feature: Print Last Received Data in Raw Format<port:data>.
583 583  
578 +{{info}}
579 +**AT Command: AT+RECV**
580 +{{/info}}
584 584  
585 -(% style="color:blue" %)**AT Command: AT+RECV**
586 -
587 -
588 588  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
589 589  |=(% colspan="3" style="width: 584px;" %)AT+RECV
590 590  |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -596,10 +596,10 @@
596 596  
597 597  Feature: Print Last Received Data in Binary Format<port:data>.
598 598  
593 +{{info}}
594 +**AT Command: AT+RECVB**
595 +{{/info}}
599 599  
600 -(% style="color:blue" %)**AT Command: AT+RECVB**
601 -
602 -
603 603  (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %)
604 604  |=(% colspan="3" style="width: 790px;" %)AT+RECVB
605 605  |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response**
... ... @@ -611,10 +611,10 @@
611 611  
612 612  Feature: Send Text Data<port:data>.
613 613  
608 +{{info}}
609 +**AT Command: AT+SEND**
610 +{{/info}}
614 614  
615 -(% style="color:blue" %)**AT Command: AT+SEND**
616 -
617 -
618 618  (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %)
619 619  |=(% colspan="3" style="width: 988px;" %)AT+SEND
620 620  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
... ... @@ -630,10 +630,10 @@
630 630  
631 631  Feature: Send hexadecimal data along with the application port.
632 632  
627 +{{info}}
628 +**AT Command: AT+SENDB**
629 +{{/info}}
633 633  
634 -(% style="color:blue" %)**AT Command: AT+SENDB**
635 -
636 -
637 637  (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %)
638 638  |=(% colspan="3" style="width: 1117px;" %)AT+SENDB
639 639  |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response**
... ... @@ -650,10 +650,10 @@
650 650  
651 651  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
652 652  
647 +{{info}}
648 +**AT Command: AT+ADR**
649 +{{/info}}
653 653  
654 -(% style="color:blue" %)**AT Command: AT+ADR**
655 -
656 -
657 657  (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %)
658 658  |=(% colspan="3" style="width: 680px;" %)AT+ADR
659 659  |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**
... ... @@ -665,11 +665,11 @@
665 665  AT_PARAM_ERROR
666 666  )))
667 667  
662 +{{info}}
663 +**Downlink Command: 0x22**
664 +{{/info}}
668 668  
669 -(% style="color:blue" %)**Downlink Command: 0x22**
670 670  
671 -
672 -
673 673  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
674 674  
675 675  * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
... ... @@ -679,10 +679,10 @@
679 679  
680 680  Feature: Get or Set the Device Class(Currently only support class A, class C).
681 681  
676 +{{info}}
677 +**AT Command:AT+CLASS**
678 +{{/info}}
682 682  
683 -(% style="color:blue" %)**AT Command:AT+CLASS**
684 -
685 -
686 686  (% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %)
687 687  |=(% colspan="3" style="width: 504px;" %)AT+CLASS
688 688  |(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response**
... ... @@ -697,10 +697,10 @@
697 697  
698 698  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
699 699  
694 +{{info}}
695 +**AT Command:AT+DCS**
696 +{{/info}}
700 700  
701 -(% style="color:blue" %)**AT Command:AT+DCS**
702 -
703 -
704 704  (% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %)
705 705  |=(% colspan="3" style="width: 512px;" %)AT+DCS
706 706  |(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response**
... ... @@ -715,10 +715,10 @@
715 715  
716 716  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
717 717  
712 +{{info}}
713 +**AT Command: AT+DR**
714 +{{/info}}
718 718  
719 -(% style="color:blue" %)**AT Command: AT+DR**
720 -
721 -
722 722  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
723 723  |=(% colspan="3" style="width: 463px;" %)AT+DR
724 724  |(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -729,11 +729,11 @@
729 729  
730 730  )))
731 731  
726 +{{info}}
727 +**Downlink Command: 0x2200aaFF**
728 +{{/info}}
732 732  
733 -(% style="color:blue" %)**Downlink Command: 0x2200aaFF**
734 734  
735 -
736 -
737 737  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
738 738  
739 739  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
... ... @@ -743,10 +743,10 @@
743 743  
744 744  Feature: Get or Set the Frame Counter Downlink.
745 745  
740 +{{info}}
741 +**AT Command:AT+FCD**
742 +{{/info}}
746 746  
747 -(% style="color:blue" %)**AT Command:AT+FCD**
748 -
749 -
750 750  (% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %)
751 751  |=(% colspan="3" style="width: 690px;" %)AT+FCD
752 752  |(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response**
... ... @@ -763,10 +763,10 @@
763 763  
764 764  Feature: Get or Set the Frame Counter Uplink.
765 765  
760 +{{info}}
761 +**AT Command:AT+FCU**
762 +{{/info}}
766 766  
767 -(% style="color:blue" %)**AT Command:AT+FCU**
768 -
769 -
770 770  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
771 771  |=(% colspan="3" style="width: 531px;" %)AT+FCU
772 772  |(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -781,10 +781,10 @@
781 781  
782 782  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms.
783 783  
778 +{{info}}
779 +**AT Command:AT+JN1DL**
780 +{{/info}}
784 784  
785 -(% style="color:blue" %)**AT Command:AT+JN1DL**
786 -
787 -
788 788  (% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %)
789 789  |=(% colspan="3" style="width: 534px;" %)AT+JN1DL
790 790  |(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -799,10 +799,10 @@
799 799  
800 800  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
801 801  
796 +{{info}}
797 +**AT Command:AT+JN2DL**
798 +{{/info}}
802 802  
803 -(% style="color:blue" %)**AT Command:AT+JN2DL**
804 -
805 -
806 806  (% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %)
807 807  |=(% colspan="3" style="width: 535px;" %)AT+JN2DL
808 808  |(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response**
... ... @@ -815,14 +815,12 @@
815 815  
816 816  == 7.9 Public Network Mode ==
817 817  
818 -Feature: Get or Set the public network mode. (0: off, 1: on). A Public LoRaWAN network use 0x34 as syncword. Default Settings; PNM=1
812 +Feature: Get or Set the public network mode. (0: off, 1: on)
819 819  
820 -Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
814 +{{info}}
815 +**AT Command:AT+PNM**
816 +{{/info}}
821 821  
822 -
823 -(% style="color:blue" %)**AT Command:AT+PNM**
824 -
825 -
826 826  (% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %)
827 827  |=(% colspan="3" style="width: 664px;" %)AT+PNM
828 828  |(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response**
... ... @@ -829,25 +829,20 @@
829 829  |(% style="width:166px" %)AT+PNM=?|(% style="width:225px" %)Get the public network mode.|(% style="width:272px" %)1(((
830 830  OK
831 831  )))
832 -|(% style="width:166px" %)AT+PNM=1|(% style="width:225px" %)(((
833 -Set the public network mode.
834 -
835 -Set syncword=0x34
836 -)))|(% style="width:272px" %)(System will write new value to PNM)(((
824 +|(% style="width:166px" %)AT+PNM=1|(% style="width:225px" %)Set the public network mode.|(% style="width:272px" %)(System will write new value to PNM)(((
837 837  OK
838 838  
839 839  
840 840  )))
841 -|(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
842 842  
843 843  == 7.10 Receive Delay1 ==
844 844  
845 845  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
846 846  
834 +{{info}}
835 +**AT Command:AT+RX1DL**
836 +{{/info}}
847 847  
848 -(% style="color:blue" %)**AT Command:AT+RX1DL**
849 -
850 -
851 851  (% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %)
852 852  |=(% colspan="3" style="width: 405px;" %)AT+RX1DL
853 853  |(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -862,10 +862,10 @@
862 862  
863 863  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
864 864  
852 +{{info}}
853 +**AT Command:AT+RX2DL**
854 +{{/info}}
865 865  
866 -(% style="color:blue" %)**AT Command:AT+RX2DL**
867 -
868 -
869 869  (% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %)
870 870  |=(% colspan="3" style="width: 478px;" %)AT+RX2DL
871 871  |(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -880,10 +880,10 @@
880 880  
881 881  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
882 882  
870 +{{info}}
871 +**AT Command:AT+RX2DR**
872 +{{/info}}
883 883  
884 -(% style="color:blue" %)**AT Command:AT+RX2DR**
885 -
886 -
887 887  (% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %)
888 888  |=(% colspan="3" style="width: 522px;" %)AT+RX2DR
889 889  |(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response**
... ... @@ -898,10 +898,10 @@
898 898  
899 899  Feature: Get or Set the Rx2 window frequency
900 900  
888 +{{info}}
889 +**AT Command:AT+RX2FQ**
890 +{{/info}}
901 901  
902 -(% style="color:blue" %)**AT Command:AT+RX2FQ**
903 -
904 -
905 905  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
906 906  |=(% colspan="3" style="width: 584px;" %)AT+RX2FQ
907 907  |(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response**
... ... @@ -916,10 +916,10 @@
916 916  
917 917  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. )
918 918  
906 +{{info}}
907 +**AT Command:AT+TXP**
908 +{{/info}}
919 919  
920 -(% style="color:blue" %)**AT Command:AT+TXP**
921 -
922 -
923 923  (% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %)
924 924  |=(% colspan="3" style="width: 462px;" %)AT+TXP
925 925  |(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response**
... ... @@ -941,10 +941,10 @@
941 941  
942 942  Feature: Get or Set the Rx2 window frequency
943 943  
931 +{{info}}
932 +**AT Command:AT+RSSI**
933 +{{/info}}
944 944  
945 -(% style="color:blue" %)**AT Command:AT+RSSI**
946 -
947 -
948 948  (% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %)
949 949  |=(% colspan="3" style="width: 554px;" %)AT+RSSI
950 950  |(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response**
... ... @@ -956,10 +956,10 @@
956 956  
957 957  Feature: Get the SNR of the last received packet
958 958  
946 +{{info}}
947 +**AT Command:AT+SNR**
948 +{{/info}}
959 959  
960 -(% style="color:blue" %)**AT Command:AT+SNR**
961 -
962 -
963 963  (% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %)
964 964  |=(% colspan="3" style="width: 568px;" %)AT+SNR
965 965  |(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -971,10 +971,10 @@
971 971  
972 972  Feature: Get or set the application port.
973 973  
961 +{{info}}
962 +**AT Command: AT+PORT**
963 +{{/info}}
974 974  
975 -(% style="color:blue" %)**AT Command: AT+PORT**
976 -
977 -
978 978  (% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %)
979 979  |=(% colspan="3" style="width: 497px;" %)AT+PORT
980 980  |(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response**
... ... @@ -1151,6 +1151,7 @@
1151 1151  * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1
1152 1152  * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2
1153 1153  
1141 +
1154 1154  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1155 1155  
1156 1156  {{info}}
... ... @@ -1245,35 +1245,6 @@
1245 1245  OK
1246 1246  )))
1247 1247  
1248 -== 7.27 Adjust network rejoining interval ==
1249 -
1250 -{{info}}
1251 -**AT Command: AT+RJTDC**
1252 -{{/info}}
1253 -
1254 -(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1255 -|=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1256 -|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
1257 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000(((
1258 -OK
1259 -
1260 -the interval is 30000ms = 30s
1261 -)))
1262 -|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((
1263 -Set the ReJoin data transmission interval to 60000ms = 60 seconds
1264 -)))
1265 -
1266 -{{info}}
1267 -**Downlink Command: 0x26**
1268 -{{/info}}
1269 -
1270 -Format: Command Code (0x26) followed by 2 bytes mode value.
1271 -
1272 -If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26.
1273 -
1274 -* Example 1: Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10
1275 -* Example 2: Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2
1276 -
1277 1277  = 8. AT Commands Combination =
1278 1278  
1279 1279  == 8.1 Set a fix RX2DR for downlink window ==
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0