<
From version < 51.2 >
edited by Xiaoling
on 2022/07/13 14:04
To version < 51.21 >
edited by Xiaoling
on 2022/07/13 14:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -144,6 +144,9 @@
144 144  * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
145 145  * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
146 146  
147 +
148 +
149 +
147 147  == 4.2 Reboot End Node ==
148 148  
149 149  
... ... @@ -258,7 +258,6 @@
258 258  (((
259 259  
260 260  
261 -
262 262  **yy: Frequency Band:**
263 263  )))
264 264  
... ... @@ -276,7 +276,6 @@
276 276  (((
277 277  
278 278  
279 -
280 280  **zz: Subband**
281 281  )))
282 282  
... ... @@ -308,6 +308,8 @@
308 308  OK
309 309  )))
310 310  
312 +
313 +
311 311  = 5. Keys, IDs and EUIs management =
312 312  
313 313  
... ... @@ -327,6 +327,8 @@
327 327  )))
328 328  |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK
329 329  
333 +
334 +
330 330  == 5.2 Application Key ==
331 331  
332 332  
... ... @@ -343,6 +343,8 @@
343 343  )))
344 344  |(% 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
345 345  
351 +
352 +
346 346  == 5.3 Application Session Key ==
347 347  
348 348  
... ... @@ -361,6 +361,8 @@
361 361  OK
362 362  )))
363 363  
371 +
372 +
364 364  == 5.4 Device Address ==
365 365  
366 366  
... ... @@ -379,6 +379,8 @@
379 379  )))
380 380  |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK
381 381  
391 +
392 +
382 382  == 5.5 Device EUI ==
383 383  
384 384  
... ... @@ -397,6 +397,8 @@
397 397  OK
398 398  )))
399 399  
411 +
412 +
400 400  == 5.6 Network ID ==
401 401  
402 402  
... ... @@ -413,6 +413,8 @@
413 413  )))
414 414  |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK
415 415  
429 +
430 +
416 416  == 5.7 Network Session Key ==
417 417  
418 418  
... ... @@ -429,6 +429,8 @@
429 429  )))
430 430  |(% 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
431 431  
447 +
448 +
432 432  = 6. Joining and sending date on LoRaWAN network =
433 433  
434 434  
... ... @@ -462,6 +462,8 @@
462 462  * Example 2: Downlink Payload: 0500 ~/~/ Set AT+CFM=0
463 463  
464 464  
482 +
483 +
465 465  === 6.1.2  AT+CFM command since DR-LWS007 software stack ===
466 466  
467 467  
... ... @@ -508,6 +508,8 @@
508 508  * Example 2: Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0
509 509  
510 510  
530 +
531 +
511 511  == 6.2 Confirm Status ==
512 512  
513 513  
... ... @@ -523,6 +523,8 @@
523 523  OK
524 524  )))
525 525  
547 +
548 +
526 526  == 6.3 Join LoRa® Network ==
527 527  
528 528  
... ... @@ -540,6 +540,8 @@
540 540  While Error in format, return AT_BUSY_ERROR
541 541  )))
542 542  
566 +
567 +
543 543  == 6.4 LoRa® Network Join Mode ==
544 544  
545 545  
... ... @@ -567,6 +567,8 @@
567 567  * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1
568 568  
569 569  
595 +
596 +
570 570  == 6.5 LoRa® Network Join Status ==
571 571  
572 572  
... ... @@ -582,6 +582,8 @@
582 582  OK
583 583  )))
584 584  
612 +
613 +
585 585  == 6.6 Print Last Received Data in Raw Format ==
586 586  
587 587  
... ... @@ -597,6 +597,8 @@
597 597  OK
598 598  )))
599 599  
629 +
630 +
600 600  == 6.7 Print Last Received Data in Binary Format ==
601 601  
602 602  
... ... @@ -612,6 +612,8 @@
612 612  OK
613 613  )))
614 614  
646 +
647 +
615 615  == 6.8 Send Text Data ==
616 616  
617 617  
... ... @@ -631,6 +631,8 @@
631 631  
632 632  )))
633 633  
667 +
668 +
634 634  == 6.9 Send Hexadecimal Data ==
635 635  
636 636  
... ... @@ -649,6 +649,8 @@
649 649  
650 650  )))
651 651  
687 +
688 +
652 652  = 7. LoRaWAN network management =
653 653  
654 654  
... ... @@ -671,6 +671,7 @@
671 671  AT_PARAM_ERROR
672 672  )))
673 673  
711 +
674 674  (% style="color:blue" %)**Downlink Command: 0x22**
675 675  
676 676  If the downlink payload=2201, it means setting the adaptive data rate to 1, while type code is 22.
... ... @@ -679,6 +679,8 @@
679 679  * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0.
680 680  
681 681  
720 +
721 +
682 682  == 7.2 LoRa® Class ==
683 683  
684 684  
... ... @@ -697,6 +697,8 @@
697 697  
698 698  )))
699 699  
740 +
741 +
700 700  == 7.3 Duty Cycle Setting ==
701 701  
702 702  
... ... @@ -715,6 +715,8 @@
715 715  
716 716  )))
717 717  
760 +
761 +
718 718  == 7.4 Data Rate ==
719 719  
720 720  
... ... @@ -733,6 +733,7 @@
733 733  
734 734  )))
735 735  
780 +
736 736  (% style="color:blue" %)**Downlink Command: 0x2200aaFF**
737 737  
738 738  If the downlink payload=220001FF, it means setting the data rate to 1, while type code is 22 00 aa FF.
... ... @@ -741,6 +741,8 @@
741 741  * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0.
742 742  
743 743  
789 +
790 +
744 744  == 7.5 Frame Counter Downlink ==
745 745  
746 746  
... ... @@ -759,6 +759,8 @@
759 759  OK
760 760  )))
761 761  
809 +
810 +
762 762  == 7.6 Frame Counter Uplink ==
763 763  
764 764  Feature: Get or Set the Frame Counter Uplink.
... ... @@ -776,6 +776,8 @@
776 776  
777 777  )))
778 778  
828 +
829 +
779 779  == 7.7 Join Accept Delay1 ==
780 780  
781 781  
... ... @@ -794,6 +794,8 @@
794 794  
795 795  )))
796 796  
848 +
849 +
797 797  == 7.8 Join Accept Delay2 ==
798 798  
799 799  Feature: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms.
... ... @@ -811,6 +811,8 @@
811 811  
812 812  )))
813 813  
867 +
868 +
814 814  == 7.9 Public Network Mode ==
815 815  
816 816  
... ... @@ -838,6 +838,8 @@
838 838  )))
839 839  |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %)
840 840  
896 +
897 +
841 841  == 7.10 Receive Delay1 ==
842 842  
843 843  
... ... @@ -857,6 +857,7 @@
857 857  )))
858 858  
859 859  
917 +
860 860  == 7.11 Receive Delay2 ==
861 861  
862 862  
... ... @@ -876,6 +876,7 @@
876 876  )))
877 877  
878 878  
937 +
879 879  == 7.12 Rx2 Window Data Rate ==
880 880  
881 881  
... ... @@ -895,6 +895,7 @@
895 895  )))
896 896  
897 897  
957 +
898 898  == 7.13 Rx2 Window Frequency ==
899 899  
900 900  
... ... @@ -914,6 +914,7 @@
914 914  )))
915 915  
916 916  
977 +
917 917  == 7.14 Transmit Power ==
918 918  
919 919  
... ... @@ -932,6 +932,7 @@
932 932  
933 933  )))
934 934  
996 +
935 935  Downlink Payload. The 4th byte of 0x22 downlink.
936 936  
937 937  If the downlink payload=22000100, it means setting the TXP to 0.
... ... @@ -941,6 +941,7 @@
941 941  
942 942  
943 943  
1006 +
944 944  == 7.15 RSSI of the Last Received Packet ==
945 945  
946 946  
... ... @@ -957,6 +957,7 @@
957 957  )))
958 958  
959 959  
1023 +
960 960  == 7.16 SNR of the Last Received Packet ==
961 961  
962 962  
... ... @@ -973,6 +973,7 @@
973 973  )))
974 974  
975 975  
1040 +
976 976  == 7.17 Application Port ==
977 977  
978 978  
... ... @@ -989,6 +989,7 @@
989 989  )))
990 990  |(% style="width:157px" %)AT+PORT=21|(% style="width:204px" %)Set the application port|(% style="width:135px" %)OK
991 991  
1057 +
992 992  (% style="color:blue" %)**Downlink Command: 0x23**
993 993  
994 994  Format: Command Code (0x23) followed by 1 bytes port value.
... ... @@ -1017,6 +1017,7 @@
1017 1017  |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK
1018 1018  
1019 1019  
1086 +
1020 1020  == 7.19 Eight Channel Mode ==
1021 1021  
1022 1022  Feature: Get or Set eight channels mode,Only for US915,AU915,CN470.
... ... @@ -1034,6 +1034,7 @@
1034 1034  )))
1035 1035  |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK
1036 1036  
1104 +
1037 1037  (% style="color:blue" %)**Downlink Command: 0x24**
1038 1038  
1039 1039  Format: Command Code (0x24) followed by 1 bytes channel value.
... ... @@ -1045,6 +1045,7 @@
1045 1045  
1046 1046  
1047 1047  
1116 +
1048 1048  == 7.20 Get or Set RXwindows1 timeout ==
1049 1049  
1050 1050  
... ... @@ -1095,6 +1095,7 @@
1095 1095  |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK
1096 1096  
1097 1097  
1167 +
1098 1098  == 7.22 Setting up uplinkdwelltime (as923, au915) ==
1099 1099  
1100 1100  
... ... @@ -1111,6 +1111,7 @@
1111 1111  )))
1112 1112  |(% style="width:183px" %)AT+DWELLT=0|(% style="width:179px" %)Set uplinkdwelltime|(% style="width:131px" %)OK
1113 1113  
1184 +
1114 1114  (% style="color:blue" %)**Downlink Command: 0x25**
1115 1115  
1116 1116  Format: Command Code (0x25) followed by 1 bytes state value.
... ... @@ -1122,6 +1122,7 @@
1122 1122  
1123 1123  
1124 1124  
1196 +
1125 1125  == 7.23 Set Packet Receiving Response Level ==
1126 1126  
1127 1127  
... ... @@ -1128,7 +1128,7 @@
1128 1128  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.
1129 1129  
1130 1130  
1131 -RPL value:
1203 +**RPL value:**
1132 1132  
1133 1133  * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform.
1134 1134  * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00.
... ... @@ -1137,7 +1137,7 @@
1137 1137  * **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.
1138 1138  
1139 1139  
1140 -Case Analyes:
1212 +**Case Analyes:**
1141 1141  
1142 1142  * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software.
1143 1143  * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command.
... ... @@ -1154,6 +1154,7 @@
1154 1154  )))
1155 1155  |(% style="width:160px" %)AT+RPL=0|(% style="width:263px" %)Set packet receiving response level|(% style="width:109px" %)OK
1156 1156  
1229 +
1157 1157  (% style="color:blue" %)**Downlink Command: 0x21**
1158 1158  
1159 1159  Format: Command Code (0x21) followed by 1 bytes level value.
... ... @@ -1165,23 +1165,29 @@
1165 1165  
1166 1166  
1167 1167  
1241 +
1168 1168  == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) ==
1169 1169  
1170 1170  
1171 1171  (% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS **
1172 1172  
1173 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %)
1174 -|=(% colspan="3" style="width: 533px;" %)AT+**SETMAXNBTRANS**
1175 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response**
1176 -|(% style="width:160px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:263px" %)Value1: set the maximum NBTrans.|(% style="width:109px" %)1(((
1247 +(% border="1" style="background-color:#ffffcc; color:green; width:589px" %)
1248 +|=(% colspan="3" style="width: 586px;" %)AT+**SETMAXNBTRANS**
1249 +|(% style="width:227px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:87px" %)**Response**
1250 +|(% style="width:227px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1(((
1177 1177  OK
1178 1178  )))
1179 -|(% style="width:160px" %)**AT+SETMAXNBTRANS=?,1**|(% style="width:263px" %)value2: 0: uplink fcnt doesn't change for each NBTrans; 1: uplink fcnt increase by 1 for each NBTrans.|(% style="width:109px" %)(((
1253 +|(% style="width:227px" %)**AT+SETMAXNBTRANS=?,1**|(% style="width:300px" %)(((
1254 +value2: 0: uplink fcnt doesn't change for each NBTrans;
1255 +
1256 +1: uplink fcnt increase by 1 for each NBTrans.
1257 +)))|(% style="width:87px" %)(((
1180 1180  1
1181 1181  
1182 1182  OK
1183 1183  )))
1184 1184  
1263 +
1185 1185  (% style="color:blue" %)**Downlink Command: 0x33**
1186 1186  
1187 1187  Format: Command Code (0x33) followed by 2 bytes mode value.
... ... @@ -1229,6 +1229,7 @@
1229 1229  OK
1230 1230  )))
1231 1231  
1311 +
1232 1232  (% style="color:blue" %)**Downlink Command: 0x33**
1233 1233  
1234 1234  Format: Command Code (0x32) followed by 2 bytes mode value.
... ... @@ -1257,6 +1257,7 @@
1257 1257  )))
1258 1258  
1259 1259  
1340 +
1260 1260  == 7.27 Adjust network rejoining interval ==
1261 1261  
1262 1262  
... ... @@ -1274,6 +1274,7 @@
1274 1274  Set the ReJoin data transmission interval to 60000ms = 60 seconds
1275 1275  )))
1276 1276  
1358 +
1277 1277  (% style="color:blue" %)**Downlink Command: 0x26**
1278 1278  
1279 1279  Format: Command Code (0x26) followed by 2 bytes mode value.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0