<
From version < 50.9 >
edited by Xiaoling
on 2022/07/13 13:35
To version < 50.19 >
edited by Xiaoling
on 2022/07/13 13:58
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -27,7 +27,6 @@
27 27  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
28 28  
29 29  
30 -
31 31  = 3. Support End Node and firmware version =
32 32  
33 33  
... ... @@ -102,8 +102,6 @@
102 102  )))
103 103  )))
104 104  
105 -
106 -
107 107  = 4. System Management Commands =
108 108  
109 109  
... ... @@ -112,6 +112,7 @@
112 112  
113 113  Feature: Change LoRaWAN End Node Transmit Interval.
114 114  
112 +
115 115  (% style="color:blue" %)**AT Command: AT+TDC**
116 116  
117 117  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
... ... @@ -142,7 +142,6 @@
142 142  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
143 143  
144 144  
145 -
146 146  == 4.2 Reboot End Node ==
147 147  
148 148  
... ... @@ -151,7 +151,6 @@
151 151  
152 152  (% style="color:blue" %)**AT Command: ATZ**
153 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,8 @@
169 169  <followed by the Tx and Rx information>
170 170  )))
171 171  
172 -
173 173  (% style="color:blue" %)**Downlink Command: 0x04**
174 174  
175 -
176 176  (((
177 177  Format: Command Code (0x04) followed by FF.
178 178  )))
... ... @@ -188,6 +188,7 @@
188 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  
185 +
191 191  (% style="color:blue" %)**AT Command: AT+FDR**
192 192  
193 193  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
... ... @@ -207,10 +207,8 @@
207 207  Please set the parameters or reset Device to apply change
208 208  )))
209 209  
210 -
211 211  (% style="color:blue" %)**Downlink Command: 0x04**
212 212  
213 -
214 214  (((
215 215  Format: Command Code (0x04) followed by FE.
216 216  )))
... ... @@ -222,12 +222,12 @@
222 222  
223 223  == 4.4 Show Firmware Version ==
224 224  
218 +
225 225  Feature: Show firmware version. No downlink command yet.
226 226  
227 227  
228 228  (% style="color:blue" %)**AT Command: AT+VER**
229 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,8 @@
237 237  OK
238 238  )))
239 239  
240 -
241 241  (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
242 242  
243 -
244 244  (((
245 245  Downlink Format: 0x26
246 246  )))
... ... @@ -250,6 +250,9 @@
250 250  )))
251 251  
252 252  (((
244 +
245 +
246 +
253 253  **xx: Software Type:**
254 254  )))
255 255  
... ... @@ -258,6 +258,9 @@
258 258  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
259 259  
260 260  (((
255 +
256 +
257 +
261 261  **yy: Frequency Band:**
262 262  )))
263 263  
... ... @@ -273,6 +273,9 @@
273 273  * 0xa0: AS923-3
274 274  
275 275  (((
273 +
274 +
275 +
276 276  **zz: Subband**
277 277  )))
278 278  
... ... @@ -281,12 +281,12 @@
281 281  
282 282  == 4.5 Show System Configure ==
283 283  
284 +
284 284  Feature: Show All configure. No downlink command yet.
285 285  
286 286  
287 287  (% style="color:blue" %)**AT Command: AT+CFG**
288 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**
... ... @@ -304,16 +304,18 @@
304 304  OK
305 305  )))
306 306  
307 +
307 307  = 5. Keys, IDs and EUIs management =
308 308  
310 +
309 309  == 5.1 Application EUI ==
310 310  
313 +
311 311  Feature: Get or Set the Application EUI.
312 312  
313 313  
314 314  (% style="color:blue" %)**AT Command: AT+APPEUI**
315 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**
... ... @@ -322,14 +322,15 @@
322 322  )))
323 323  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
324 324  
327 +
325 325  == 5.2 Application Key ==
326 326  
330 +
327 327  Feature: Get or Set the Application Key.
328 328  
329 329  
330 330  (% style="color:blue" %)**AT Command: AT+APPKEY**
331 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**
... ... @@ -338,14 +338,15 @@
338 338  )))
339 339  |(% style="width:441px" %)AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|(% style="width:180px" %)Set the Application Key|(% style="width:350px" %)OK
340 340  
344 +
341 341  == 5.3 Application Session Key ==
342 342  
347 +
343 343  Feature: Get or Set the Application Session Key.
344 344  
345 345  
346 346  (% style="color:blue" %)**AT Command: AT+APPSKEY**
347 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**
... ... @@ -356,14 +356,15 @@
356 356  OK
357 357  )))
358 358  
363 +
359 359  == 5.4 Device Address ==
360 360  
366 +
361 361  Feature: Get or Set the Device Address.
362 362  
363 363  
364 364  (% style="color:blue" %)**AT Command: AT+DADDR**
365 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**
... ... @@ -374,14 +374,15 @@
374 374  )))
375 375  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
376 376  
382 +
377 377  == 5.5 Device EUI ==
378 378  
385 +
379 379  Feature: Get or Set the Device EUI.
380 380  
381 381  
382 382  (% style="color:blue" %)**AT Command: AT+DEUI**
383 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**
... ... @@ -392,14 +392,15 @@
392 392  OK
393 393  )))
394 394  
401 +
395 395  == 5.6 Network ID ==
396 396  
404 +
397 397  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
398 398  
399 399  
400 400  (% style="color:blue" %)**AT Command: AT+NWKID**
401 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**
... ... @@ -408,14 +408,15 @@
408 408  )))
409 409  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
410 410  
418 +
411 411  == 5.7 Network Session Key ==
412 412  
421 +
413 413  Feature: Get or Set the Network Session Key
414 414  
415 415  
416 416  (% style="color:blue" %)**AT Command: AT+NWKSKEY**
417 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**
... ... @@ -424,18 +424,21 @@
424 424  )))
425 425  |(% style="width:455px" %)AT+NWKSKEY=A8 40 41 FF FF 12 34 56 00 01 02 04 05 06 06 07|(% style="width:215px" %)Set the Network Session Key.|(% style="width:343px" %)OK
426 426  
435 +
427 427  = 6. Joining and sending date on LoRaWAN network =
428 428  
438 +
429 429  == 6.1 Confirm Mode ==
430 430  
431 -=== AT+CFM command before DR-LWS007 software stack ===
432 432  
442 +=== 6.1.1  AT+CFM command before DR-LWS007 software stack ===
443 +
444 +
433 433  Feature: Get or Set the confirmation mode (0-1).
434 434  
435 435  
436 436  (% style="color:blue" %)**AT Command: AT+CFM**
437 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**
... ... @@ -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  
457 -=== AT+CFM command since DR-LWS007 software stack ===
458 458  
459 459  
460 -(% style="color:blue" %)**AT Command: AT+CFM**
470 +=== 6.1.2  AT+CFM command since DR-LWS007 software stack ===
461 461  
462 462  
473 +(% style="color:blue" %)**AT Command: AT+CFM**
474 +
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,8 @@
491 491  OK
492 492  )))
493 493  
494 -
495 495  (% style="color:blue" %)**Downlink Command: 0x05**
496 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,16 @@
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  
515 +
516 +
505 505  == 6.2 Confirm Status ==
506 506  
519 +
507 507  Feature: Get confirmation status of the last AT+SEND (0-1).
508 508  
509 509  
510 510  (% style="color:blue" %)**AT Command: AT+CFS**
511 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**
... ... @@ -517,14 +517,15 @@
517 517  OK
518 518  )))
519 519  
532 +
520 520  == 6.3 Join LoRa® Network ==
521 521  
535 +
522 522  Feature: Join network.
523 523  
524 524  
525 525  (% style="color:blue" %)**AT Command: AT+JOIN**
526 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**
... ... @@ -534,14 +534,15 @@
534 534  While Error in format, return AT_BUSY_ERROR
535 535  )))
536 536  
550 +
537 537  == 6.4 LoRa® Network Join Mode ==
538 538  
553 +
539 539  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
540 540  
541 541  
542 542  (% style="color:blue" %)**AT Command: AT+NJM**
543 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,10 +551,8 @@
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  
554 -
555 555  (% style="color:blue" %)**Downlink Command: 0x20**
556 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.
... ... @@ -562,14 +562,16 @@
562 562  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
563 563  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
564 564  
577 +
578 +
565 565  == 6.5 LoRa® Network Join Status ==
566 566  
581 +
567 567  Feature: LoRa® Network Join Status.
568 568  
569 569  
570 570  (% style="color:blue" %)**AT Command: AT+NJS**
571 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**
... ... @@ -577,14 +577,15 @@
577 577  OK
578 578  )))
579 579  
594 +
580 580  == 6.6 Print Last Received Data in Raw Format ==
581 581  
597 +
582 582  Feature: Print Last Received Data in Raw Format<port:data>.
583 583  
584 584  
585 585  (% style="color:blue" %)**AT Command: AT+RECV**
586 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**
... ... @@ -592,14 +592,15 @@
592 592  OK
593 593  )))
594 594  
610 +
595 595  == 6.7 Print Last Received Data in Binary Format ==
596 596  
613 +
597 597  Feature: Print Last Received Data in Binary Format<port:data>.
598 598  
599 599  
600 600  (% style="color:blue" %)**AT Command: AT+RECVB**
601 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**
... ... @@ -607,14 +607,15 @@
607 607  OK
608 608  )))
609 609  
626 +
610 610  == 6.8 Send Text Data ==
611 611  
629 +
612 612  Feature: Send Text Data<port:data>.
613 613  
614 614  
615 615  (% style="color:blue" %)**AT Command: AT+SEND**
616 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**
... ... @@ -626,14 +626,15 @@
626 626  
627 627  )))
628 628  
646 +
629 629  == 6.9 Send Hexadecimal Data ==
630 630  
649 +
631 631  Feature: Send hexadecimal data along with the application port.
632 632  
633 633  
634 634  (% style="color:blue" %)**AT Command: AT+SENDB**
635 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**
... ... @@ -644,16 +644,18 @@
644 644  
645 645  )))
646 646  
665 +
647 647  = 7. LoRaWAN network management =
648 648  
668 +
649 649  == 7.1 Adaptive Data Rate ==
650 650  
671 +
651 651  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
652 652  
653 653  
654 654  (% style="color:blue" %)**AT Command: AT+ADR**
655 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,24 +665,23 @@
665 665  AT_PARAM_ERROR
666 666  )))
667 667  
668 -
669 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 -* **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
692 +* **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
676 676  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
677 677  
695 +
696 +
678 678  == 7.2 LoRa® Class ==
679 679  
699 +
680 680  Feature: Get or Set the Device Class(Currently only support class A, class C).
681 681  
682 682  
683 683  (% style="color:blue" %)**AT Command:AT+CLASS**
684 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**
... ... @@ -693,14 +693,15 @@
693 693  
694 694  )))
695 695  
715 +
696 696  == 7.3 Duty Cycle Setting ==
697 697  
718 +
698 698  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
699 699  
700 700  
701 701  (% style="color:blue" %)**AT Command:AT+DCS**
702 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**
... ... @@ -711,14 +711,15 @@
711 711  
712 712  )))
713 713  
734 +
714 714  == 7.4 Data Rate ==
715 715  
737 +
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  
718 718  
719 719  (% style="color:blue" %)**AT Command: AT+DR**
720 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,24 +729,23 @@
729 729  
730 730  )))
731 731  
732 -
733 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.
740 740  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
741 741  
760 +
761 +
742 742  == 7.5 Frame Counter Downlink ==
743 743  
764 +
744 744  Feature: Get or Set the Frame Counter Downlink.
745 745  
746 746  
747 747  (% style="color:blue" %)**AT Command:AT+FCD**
748 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**
... ... @@ -755,10 +755,9 @@
755 755  )))
756 756  |(% style="width:162px" %)AT+FCD=10|(% style="width:258px" %)Set the Frame Counter Downlink.|(% style="width:269px" %)(System will write new value to FCD)(((
757 757  OK
758 -
759 -
760 760  )))
761 761  
780 +
762 762  == 7.6 Frame Counter Uplink ==
763 763  
764 764  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -766,7 +766,6 @@
766 766  
767 767  (% style="color:blue" %)**AT Command:AT+FCU**
768 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**
... ... @@ -777,14 +777,15 @@
777 777  
778 778  )))
779 779  
798 +
780 780  == 7.7 Join Accept Delay1 ==
781 781  
801 +
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  
784 784  
785 785  (% style="color:blue" %)**AT Command:AT+JN1DL**
786 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**
... ... @@ -795,6 +795,7 @@
795 795  
796 796  )))
797 797  
817 +
798 798  == 7.8 Join Accept Delay2 ==
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.
... ... @@ -802,7 +802,6 @@
802 802  
803 803  (% style="color:blue" %)**AT Command:AT+JN2DL**
804 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**
... ... @@ -813,16 +813,17 @@
813 813  
814 814  )))
815 815  
835 +
816 816  == 7.9 Public Network Mode ==
817 817  
838 +
818 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
819 819  
820 -Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
841 +(% style="color:red" %)Notice: If user build their own LoRaWAN server but still use syncword=0x34, this is still considered a public LoRaWAN network
821 821  
822 822  
823 823  (% style="color:blue" %)**AT Command:AT+PNM**
824 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**
... ... @@ -840,14 +840,15 @@
840 840  )))
841 841  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
842 842  
863 +
843 843  == 7.10 Receive Delay1 ==
844 844  
866 +
845 845  Feature: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
846 846  
847 847  
848 848  (% style="color:blue" %)**AT Command:AT+RX1DL**
849 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**
... ... @@ -858,14 +858,16 @@
858 858  
859 859  )))
860 860  
882 +
883 +
861 861  == 7.11 Receive Delay2 ==
862 862  
886 +
863 863  Feature: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
864 864  
865 865  
866 866  (% style="color:blue" %)**AT Command:AT+RX2DL**
867 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**
... ... @@ -876,14 +876,16 @@
876 876  
877 877  )))
878 878  
902 +
903 +
879 879  == 7.12 Rx2 Window Data Rate ==
880 880  
906 +
881 881  Feature: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
882 882  
883 883  
884 884  (% style="color:blue" %)**AT Command:AT+RX2DR**
885 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**
... ... @@ -894,14 +894,16 @@
894 894  
895 895  )))
896 896  
922 +
923 +
897 897  == 7.13 Rx2 Window Frequency ==
898 898  
926 +
899 899  Feature: Get or Set the Rx2 window frequency
900 900  
901 901  
902 902  (% style="color:blue" %)**AT Command:AT+RX2FQ**
903 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**
... ... @@ -912,14 +912,16 @@
912 912  
913 913  )))
914 914  
942 +
943 +
915 915  == 7.14 Transmit Power ==
916 916  
946 +
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  
919 919  
920 920  (% style="color:blue" %)**AT Command:AT+TXP**
921 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**
... ... @@ -937,14 +937,17 @@
937 937  * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2.
938 938  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0.
939 939  
969 +
970 +
971 +
940 940  == 7.15 RSSI of the Last Received Packet ==
941 941  
974 +
942 942  Feature: Get or Set the Rx2 window frequency
943 943  
944 944  
945 945  (% style="color:blue" %)**AT Command:AT+RSSI**
946 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**
... ... @@ -952,14 +952,16 @@
952 952  OK
953 953  )))
954 954  
987 +
988 +
955 955  == 7.16 SNR of the Last Received Packet ==
956 956  
991 +
957 957  Feature: Get the SNR of the last received packet
958 958  
959 959  
960 960  (% style="color:blue" %)**AT Command:AT+SNR**
961 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**
... ... @@ -967,14 +967,16 @@
967 967  OK
968 968  )))
969 969  
1004 +
1005 +
970 970  == 7.17 Application Port ==
971 971  
1008 +
972 972  Feature: Get or set the application port.
973 973  
974 974  
975 975  (% style="color:blue" %)**AT Command: AT+PORT**
976 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**
... ... @@ -986,7 +986,6 @@
986 986  
987 987  (% style="color:blue" %)**Downlink Command: 0x23**
988 988  
989 -
990 990  Format: Command Code (0x23) followed by 1 bytes port value.
991 991  
992 992  If the downlink payload=2301, it means set the application port to 1, while type code is 23.
... ... @@ -994,14 +994,17 @@
994 994  * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1
995 995  * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5
996 996  
1032 +
1033 +
1034 +
997 997  == 7.18 Single Channel Mode ==
998 998  
1037 +
999 999  Feature:Get or Set Frequency (Unit: Hz) for Single Channel Mode.
1000 1000  
1001 1001  
1002 1002  (% style="color:blue" %)**AT Command: AT+CHS**
1003 1003  
1004 -
1005 1005  (% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %)
1006 1006  |=(% colspan="3" style="width: 600px;" %)AT+CHS
1007 1007  |(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response**
... ... @@ -1010,6 +1010,8 @@
1010 1010  )))
1011 1011  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1012 1012  
1051 +
1052 +
1013 1013  == 7.19 Eight Channel Mode ==
1014 1014  
1015 1015  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -1017,7 +1017,6 @@
1017 1017  
1018 1018  (% style="color:blue" %)**AT Command: AT+CHE**
1019 1019  
1020 -
1021 1021  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1022 1022  |=(% colspan="3" style="width: 707px;" %)AT+CHE
1023 1023  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1031,7 +1031,6 @@
1031 1031  
1032 1032  (% style="color:blue" %)**Downlink Command: 0x24**
1033 1033  
1034 -
1035 1035  Format: Command Code (0x24) followed by 1 bytes channel value.
1036 1036  
1037 1037  If the downlink payload=2401, it means set channel mode to 1, while type code is 24.
... ... @@ -1039,14 +1039,17 @@
1039 1039  * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1
1040 1040  * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5
1041 1041  
1080 +
1081 +
1082 +
1042 1042  == 7.20 Get or Set RXwindows1 timeout ==
1043 1043  
1044 -Feature:Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
1045 1045  
1086 +Feature: Get or Set the number of symbols to detect and timeout from RXwindow1(0 to 255).
1046 1046  
1088 +
1047 1047  (% style="color:blue" %)**AT Command: AT+RX1WTO**
1048 1048  
1049 -
1050 1050  (% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %)
1051 1051  |=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO
1052 1052  |(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response**
... ... @@ -1056,11 +1056,16 @@
1056 1056  |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK
1057 1057  
1058 1058  (((
1100 +
1101 +
1059 1059  **AT+RX1TWO** is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph.
1103 +
1104 +
1060 1060  )))
1061 1061  
1062 1062  [[image:image-20220526162535-1.png]]
1063 1063  
1109 +
1064 1064  (((
1065 1065  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.
1066 1066  
... ... @@ -1069,12 +1069,12 @@
1069 1069  
1070 1070  == 7.21 Get or Set RXwindows2 timeout ==
1071 1071  
1072 -Feature:Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255).
1073 1073  
1119 +Feature: Get or Set the number of symbols to detect and timeout from RXwindow2(0 to 255).
1074 1074  
1121 +
1075 1075  (% style="color:blue" %)**AT Command: AT+RX2WTO**
1076 1076  
1077 -
1078 1078  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1079 1079  |=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO
1080 1080  |(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response**
... ... @@ -1083,14 +1083,16 @@
1083 1083  )))
1084 1084  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1085 1085  
1132 +
1133 +
1086 1086  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1087 1087  
1136 +
1088 1088  Feature: Get or Set uplinkdwelltime
1089 1089  
1090 1090  
1091 1091  (% style="color:blue" %)**AT Command: AT+DWELLT**
1092 1092  
1093 -
1094 1094  (% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %)
1095 1095  |=(% colspan="3" style="width: 494px;" %)AT+DWELLT
1096 1096  |(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response**
... ... @@ -1102,7 +1102,6 @@
1102 1102  
1103 1103  (% style="color:blue" %)**Downlink Command: 0x25**
1104 1104  
1105 -
1106 1106  Format: Command Code (0x25) followed by 1 bytes state value.
1107 1107  
1108 1108  If the downlink payload=2501, it means set uplinkdwelltime to 1, while type code is 25.
... ... @@ -1110,10 +1110,15 @@
1110 1110  * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1
1111 1111  * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0
1112 1112  
1160 +
1161 +
1162 +
1113 1113  == 7.23 Set Packet Receiving Response Level ==
1114 1114  
1165 +
1115 1115  Feature: Get or Set packet receiving response level. This feature is used to set compatible with different LoRaWAN servers. If RPL doesn;t match , user will see strange message in the server portal.
1116 1116  
1168 +
1117 1117  RPL value:
1118 1118  
1119 1119  * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform.
... ... @@ -1122,6 +1122,8 @@
1122 1122  * **AT+RPL=3:** Device will immediately reply message to MAC Command. Payload is 0x00 and requied response header for this command.
1123 1123  * **AT+RPL=4: **Device will immediately reply message to Confirmed Data Down & MAC Command. Payload is 0x00 and requied response header for these two commands.
1124 1124  
1177 +
1178 +
1125 1125  Case Analyes:
1126 1126  
1127 1127  * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software.
... ... @@ -1129,9 +1129,9 @@
1129 1129  * 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.
1130 1130  
1131 1131  
1186 +
1132 1132  (% style="color:blue" %)**AT Command: AT+RPL**
1133 1133  
1134 -
1135 1135  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1136 1136  |=(% colspan="3" style="width: 533px;" %)AT+RPL
1137 1137  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1143,7 +1143,6 @@
1143 1143  
1144 1144  (% style="color:blue" %)**Downlink Command: 0x21**
1145 1145  
1146 -
1147 1147  Format: Command Code (0x21) followed by 1 bytes level value.
1148 1148  
1149 1149  If the downlink payload=2101, it means set packet receiving response level to 1, while type code is 21.
... ... @@ -1151,12 +1151,14 @@
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  
1207 +
1208 +
1209 +
1154 1154  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1155 1155  
1156 1156  
1157 1157  (% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS **
1158 1158  
1159 -
1160 1160  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1161 1161  |=(% colspan="3" style="width: 533px;" %)AT+**SETMAXNBTRANS**
1162 1162  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1172,7 +1172,6 @@
1172 1172  
1173 1173  (% style="color:blue" %)**Downlink Command: 0x33**
1174 1174  
1175 -
1176 1176  Format: Command Code (0x33) followed by 2 bytes mode value.
1177 1177  
1178 1178  If the downlink payload=330100, it means set end node to use confirm mode, while type code is 33.
... ... @@ -1180,12 +1180,14 @@
1180 1180  * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0
1181 1181  * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1
1182 1182  
1237 +
1238 +
1239 +
1183 1183  == 7.25 Device offline rejoining (LWS007) ==
1184 1184  
1185 1185  
1186 1186  (% style="color:blue" %)**AT Command: AT+DDETECT**
1187 1187  
1188 -
1189 1189  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
1190 1190  |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT**
1191 1191  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -1217,10 +1217,9 @@
1217 1217  OK
1218 1218  )))
1219 1219  
1220 -{{info}}
1221 -**Downlink Command: 0x33**
1222 -{{/info}}
1223 1223  
1277 +(% style="color:blue" %)**Downlink Command: 0x33**
1278 +
1224 1224  Format: Command Code (0x32) followed by 2 bytes mode value.
1225 1225  
1226 1226  If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 33.
... ... @@ -1227,12 +1227,14 @@
1227 1227  
1228 1228  * Example 1: Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880
1229 1229  
1285 +
1286 +
1287 +
1230 1230  == 7.26 Request the server to send an ACK ==
1231 1231  
1232 -{{info}}
1233 -**AT Command: AT+PNACKMD**
1234 -{{/info}}
1235 1235  
1291 +(% style="color:blue" %)**AT Command: AT+PNACKMD**
1292 +
1236 1236  (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1237 1237  |=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD**
1238 1238  |(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
... ... @@ -1245,12 +1245,13 @@
1245 1245  OK
1246 1246  )))
1247 1247  
1305 +
1306 +
1248 1248  == 7.27 Adjust network rejoining interval ==
1249 1249  
1250 -{{info}}
1251 -**AT Command: AT+RJTDC**
1252 -{{/info}}
1253 1253  
1310 +(% style="color:blue" %)**AT Command: AT+RJTDC**
1311 +
1254 1254  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
1255 1255  |=(% colspan="3" style="width: 724px;" %)AT+RJTDC
1256 1256  |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response**
... ... @@ -1263,10 +1263,9 @@
1263 1263  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1264 1264  )))
1265 1265  
1266 -{{info}}
1267 -**Downlink Command: 0x26**
1268 -{{/info}}
1269 1269  
1325 +(% style="color:blue" %)**Downlink Command: 0x26**
1326 +
1270 1270  Format: Command Code (0x26) followed by 2 bytes mode value.
1271 1271  
1272 1272  If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26.
... ... @@ -1274,6 +1274,9 @@
1274 1274  * Example 1: Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10
1275 1275  * Example 2: Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2
1276 1276  
1334 +
1335 +
1336 +
1277 1277  = 8. AT Commands Combination =
1278 1278  
1279 1279  == 8.1 Set a fix RX2DR for downlink window ==
... ... @@ -1283,13 +1283,12 @@
1283 1283  
1284 1284  == 8.2 Use Downlink Command to set a fix uplink DR ==
1285 1285  
1286 -{{info}}
1287 -**Downlink Command: 0x22000500**
1288 -{{/info}}
1289 1289  
1347 +(% style="color:blue" %)**Downlink Command: 0x22000500**
1348 +
1349 +
1290 1290  Same as:
1291 1291  
1292 1292  * AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1293 1293  * AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1294 1294  * AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1295 -~)~)~)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0