<
From version < 50.12 >
edited by Xiaoling
on 2022/07/13 13:39
To version < 50.17 >
edited by Xiaoling
on 2022/07/13 13:48
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -111,6 +111,7 @@
111 111  
112 112  Feature: Change LoRaWAN End Node Transmit Interval.
113 113  
114 +
114 114  (% style="color:blue" %)**AT Command: AT+TDC**
115 115  
116 116  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
... ... @@ -150,7 +150,6 @@
150 150  
151 151  (% style="color:blue" %)**AT Command: ATZ**
152 152  
153 -
154 154  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
155 155  |=(% colspan="3" %)ATZ: Trig a reset of the MCU
156 156  |**Command Example**|**Function**|**Response**
... ... @@ -186,6 +186,7 @@
186 186  
187 187  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.
188 188  
189 +
189 189  (% style="color:blue" %)**AT Command: AT+FDR**
190 190  
191 191  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
... ... @@ -225,7 +225,6 @@
225 225  
226 226  (% style="color:blue" %)**AT Command: AT+VER**
227 227  
228 -
229 229  (% border="1" style="background-color:#ffffcc; color:green; width:586px" %)
230 230  |=(% colspan="3" style="width: 583px;" %)AT+VER: Image Version and Frequency Band
231 231  |(% style="width:170px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:113px" %)**Response**
... ... @@ -247,6 +247,9 @@
247 247  )))
248 248  
249 249  (((
250 +
251 +
252 +
250 250  **xx: Software Type:**
251 251  )))
252 252  
... ... @@ -255,6 +255,9 @@
255 255  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
256 256  
257 257  (((
261 +
262 +
263 +
258 258  **yy: Frequency Band:**
259 259  )))
260 260  
... ... @@ -270,6 +270,9 @@
270 270  * 0xa0: AS923-3
271 271  
272 272  (((
279 +
280 +
281 +
273 273  **zz: Subband**
274 274  )))
275 275  
... ... @@ -278,12 +278,12 @@
278 278  
279 279  == 4.5 Show System Configure ==
280 280  
290 +
281 281  Feature: Show All configure. No downlink command yet.
282 282  
283 283  
284 284  (% style="color:blue" %)**AT Command: AT+CFG**
285 285  
286 -
287 287  (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %)
288 288  |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations
289 289  |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response**
... ... @@ -301,16 +301,19 @@
301 301  OK
302 302  )))
303 303  
313 +
314 +
304 304  = 5. Keys, IDs and EUIs management =
305 305  
317 +
306 306  == 5.1 Application EUI ==
307 307  
320 +
308 308  Feature: Get or Set the Application EUI.
309 309  
310 310  
311 311  (% style="color:blue" %)**AT Command: AT+APPEUI**
312 312  
313 -
314 314  (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %)
315 315  |=(% colspan="3" style="width: 683px;" %)AT+APPEUI
316 316  |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response**
... ... @@ -319,14 +319,16 @@
319 319  )))
320 320  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
321 321  
334 +
335 +
322 322  == 5.2 Application Key ==
323 323  
338 +
324 324  Feature: Get or Set the Application Key.
325 325  
326 326  
327 327  (% style="color:blue" %)**AT Command: AT+APPKEY**
328 328  
329 -
330 330  (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %)
331 331  |=(% colspan="3" style="width: 973px;" %)AT+APPKEY
332 332  |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response**
... ... @@ -335,14 +335,16 @@
335 335  )))
336 336  |(% 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
337 337  
352 +
353 +
338 338  == 5.3 Application Session Key ==
339 339  
356 +
340 340  Feature: Get or Set the Application Session Key.
341 341  
342 342  
343 343  (% style="color:blue" %)**AT Command: AT+APPSKEY**
344 344  
345 -
346 346  (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %)
347 347  |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY
348 348  |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response**
... ... @@ -353,14 +353,16 @@
353 353  OK
354 354  )))
355 355  
372 +
373 +
356 356  == 5.4 Device Address ==
357 357  
376 +
358 358  Feature: Get or Set the Device Address.
359 359  
360 360  
361 361  (% style="color:blue" %)**AT Command: AT+DADDR**
362 362  
363 -
364 364  (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %)
365 365  |=(% colspan="3" style="width: 792px;" %)AT+DADDR
366 366  |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response**
... ... @@ -371,14 +371,16 @@
371 371  )))
372 372  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
373 373  
392 +
393 +
374 374  == 5.5 Device EUI ==
375 375  
396 +
376 376  Feature: Get or Set the Device EUI.
377 377  
378 378  
379 379  (% style="color:blue" %)**AT Command: AT+DEUI**
380 380  
381 -
382 382  (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %)
383 383  |=(% colspan="3" style="width: 1032px;" %)AT+DEUI
384 384  |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response**
... ... @@ -389,14 +389,16 @@
389 389  OK
390 390  )))
391 391  
412 +
413 +
392 392  == 5.6 Network ID ==
393 393  
416 +
394 394  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
395 395  
396 396  
397 397  (% style="color:blue" %)**AT Command: AT+NWKID**
398 398  
399 -
400 400  (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %)
401 401  |=(% colspan="3" style="width: 445px;" %)AT+NWKID
402 402  |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response**
... ... @@ -405,14 +405,16 @@
405 405  )))
406 406  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
407 407  
430 +
431 +
408 408  == 5.7 Network Session Key ==
409 409  
434 +
410 410  Feature: Get or Set the Network Session Key
411 411  
412 412  
413 413  (% style="color:blue" %)**AT Command: AT+NWKSKEY**
414 414  
415 -
416 416  (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %)
417 417  |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY
418 418  |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response**
... ... @@ -421,18 +421,22 @@
421 421  )))
422 422  |(% 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
423 423  
448 +
449 +
424 424  = 6. Joining and sending date on LoRaWAN network =
425 425  
452 +
426 426  == 6.1 Confirm Mode ==
427 427  
428 -=== AT+CFM command before DR-LWS007 software stack ===
429 429  
456 +=== 6.1.1  AT+CFM command before DR-LWS007 software stack ===
457 +
458 +
430 430  Feature: Get or Set the confirmation mode (0-1).
431 431  
432 432  
433 433  (% style="color:blue" %)**AT Command: AT+CFM**
434 434  
435 -
436 436  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
437 437  |=(% colspan="3" style="width: 707px;" %)AT+CFM
438 438  |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response**
... ... @@ -442,6 +442,7 @@
442 442  |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK
443 443  |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR
444 444  
473 +
445 445  (% style="color:blue" %)**Downlink Command: 0x05**
446 446  
447 447  Format: Command Code (0x05) followed by 2 bytes mode value.
... ... @@ -451,12 +451,14 @@
451 451  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
452 452  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
453 453  
454 -=== AT+CFM command since DR-LWS007 software stack ===
455 455  
456 456  
457 -(% style="color:blue" %)**AT Command: AT+CFM**
458 458  
486 +=== 6.1.2  AT+CFM command since DR-LWS007 software stack ===
459 459  
488 +
489 +(% style="color:blue" %)**AT Command: AT+CFM**
490 +
460 460  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
461 461  |=(% colspan="3" style="width: 707px;" %)AT+CFM
462 462  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -488,9 +488,9 @@
488 488  OK
489 489  )))
490 490  
522 +
491 491  (% style="color:blue" %)**Downlink Command: 0x05**
492 492  
493 -
494 494  Format: Command Code (0x05) followed by 2 bytes mode value.
495 495  
496 496  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
... ... @@ -498,14 +498,17 @@
498 498  * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
499 499  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
500 500  
532 +
533 +
534 +
501 501  == 6.2 Confirm Status ==
502 502  
537 +
503 503  Feature: Get confirmation status of the last AT+SEND (0-1).
504 504  
505 505  
506 506  (% style="color:blue" %)**AT Command: AT+CFS**
507 507  
508 -
509 509  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
510 510  |=(% colspan="3" style="width: 531px;" %)AT+CFS
511 511  |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
... ... @@ -513,14 +513,16 @@
513 513  OK
514 514  )))
515 515  
550 +
551 +
516 516  == 6.3 Join LoRa® Network ==
517 517  
554 +
518 518  Feature: Join network.
519 519  
520 520  
521 521  (% style="color:blue" %)**AT Command: AT+JOIN**
522 522  
523 -
524 524  (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %)
525 525  |=(% colspan="3" style="width: 644px;" %)AT+JOIN
526 526  |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response**
... ... @@ -530,14 +530,16 @@
530 530  While Error in format, return AT_BUSY_ERROR
531 531  )))
532 532  
569 +
570 +
533 533  == 6.4 LoRa® Network Join Mode ==
534 534  
573 +
535 535  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
536 536  
537 537  
538 538  (% style="color:blue" %)**AT Command: AT+NJM**
539 539  
540 -
541 541  (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %)
542 542  |=(% colspan="3" style="width: 750px;" %)AT+NJM
543 543  |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response**
... ... @@ -547,9 +547,9 @@
547 547  |(% style="width:162px" %)AT+NJM=0|(% style="width:227px" %)Set the Network Join Mode|(% style="width:361px" %)OK
548 548  |(% 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
549 549  
588 +
550 550  (% style="color:blue" %)**Downlink Command: 0x20**
551 551  
552 -
553 553  Format: Command Code (0x20) followed by 1 bytes mode value.
554 554  
555 555  If the downlink payload=2000, it means set the Network Join Mode, while type code is 20.
... ... @@ -557,14 +557,17 @@
557 557  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
558 558  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
559 559  
598 +
599 +
600 +
560 560  == 6.5 LoRa® Network Join Status ==
561 561  
603 +
562 562  Feature: LoRa® Network Join Status.
563 563  
564 564  
565 565  (% style="color:blue" %)**AT Command: AT+NJS**
566 566  
567 -
568 568  (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %)
569 569  |=(% colspan="3" style="width: 495px;" %)AT+NJS
570 570  |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response**
... ... @@ -572,14 +572,16 @@
572 572  OK
573 573  )))
574 574  
616 +
617 +
575 575  == 6.6 Print Last Received Data in Raw Format ==
576 576  
620 +
577 577  Feature: Print Last Received Data in Raw Format<port:data>.
578 578  
579 579  
580 580  (% style="color:blue" %)**AT Command: AT+RECV**
581 581  
582 -
583 583  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
584 584  |=(% colspan="3" style="width: 584px;" %)AT+RECV
585 585  |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -587,14 +587,16 @@
587 587  OK
588 588  )))
589 589  
633 +
634 +
590 590  == 6.7 Print Last Received Data in Binary Format ==
591 591  
637 +
592 592  Feature: Print Last Received Data in Binary Format<port:data>.
593 593  
594 594  
595 595  (% style="color:blue" %)**AT Command: AT+RECVB**
596 596  
597 -
598 598  (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %)
599 599  |=(% colspan="3" style="width: 790px;" %)AT+RECVB
600 600  |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response**
... ... @@ -602,14 +602,16 @@
602 602  OK
603 603  )))
604 604  
650 +
651 +
605 605  == 6.8 Send Text Data ==
606 606  
654 +
607 607  Feature: Send Text Data<port:data>.
608 608  
609 609  
610 610  (% style="color:blue" %)**AT Command: AT+SEND**
611 611  
612 -
613 613  (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %)
614 614  |=(% colspan="3" style="width: 988px;" %)AT+SEND
615 615  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
... ... @@ -621,14 +621,16 @@
621 621  
622 622  )))
623 623  
671 +
672 +
624 624  == 6.9 Send Hexadecimal Data ==
625 625  
675 +
626 626  Feature: Send hexadecimal data along with the application port.
627 627  
628 628  
629 629  (% style="color:blue" %)**AT Command: AT+SENDB**
630 630  
631 -
632 632  (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %)
633 633  |=(% colspan="3" style="width: 1117px;" %)AT+SENDB
634 634  |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response**
... ... @@ -639,16 +639,19 @@
639 639  
640 640  )))
641 641  
691 +
692 +
642 642  = 7. LoRaWAN network management =
643 643  
695 +
644 644  == 7.1 Adaptive Data Rate ==
645 645  
698 +
646 646  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
647 647  
648 648  
649 649  (% style="color:blue" %)**AT Command: AT+ADR**
650 650  
651 -
652 652  (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %)
653 653  |=(% colspan="3" style="width: 680px;" %)AT+ADR
654 654  |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**
... ... @@ -660,23 +660,25 @@
660 660  AT_PARAM_ERROR
661 661  )))
662 662  
715 +
663 663  (% style="color:blue" %)**Downlink Command: 0x22**
664 664  
665 -
666 -
667 667  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
668 668  
669 -* **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
720 +* **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
670 670  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
671 671  
723 +
724 +
725 +
672 672  == 7.2 LoRa® Class ==
673 673  
728 +
674 674  Feature: Get or Set the Device Class(Currently only support class A, class C).
675 675  
676 676  
677 677  (% style="color:blue" %)**AT Command:AT+CLASS**
678 678  
679 -
680 680  (% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %)
681 681  |=(% colspan="3" style="width: 504px;" %)AT+CLASS
682 682  |(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response**
... ... @@ -687,14 +687,16 @@
687 687  
688 688  )))
689 689  
744 +
745 +
690 690  == 7.3 Duty Cycle Setting ==
691 691  
748 +
692 692  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
693 693  
694 694  
695 695  (% style="color:blue" %)**AT Command:AT+DCS**
696 696  
697 -
698 698  (% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %)
699 699  |=(% colspan="3" style="width: 512px;" %)AT+DCS
700 700  |(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response**
... ... @@ -705,14 +705,16 @@
705 705  
706 706  )))
707 707  
764 +
765 +
708 708  == 7.4 Data Rate ==
709 709  
768 +
710 710  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
711 711  
712 712  
713 713  (% style="color:blue" %)**AT Command: AT+DR**
714 714  
715 -
716 716  (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %)
717 717  |=(% colspan="3" style="width: 463px;" %)AT+DR
718 718  |(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response**
... ... @@ -723,15 +723,17 @@
723 723  
724 724  )))
725 725  
784 +
726 726  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
727 727  
728 -
729 -
730 730  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
731 731  
732 732  * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1.
733 733  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
734 734  
792 +
793 +
794 +
735 735  == 7.5 Frame Counter Downlink ==
736 736  
737 737  Feature: Get or Set the Frame Counter Downlink.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0