<
From version < 50.16 >
edited by Xiaoling
on 2022/07/13 13:47
To version < 50.10 >
edited by Xiaoling
on 2022/07/13 13:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -103,6 +103,7 @@
103 103  )))
104 104  
105 105  
106 +
106 106  = 4. System Management Commands =
107 107  
108 108  
... ... @@ -111,7 +111,6 @@
111 111  
112 112  Feature: Change LoRaWAN End Node Transmit Interval.
113 113  
114 -
115 115  (% style="color:blue" %)**AT Command: AT+TDC**
116 116  
117 117  (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %)
... ... @@ -151,6 +151,7 @@
151 151  
152 152  (% style="color:blue" %)**AT Command: ATZ**
153 153  
154 +
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**
... ... @@ -171,6 +171,7 @@
171 171  
172 172  (% style="color:blue" %)**Downlink Command: 0x04**
173 173  
175 +
174 174  (((
175 175  Format: Command Code (0x04) followed by FF.
176 176  )))
... ... @@ -186,7 +186,6 @@
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 -
190 190  (% style="color:blue" %)**AT Command: AT+FDR**
191 191  
192 192  (% border="1" style="background-color:#ffffcc; color:green; width:831.222px" %)
... ... @@ -209,6 +209,7 @@
209 209  
210 210  (% style="color:blue" %)**Downlink Command: 0x04**
211 211  
213 +
212 212  (((
213 213  Format: Command Code (0x04) followed by FE.
214 214  )))
... ... @@ -220,12 +220,12 @@
220 220  
221 221  == 4.4 Show Firmware Version ==
222 222  
223 -
224 224  Feature: Show firmware version. No downlink command yet.
225 225  
226 226  
227 227  (% style="color:blue" %)**AT Command: AT+VER**
228 228  
230 +
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**
... ... @@ -238,6 +238,7 @@
238 238  
239 239  (% style="color:blue" %)**Downlink Command: 0x26 (Valid in 006 stack)**
240 240  
243 +
241 241  (((
242 242  Downlink Format: 0x26
243 243  )))
... ... @@ -247,9 +247,6 @@
247 247  )))
248 248  
249 249  (((
250 -
251 -
252 -
253 253  **xx: Software Type:**
254 254  )))
255 255  
... ... @@ -258,9 +258,6 @@
258 258  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
259 259  
260 260  (((
261 -
262 -
263 -
264 264  **yy: Frequency Band:**
265 265  )))
266 266  
... ... @@ -276,9 +276,6 @@
276 276  * 0xa0: AS923-3
277 277  
278 278  (((
279 -
280 -
281 -
282 282  **zz: Subband**
283 283  )))
284 284  
... ... @@ -287,12 +287,12 @@
287 287  
288 288  == 4.5 Show System Configure ==
289 289  
290 -
291 291  Feature: Show All configure. No downlink command yet.
292 292  
293 293  
294 294  (% style="color:blue" %)**AT Command: AT+CFG**
295 295  
289 +
296 296  (% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %)
297 297  |=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations
298 298  |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response**
... ... @@ -310,19 +310,16 @@
310 310  OK
311 311  )))
312 312  
313 -
314 -
315 315  = 5. Keys, IDs and EUIs management =
316 316  
317 -
318 318  == 5.1 Application EUI ==
319 319  
320 -
321 321  Feature: Get or Set the Application EUI.
322 322  
323 323  
324 324  (% style="color:blue" %)**AT Command: AT+APPEUI**
325 325  
316 +
326 326  (% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %)
327 327  |=(% colspan="3" style="width: 683px;" %)AT+APPEUI
328 328  |(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response**
... ... @@ -331,16 +331,14 @@
331 331  )))
332 332  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
333 333  
334 -
335 -
336 336  == 5.2 Application Key ==
337 337  
338 -
339 339  Feature: Get or Set the Application Key.
340 340  
341 341  
342 342  (% style="color:blue" %)**AT Command: AT+APPKEY**
343 343  
332 +
344 344  (% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %)
345 345  |=(% colspan="3" style="width: 973px;" %)AT+APPKEY
346 346  |(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response**
... ... @@ -349,16 +349,14 @@
349 349  )))
350 350  |(% 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
351 351  
352 -
353 -
354 354  == 5.3 Application Session Key ==
355 355  
356 -
357 357  Feature: Get or Set the Application Session Key.
358 358  
359 359  
360 360  (% style="color:blue" %)**AT Command: AT+APPSKEY**
361 361  
348 +
362 362  (% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %)
363 363  |=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY
364 364  |(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response**
... ... @@ -369,16 +369,14 @@
369 369  OK
370 370  )))
371 371  
372 -
373 -
374 374  == 5.4 Device Address ==
375 375  
376 -
377 377  Feature: Get or Set the Device Address.
378 378  
379 379  
380 380  (% style="color:blue" %)**AT Command: AT+DADDR**
381 381  
366 +
382 382  (% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %)
383 383  |=(% colspan="3" style="width: 792px;" %)AT+DADDR
384 384  |(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response**
... ... @@ -389,16 +389,14 @@
389 389  )))
390 390  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
391 391  
392 -
393 -
394 394  == 5.5 Device EUI ==
395 395  
396 -
397 397  Feature: Get or Set the Device EUI.
398 398  
399 399  
400 400  (% style="color:blue" %)**AT Command: AT+DEUI**
401 401  
384 +
402 402  (% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %)
403 403  |=(% colspan="3" style="width: 1032px;" %)AT+DEUI
404 404  |(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response**
... ... @@ -409,16 +409,14 @@
409 409  OK
410 410  )))
411 411  
412 -
413 -
414 414  == 5.6 Network ID ==
415 415  
416 -
417 417  Feature: Get or Set the Network ID.(You can enter this command change only after successful network connection)
418 418  
419 419  
420 420  (% style="color:blue" %)**AT Command: AT+NWKID**
421 421  
402 +
422 422  (% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %)
423 423  |=(% colspan="3" style="width: 445px;" %)AT+NWKID
424 424  |(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response**
... ... @@ -427,16 +427,14 @@
427 427  )))
428 428  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
429 429  
430 -
431 -
432 432  == 5.7 Network Session Key ==
433 433  
434 -
435 435  Feature: Get or Set the Network Session Key
436 436  
437 437  
438 438  (% style="color:blue" %)**AT Command: AT+NWKSKEY**
439 439  
418 +
440 440  (% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %)
441 441  |=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY
442 442  |(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response**
... ... @@ -445,22 +445,18 @@
445 445  )))
446 446  |(% 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
447 447  
448 -
449 -
450 450  = 6. Joining and sending date on LoRaWAN network =
451 451  
452 -
453 453  == 6.1 Confirm Mode ==
454 454  
431 +=== AT+CFM command before DR-LWS007 software stack ===
455 455  
456 -=== 6.1.1  AT+CFM command before DR-LWS007 software stack ===
457 -
458 -
459 459  Feature: Get or Set the confirmation mode (0-1).
460 460  
461 461  
462 462  (% style="color:blue" %)**AT Command: AT+CFM**
463 463  
438 +
464 464  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
465 465  |=(% colspan="3" style="width: 707px;" %)AT+CFM
466 466  |(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response**
... ... @@ -470,7 +470,6 @@
470 470  |(% style="width:155px" %)AT+CFM=1|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)OK
471 471  |(% style="width:155px" %)AT+CFM=2|(% style="width:205px" %)Set the confirmation mode|(% style="width:346px" %)While Error in format, return AT_PARAM_ERROR
472 472  
473 -
474 474  (% style="color:blue" %)**Downlink Command: 0x05**
475 475  
476 476  Format: Command Code (0x05) followed by 2 bytes mode value.
... ... @@ -480,14 +480,12 @@
480 480  * Example 1: Downlink Payload: 0501 ~/~/ Set AT+CFM=1
481 481  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
482 482  
457 +=== AT+CFM command since DR-LWS007 software stack ===
483 483  
484 484  
485 -
486 -=== 6.1.2  AT+CFM command since DR-LWS007 software stack ===
487 -
488 -
489 489  (% style="color:blue" %)**AT Command: AT+CFM**
490 490  
462 +
491 491  (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %)
492 492  |=(% colspan="3" style="width: 707px;" %)AT+CFM
493 493  |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response**
... ... @@ -522,6 +522,7 @@
522 522  
523 523  (% style="color:blue" %)**Downlink Command: 0x05**
524 524  
497 +
525 525  Format: Command Code (0x05) followed by 2 bytes mode value.
526 526  
527 527  If the downlink payload=05010101, it means set end node to use confirm mode, while type code is 05.
... ... @@ -529,17 +529,14 @@
529 529  * Example 1: Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1
530 530  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
531 531  
532 -
533 -
534 -
535 535  == 6.2 Confirm Status ==
536 536  
537 -
538 538  Feature: Get confirmation status of the last AT+SEND (0-1).
539 539  
540 540  
541 541  (% style="color:blue" %)**AT Command: AT+CFS**
542 542  
512 +
543 543  (% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %)
544 544  |=(% colspan="3" style="width: 531px;" %)AT+CFS
545 545  |(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response**
... ... @@ -547,16 +547,14 @@
547 547  OK
548 548  )))
549 549  
550 -
551 -
552 552  == 6.3 Join LoRa® Network ==
553 553  
554 -
555 555  Feature: Join network.
556 556  
557 557  
558 558  (% style="color:blue" %)**AT Command: AT+JOIN**
559 559  
527 +
560 560  (% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %)
561 561  |=(% colspan="3" style="width: 644px;" %)AT+JOIN
562 562  |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response**
... ... @@ -566,16 +566,14 @@
566 566  While Error in format, return AT_BUSY_ERROR
567 567  )))
568 568  
569 -
570 -
571 571  == 6.4 LoRa® Network Join Mode ==
572 572  
573 -
574 574  Feature: Get or Set the Network Join Mode. (0: ABP, 1: OTAA).
575 575  
576 576  
577 577  (% style="color:blue" %)**AT Command: AT+NJM**
578 578  
544 +
579 579  (% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %)
580 580  |=(% colspan="3" style="width: 750px;" %)AT+NJM
581 581  |(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response**
... ... @@ -588,6 +588,7 @@
588 588  
589 589  (% style="color:blue" %)**Downlink Command: 0x20**
590 590  
557 +
591 591  Format: Command Code (0x20) followed by 1 bytes mode value.
592 592  
593 593  If the downlink payload=2000, it means set the Network Join Mode, while type code is 20.
... ... @@ -595,17 +595,14 @@
595 595  * **Example 1: **Downlink Payload: **2000** ~/~/ Set AT+NJM=0
596 596  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
597 597  
598 -
599 -
600 -
601 601  == 6.5 LoRa® Network Join Status ==
602 602  
603 -
604 604  Feature: LoRa® Network Join Status.
605 605  
606 606  
607 607  (% style="color:blue" %)**AT Command: AT+NJS**
608 608  
572 +
609 609  (% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %)
610 610  |=(% colspan="3" style="width: 495px;" %)AT+NJS
611 611  |(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response**
... ... @@ -613,16 +613,14 @@
613 613  OK
614 614  )))
615 615  
616 -
617 -
618 618  == 6.6 Print Last Received Data in Raw Format ==
619 619  
620 -
621 621  Feature: Print Last Received Data in Raw Format<port:data>.
622 622  
623 623  
624 624  (% style="color:blue" %)**AT Command: AT+RECV**
625 625  
587 +
626 626  (% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %)
627 627  |=(% colspan="3" style="width: 584px;" %)AT+RECV
628 628  |(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response**
... ... @@ -630,16 +630,14 @@
630 630  OK
631 631  )))
632 632  
633 -
634 -
635 635  == 6.7 Print Last Received Data in Binary Format ==
636 636  
637 -
638 638  Feature: Print Last Received Data in Binary Format<port:data>.
639 639  
640 640  
641 641  (% style="color:blue" %)**AT Command: AT+RECVB**
642 642  
602 +
643 643  (% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %)
644 644  |=(% colspan="3" style="width: 790px;" %)AT+RECVB
645 645  |(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response**
... ... @@ -647,16 +647,14 @@
647 647  OK
648 648  )))
649 649  
650 -
651 -
652 652  == 6.8 Send Text Data ==
653 653  
654 -
655 655  Feature: Send Text Data<port:data>.
656 656  
657 657  
658 658  (% style="color:blue" %)**AT Command: AT+SEND**
659 659  
617 +
660 660  (% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %)
661 661  |=(% colspan="3" style="width: 988px;" %)AT+SEND
662 662  |(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response**
... ... @@ -668,16 +668,14 @@
668 668  
669 669  )))
670 670  
671 -
672 -
673 673  == 6.9 Send Hexadecimal Data ==
674 674  
675 -
676 676  Feature: Send hexadecimal data along with the application port.
677 677  
678 678  
679 679  (% style="color:blue" %)**AT Command: AT+SENDB**
680 680  
636 +
681 681  (% border="1" style="background-color:#ffffcc; color:green; width:1120.22px" %)
682 682  |=(% colspan="3" style="width: 1117px;" %)AT+SENDB
683 683  |(% style="width:257px" %)**Command Example**|(% style="width:406px" %)**Function**|(% style="width:453px" %)**Response**
... ... @@ -688,19 +688,16 @@
688 688  
689 689  )))
690 690  
691 -
692 -
693 693  = 7. LoRaWAN network management =
694 694  
695 -
696 696  == 7.1 Adaptive Data Rate ==
697 697  
698 -
699 699  Feature: Get or Set the Adaptive Data Rate setting. (0: off, 1: on).
700 700  
701 701  
702 702  (% style="color:blue" %)**AT Command: AT+ADR**
703 703  
656 +
704 704  (% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %)
705 705  |=(% colspan="3" style="width: 680px;" %)AT+ADR
706 706  |(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response**
... ... @@ -712,6 +712,7 @@
712 712  AT_PARAM_ERROR
713 713  )))
714 714  
668 +
715 715  (% style="color:blue" %)**Downlink Command: 0x22**
716 716  
717 717  
... ... @@ -775,6 +775,7 @@
775 775  
776 776  )))
777 777  
732 +
778 778  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
779 779  
780 780  
... ... @@ -1028,6 +1028,7 @@
1028 1028  )))
1029 1029  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
1030 1030  
986 +
1031 1031  (% style="color:blue" %)**Downlink Command: 0x23**
1032 1032  
1033 1033  
... ... @@ -1072,6 +1072,7 @@
1072 1072  )))
1073 1073  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1074 1074  
1031 +
1075 1075  (% style="color:blue" %)**Downlink Command: 0x24**
1076 1076  
1077 1077  
... ... @@ -1142,6 +1142,7 @@
1142 1142  )))
1143 1143  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1144 1144  
1102 +
1145 1145  (% style="color:blue" %)**Downlink Command: 0x25**
1146 1146  
1147 1147  
... ... @@ -1170,6 +1170,7 @@
1170 1170  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
1171 1171  * 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.
1172 1172  
1131 +
1173 1173  (% style="color:blue" %)**AT Command: AT+RPL**
1174 1174  
1175 1175  
... ... @@ -1181,6 +1181,7 @@
1181 1181  )))
1182 1182  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1183 1183  
1143 +
1184 1184  (% style="color:blue" %)**Downlink Command: 0x21**
1185 1185  
1186 1186  
... ... @@ -1209,6 +1209,7 @@
1209 1209  OK
1210 1210  )))
1211 1211  
1172 +
1212 1212  (% style="color:blue" %)**Downlink Command: 0x33**
1213 1213  
1214 1214  
... ... @@ -1256,6 +1256,7 @@
1256 1256  OK
1257 1257  )))
1258 1258  
1220 +
1259 1259  (% style="color:blue" %)**Downlink Command: 0x33**
1260 1260  
1261 1261  
... ... @@ -1301,6 +1301,7 @@
1301 1301  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1302 1302  )))
1303 1303  
1266 +
1304 1304  (% style="color:blue" %)**Downlink Command: 0x26**
1305 1305  
1306 1306  
... ... @@ -1329,3 +1329,4 @@
1329 1329  * AT+ADR=0  [[Reference>>||anchor="H7.1AdaptiveDataRate"]]
1330 1330  * AT+DR=5  [[Reference>>||anchor="H7.4DataRate"]]
1331 1331  * AT+TXP=0  [[Reference>>||anchor="H7.14TransmitPower"]]
1295 +~)~)~)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0