Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -291,18 +291,15 @@ 291 291 |(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** 292 292 |(% style="width:160px" %)AT+CFG|(% style="width:154px" %)Show all configures|(% style="width:280px" %)((( 293 293 AT+DEUI = XX XX XX XX XX XX XX XX 294 - 295 295 AT+DADDR=XXXXXXXX 296 - 297 297 ………. 298 - 299 299 AT+RX2WTO=X 300 - 301 301 AT+CHS=868100000 302 - 303 303 OK 304 304 ))) 305 305 301 +(% style="display:none" %) (%%) 302 + 306 306 = 5. Keys, IDs and EUIs management = 307 307 308 308 == 5.1 Application EUI == ... ... @@ -531,6 +531,8 @@ 531 531 OK 532 532 ))) 533 533 531 +(% style="display:none" %) (%%) 532 + 534 534 == 6.3 Join LoRa® Network == 535 535 536 536 ... ... @@ -544,10 +544,11 @@ 544 544 |(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** 545 545 |(% style="width:163px" %)AT+JOIN ?|(% style="width:147px" %)Get imformation.|(% style="width:334px" %)AT+JOIN: Join network((( 546 546 OK 547 - 548 548 While Error in format, return AT_BUSY_ERROR 549 549 ))) 550 550 549 +(% style="display:none" %) (%%) 550 + 551 551 == 6.4 LoRa® Network Join Mode == 552 552 553 553 ... ... @@ -708,6 +708,7 @@ 708 708 OK 709 709 ))) 710 710 |(% style="width:163px" %)AT+CLASS=C|(% style="width:166px" %)Set the Device Class.|(% style="width:175px" %)OK((( 711 + 711 711 ))) 712 712 713 713 (% style="display:none" %) (%%) ... ... @@ -727,6 +727,7 @@ 727 727 OK 728 728 ))) 729 729 |(% style="width:165px" %)AT+DCS=1|(% style="width:239px" %)Set the ETSI Duty Cycle setting.|(% style="width:107px" %)OK((( 731 + 730 730 ))) 731 731 732 732 (% style="display:none" %) (%%) ... ... @@ -781,6 +781,8 @@ 781 781 OK 782 782 ))) 783 783 786 +(% style="display:none" %) (%%) 787 + 784 784 == 7.6 Frame Counter Uplink == 785 785 786 786 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -795,6 +795,7 @@ 795 795 OK 796 796 ))) 797 797 |(% style="width:177px" %)AT+FCU=10|(% style="width:239px" %)Set the Frame Counter Uplink.|(% style="width:113px" %)OK((( 802 + 798 798 ))) 799 799 800 800 (% style="display:none" %) (%%) ... ... @@ -814,6 +814,7 @@ 814 814 OK 815 815 ))) 816 816 |(% style="width:164px" %)AT+JN1DL=10000|(% style="width:229px" %)Set the Join Accept Delay.|(% style="width:140px" %)OK((( 822 + 817 817 ))) 818 818 819 819 (% style="display:none" %) (%%) ... ... @@ -833,6 +833,7 @@ 833 833 OK 834 834 ))) 835 835 |(% style="width:160px" %)AT+JN2DL=20000|(% style="width:228px" %)Set the Join Accept Delay.|(% style="width:146px" %)OK((( 842 + 836 836 ))) 837 837 838 838 (% style="display:none" %) (%%) ... ... @@ -864,6 +864,8 @@ 864 864 ))) 865 865 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 866 866 874 +(% style="display:none" %) (%%) 875 + 867 867 == 7.10 Receive Delay1 == 868 868 869 869 ... ... @@ -882,6 +882,8 @@ 882 882 883 883 ))) 884 884 894 +(% style="display:none" %) (%%) 895 + 885 885 == 7.11 Receive Delay2 == 886 886 887 887 ... ... @@ -900,6 +900,8 @@ 900 900 901 901 ))) 902 902 914 +(% style="display:none" %) (%%) 915 + 903 903 == 7.12 Rx2 Window Data Rate == 904 904 905 905 ... ... @@ -918,6 +918,8 @@ 918 918 919 919 ))) 920 920 934 +(% style="display:none" %) (%%) 935 + 921 921 == 7.13 Rx2 Window Frequency == 922 922 923 923 ... ... @@ -936,6 +936,8 @@ 936 936 937 937 ))) 938 938 954 +(% style="display:none" %) (%%) 955 + 939 939 == 7.14 Transmit Power == 940 940 941 941 ... ... @@ -963,6 +963,8 @@ 963 963 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 964 964 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 965 965 983 +(% style="display:none" %) (%%) 984 + 966 966 == 7.15 RSSI of the Last Received Packet == 967 967 968 968 ... ... @@ -978,6 +978,8 @@ 978 978 OK 979 979 ))) 980 980 1000 +(% style="display:none" %) (%%) 1001 + 981 981 == 7.16 SNR of the Last Received Packet == 982 982 983 983 ... ... @@ -993,6 +993,8 @@ 993 993 OK 994 994 ))) 995 995 1017 +(% style="display:none" %) (%%) 1018 + 996 996 == 7.17 Application Port == 997 997 998 998 ... ... @@ -1018,6 +1018,8 @@ 1018 1018 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 1019 1019 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 1020 1020 1044 +(% style="display:none" %) (%%) 1045 + 1021 1021 == 7.18 Single Channel Mode == 1022 1022 1023 1023 ... ... @@ -1034,6 +1034,8 @@ 1034 1034 ))) 1035 1035 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1036 1036 1062 +(% style="display:none" %) (%%) 1063 + 1037 1037 == 7.19 Eight Channel Mode == 1038 1038 1039 1039 ... ... @@ -1061,6 +1061,8 @@ 1061 1061 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1062 1062 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1063 1063 1091 +(% style="display:none" %) (%%) 1092 + 1064 1064 == 7.20 Get or Set RXwindows1 timeout == 1065 1065 1066 1066 ... ... @@ -1077,24 +1077,19 @@ 1077 1077 ))) 1078 1078 |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK 1079 1079 1080 -((( 1081 - 1109 +(% style="display:none" %) (%%) 1082 1082 1083 - 1111 +((( 1084 1084 (% style="color:blue" %)**AT+RX1WTO**(%%) 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. 1085 - 1086 - 1087 1087 ))) 1088 1088 1089 1089 [[image:image-20220526162535-1.png]] 1090 1090 1091 - 1092 1092 ((( 1093 1093 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. 1094 - 1095 - 1096 1096 ))) 1097 1097 1121 + 1098 1098 == 7.21 Get or Set RXwindows2 timeout == 1099 1099 1100 1100 ... ... @@ -1111,6 +1111,8 @@ 1111 1111 ))) 1112 1112 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1113 1113 1138 +(% style="display:none" %) (%%) 1139 + 1114 1114 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1115 1115 1116 1116 ... ... @@ -1136,6 +1136,8 @@ 1136 1136 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1137 1137 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1138 1138 1165 +(% style="display:none" %) (%%) 1166 + 1139 1139 == 7.23 Set Packet Receiving Response Level == 1140 1140 1141 1141 ... ... @@ -1175,6 +1175,8 @@ 1175 1175 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1176 1176 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1177 1177 1206 +(% style="display:none" %) (%%) 1207 + 1178 1178 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1179 1179 1180 1180 ... ... @@ -1205,6 +1205,8 @@ 1205 1205 * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0 1206 1206 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1207 1207 1238 +(% style="display:none" %) (%%) 1239 + 1208 1208 == 7.25 Device offline rejoining (LWS007) == 1209 1209 1210 1210 ... ... @@ -1258,6 +1258,8 @@ 1258 1258 ** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours) 1259 1259 ** **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join. 1260 1260 1293 +(% style="display:none" %) (%%) 1294 + 1261 1261 == 7.26 Request the server to send an ACK == 1262 1262 1263 1263 ... ... @@ -1271,10 +1271,11 @@ 1271 1271 ))) 1272 1272 |(% style="width:160px" %)**AT+PNACKMD=0**|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)((( 1273 1273 0 1274 - 1275 1275 OK 1276 1276 ))) 1277 1277 1311 +(% style="display:none" %) (%%) 1312 + 1278 1278 == 7.27 Adjust network rejoining interval == 1279 1279 1280 1280 ... ... @@ -1301,6 +1301,8 @@ 1301 1301 * **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1302 1302 * **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1303 1303 1339 +(% style="display:none" %) (%%) 1340 + 1304 1304 = 8. AT Commands Combination = 1305 1305 1306 1306 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1307,8 +1307,11 @@ 1307 1307 1308 1308 1309 1309 * (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1347 + 1310 1310 * (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1311 1311 1350 +(% style="display:none" %) (%%) 1351 + 1312 1312 == 8.2 Use Downlink Command to set a fix uplink DR == 1313 1313 1314 1314 ... ... @@ -1317,7 +1317,9 @@ 1317 1317 **Same as:** 1318 1318 1319 1319 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1360 + 1320 1320 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1362 + 1321 1321 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1322 1322 1323 1323