<
From version < 50.11 >
edited by Xiaoling
on 2022/07/13 13:37
To version < 50.18 >
edited by Xiaoling
on 2022/07/13 13:49
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -27,6 +27,7 @@
27 27  ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server)
28 28  
29 29  
30 +
30 30  = 3. Support End Node and firmware version =
31 31  
32 32  
... ... @@ -110,6 +110,7 @@
110 110  
111 111  Feature: Change LoRaWAN End Node Transmit Interval.
112 112  
114 +
113 113  (% style="color:blue" %)**AT Command: AT+TDC**
114 114  
115 115  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
... ... @@ -140,6 +140,7 @@
140 140  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
141 141  
142 142  
145 +
143 143  == 4.2 Reboot End Node ==
144 144  
145 145  
... ... @@ -148,7 +148,6 @@
148 148  
149 149  (% style="color:blue" %)**AT Command: ATZ**
150 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,9 @@
166 166  <followed by the Tx and Rx information>
167 167  )))
168 168  
171 +
169 169  (% style="color:blue" %)**Downlink Command: 0x04**
170 170  
171 -
172 172  (((
173 173  Format: Command Code (0x04) followed by FF.
174 174  )))
... ... @@ -184,6 +184,7 @@
184 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  
189 +
187 187  (% style="color:blue" %)**AT Command: AT+FDR**
188 188  
189 189  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
... ... @@ -203,9 +203,9 @@
203 203  Please set the parameters or reset Device to apply change
204 204  )))
205 205  
209 +
206 206  (% style="color:blue" %)**Downlink Command: 0x04**
207 207  
208 -
209 209  (((
210 210  Format: Command Code (0x04) followed by FE.
211 211  )))
... ... @@ -217,12 +217,12 @@
217 217  
218 218  == 4.4 Show Firmware Version ==
219 219  
223 +
220 220  Feature: Show firmware version. No downlink command yet.
221 221  
222 222  
223 223  (% style="color:blue" %)**AT Command: AT+VER**
224 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,9 @@
232 232  OK
233 233  )))
234 234  
238 +
235 235  (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
236 236  
237 -
238 238  (((
239 239  Downlink Format: 0x26
240 240  )))
... ... @@ -244,6 +244,9 @@
244 244  )))
245 245  
246 246  (((
250 +
251 +
252 +
247 247  **xx: Software Type:**
248 248  )))
249 249  
... ... @@ -252,6 +252,9 @@
252 252  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
253 253  
254 254  (((
261 +
262 +
263 +
255 255  **yy: Frequency Band:**
256 256  )))
257 257  
... ... @@ -267,6 +267,9 @@
267 267  * 0xa0: AS923-3
268 268  
269 269  (((
279 +
280 +
281 +
270 270  **zz: Subband**
271 271  )))
272 272  
... ... @@ -275,12 +275,12 @@
275 275  
276 276  == 4.5 Show System Configure ==
277 277  
290 +
278 278  Feature: Show All configure. No downlink command yet.
279 279  
280 280  
281 281  (% style="color:blue" %)**AT Command: AT+CFG**
282 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**
... ... @@ -298,16 +298,19 @@
298 298  OK
299 299  )))
300 300  
313 +
314 +
301 301  = 5. Keys, IDs and EUIs management =
302 302  
317 +
303 303  == 5.1 Application EUI ==
304 304  
320 +
305 305  Feature: Get or Set the Application EUI.
306 306  
307 307  
308 308  (% style="color:blue" %)**AT Command: AT+APPEUI**
309 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**
... ... @@ -316,14 +316,16 @@
316 316  )))
317 317  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
318 318  
334 +
335 +
319 319  == 5.2 Application Key ==
320 320  
338 +
321 321  Feature: Get or Set the Application Key.
322 322  
323 323  
324 324  (% style="color:blue" %)**AT Command: AT+APPKEY**
325 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**
... ... @@ -332,14 +332,16 @@
332 332  )))
333 333  |(% 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
334 334  
352 +
353 +
335 335  == 5.3 Application Session Key ==
336 336  
356 +
337 337  Feature: Get or Set the Application Session Key.
338 338  
339 339  
340 340  (% style="color:blue" %)**AT Command: AT+APPSKEY**
341 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**
... ... @@ -350,14 +350,16 @@
350 350  OK
351 351  )))
352 352  
372 +
373 +
353 353  == 5.4 Device Address ==
354 354  
376 +
355 355  Feature: Get or Set the Device Address.
356 356  
357 357  
358 358  (% style="color:blue" %)**AT Command: AT+DADDR**
359 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**
... ... @@ -368,14 +368,16 @@
368 368  )))
369 369  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
370 370  
392 +
393 +
371 371  == 5.5 Device EUI ==
372 372  
396 +
373 373  Feature: Get or Set the Device EUI.
374 374  
375 375  
376 376  (% style="color:blue" %)**AT Command: AT+DEUI**
377 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**
... ... @@ -386,14 +386,16 @@
386 386  OK
387 387  )))
388 388  
412 +
413 +
389 389  == 5.6 Network ID ==
390 390  
416 +
391 391  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
392 392  
393 393  
394 394  (% style="color:blue" %)**AT Command: AT+NWKID**
395 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**
... ... @@ -402,14 +402,16 @@
402 402  )))
403 403  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
404 404  
430 +
431 +
405 405  == 5.7 Network Session Key ==
406 406  
434 +
407 407  Feature: Get or Set the Network Session Key
408 408  
409 409  
410 410  (% style="color:blue" %)**AT Command: AT+NWKSKEY**
411 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**
... ... @@ -418,18 +418,22 @@
418 418  )))
419 419  |(% 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
420 420  
448 +
449 +
421 421  = 6. Joining and sending date on LoRaWAN network =
422 422  
452 +
423 423  == 6.1 Confirm Mode ==
424 424  
425 -=== AT+CFM command before DR-LWS007 software stack ===
426 426  
456 +=== 6.1.1  AT+CFM command before DR-LWS007 software stack ===
457 +
458 +
427 427  Feature: Get or Set the confirmation mode (0-1).
428 428  
429 429  
430 430  (% style="color:blue" %)**AT Command: AT+CFM**
431 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,6 +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  
473 +
442 442  (% style="color:blue" %)**Downlink Command: 0x05**
443 443  
444 444  Format: Command Code (0x05) followed by 2 bytes mode value.
... ... @@ -448,12 +448,14 @@
448 448  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
449 449  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
450 450  
451 -=== AT+CFM command since DR-LWS007 software stack ===
452 452  
453 453  
454 -(% style="color:blue" %)**AT Command: AT+CFM**
455 455  
486 +=== 6.1.2  AT+CFM command since DR-LWS007 software stack ===
456 456  
488 +
489 +(% style="color:blue" %)**AT Command: AT+CFM**
490 +
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,9 @@
485 485  OK
486 486  )))
487 487  
522 +
488 488  (% style="color:blue" %)**Downlink Command: 0x05**
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.
... ... @@ -495,14 +495,17 @@
495 495  * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
496 496  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
497 497  
532 +
533 +
534 +
498 498  == 6.2 Confirm Status ==
499 499  
537 +
500 500  Feature: Get confirmation status of the last AT+SEND (0-1).
501 501  
502 502  
503 503  (% style="color:blue" %)**AT Command: AT+CFS**
504 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**
... ... @@ -510,14 +510,16 @@
510 510  OK
511 511  )))
512 512  
550 +
551 +
513 513  == 6.3 Join LoRa® Network ==
514 514  
554 +
515 515  Feature: Join network.
516 516  
517 517  
518 518  (% style="color:blue" %)**AT Command: AT+JOIN**
519 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**
... ... @@ -527,14 +527,16 @@
527 527  While Error in format, return AT_BUSY_ERROR
528 528  )))
529 529  
569 +
570 +
530 530  == 6.4 LoRa® Network Join Mode ==
531 531  
573 +
532 532  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
533 533  
534 534  
535 535  (% style="color:blue" %)**AT Command: AT+NJM**
536 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,9 +544,9 @@
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  
588 +
547 547  (% style="color:blue" %)**Downlink Command: 0x20**
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.
... ... @@ -554,14 +554,17 @@
554 554  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
555 555  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
556 556  
598 +
599 +
600 +
557 557  == 6.5 LoRa® Network Join Status ==
558 558  
603 +
559 559  Feature: LoRa® Network Join Status.
560 560  
561 561  
562 562  (% style="color:blue" %)**AT Command: AT+NJS**
563 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**
... ... @@ -569,14 +569,16 @@
569 569  OK
570 570  )))
571 571  
616 +
617 +
572 572  == 6.6 Print Last Received Data in Raw Format ==
573 573  
620 +
574 574  Feature: Print Last Received Data in Raw Format<port:data>.
575 575  
576 576  
577 577  (% style="color:blue" %)**AT Command: AT+RECV**
578 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**
... ... @@ -584,14 +584,16 @@
584 584  OK
585 585  )))
586 586  
633 +
634 +
587 587  == 6.7 Print Last Received Data in Binary Format ==
588 588  
637 +
589 589  Feature: Print Last Received Data in Binary Format<port:data>.
590 590  
591 591  
592 592  (% style="color:blue" %)**AT Command: AT+RECVB**
593 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**
... ... @@ -599,14 +599,16 @@
599 599  OK
600 600  )))
601 601  
650 +
651 +
602 602  == 6.8 Send Text Data ==
603 603  
654 +
604 604  Feature: Send Text Data<port:data>.
605 605  
606 606  
607 607  (% style="color:blue" %)**AT Command: AT+SEND**
608 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**
... ... @@ -618,14 +618,16 @@
618 618  
619 619  )))
620 620  
671 +
672 +
621 621  == 6.9 Send Hexadecimal Data ==
622 622  
675 +
623 623  Feature: Send hexadecimal data along with the application port.
624 624  
625 625  
626 626  (% style="color:blue" %)**AT Command: AT+SENDB**
627 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**
... ... @@ -636,16 +636,19 @@
636 636  
637 637  )))
638 638  
691 +
692 +
639 639  = 7. LoRaWAN network management =
640 640  
695 +
641 641  == 7.1 Adaptive Data Rate ==
642 642  
698 +
643 643  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
644 644  
645 645  
646 646  (% style="color:blue" %)**AT Command: AT+ADR**
647 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,23 +657,25 @@
657 657  AT_PARAM_ERROR
658 658  )))
659 659  
715 +
660 660  (% style="color:blue" %)**Downlink Command: 0x22**
661 661  
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 -* **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1.
720 +* **Example 1**: Downlink Payload: **2201**  ~/~/ Set AT+ADR=1.
667 667  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
668 668  
723 +
724 +
725 +
669 669  == 7.2 LoRa® Class ==
670 670  
728 +
671 671  Feature: Get or Set the Device Class(Currently only support class A, class C).
672 672  
673 673  
674 674  (% style="color:blue" %)**AT Command:AT+CLASS**
675 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**
... ... @@ -684,14 +684,16 @@
684 684  
685 685  )))
686 686  
744 +
745 +
687 687  == 7.3 Duty Cycle Setting ==
688 688  
748 +
689 689  Feature: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing.
690 690  
691 691  
692 692  (% style="color:blue" %)**AT Command:AT+DCS**
693 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**
... ... @@ -702,14 +702,16 @@
702 702  
703 703  )))
704 704  
764 +
765 +
705 705  == 7.4 Data Rate ==
706 706  
768 +
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  
709 709  
710 710  (% style="color:blue" %)**AT Command: AT+DR**
711 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,23 +720,25 @@
720 720  
721 721  )))
722 722  
784 +
723 723  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
724 724  
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.
730 730  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
731 731  
792 +
793 +
794 +
732 732  == 7.5 Frame Counter Downlink ==
733 733  
797 +
734 734  Feature: Get or Set the Frame Counter Downlink.
735 735  
736 736  
737 737  (% style="color:blue" %)**AT Command:AT+FCD**
738 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**
... ... @@ -745,10 +745,10 @@
745 745  )))
746 746  |(% style="width:162px" %)AT+FCD=10|(% style="width:258px" %)Set the Frame Counter Downlink.|(% style="width:269px" %)(System will write new value to FCD)(((
747 747  OK
748 -
749 -
750 750  )))
751 751  
813 +
814 +
752 752  == 7.6 Frame Counter Uplink ==
753 753  
754 754  Feature: Get or Set the Frame Counter Uplink.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0