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" %) (%%) ... ... @@ -798,6 +798,8 @@ 798 798 799 799 ))) 800 800 803 +(% style="display:none" %) (%%) 804 + 801 801 == 7.7 Join Accept Delay1 == 802 802 803 803 ... ... @@ -816,6 +816,8 @@ 816 816 817 817 ))) 818 818 823 +(% style="display:none" %) (%%) 824 + 819 819 == 7.8 Join Accept Delay2 == 820 820 821 821 ... ... @@ -834,6 +834,8 @@ 834 834 835 835 ))) 836 836 843 +(% style="display:none" %) (%%) 844 + 837 837 == 7.9 Public Network Mode == 838 838 839 839 ... ... @@ -861,6 +861,8 @@ 861 861 ))) 862 862 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 863 863 872 +(% style="display:none" %) (%%) 873 + 864 864 == 7.10 Receive Delay1 == 865 865 866 866 ... ... @@ -879,6 +879,8 @@ 879 879 880 880 ))) 881 881 892 +(% style="display:none" %) (%%) 893 + 882 882 == 7.11 Receive Delay2 == 883 883 884 884 ... ... @@ -897,6 +897,8 @@ 897 897 898 898 ))) 899 899 912 +(% style="display:none" %) (%%) 913 + 900 900 == 7.12 Rx2 Window Data Rate == 901 901 902 902 ... ... @@ -915,6 +915,8 @@ 915 915 916 916 ))) 917 917 932 +(% style="display:none" %) (%%) 933 + 918 918 == 7.13 Rx2 Window Frequency == 919 919 920 920 ... ... @@ -933,6 +933,8 @@ 933 933 934 934 ))) 935 935 952 +(% style="display:none" %) (%%) 953 + 936 936 == 7.14 Transmit Power == 937 937 938 938 ... ... @@ -960,6 +960,8 @@ 960 960 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 961 961 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+TXP=0. 962 962 981 +(% style="display:none" %) (%%) 982 + 963 963 == 7.15 RSSI of the Last Received Packet == 964 964 965 965 ... ... @@ -975,6 +975,8 @@ 975 975 OK 976 976 ))) 977 977 998 +(% style="display:none" %) (%%) 999 + 978 978 == 7.16 SNR of the Last Received Packet == 979 979 980 980 ... ... @@ -990,6 +990,8 @@ 990 990 OK 991 991 ))) 992 992 1015 +(% style="display:none" %) (%%) 1016 + 993 993 == 7.17 Application Port == 994 994 995 995 ... ... @@ -1015,6 +1015,8 @@ 1015 1015 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 1016 1016 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 1017 1017 1042 +(% style="display:none" %) (%%) 1043 + 1018 1018 == 7.18 Single Channel Mode == 1019 1019 1020 1020 ... ... @@ -1031,6 +1031,8 @@ 1031 1031 ))) 1032 1032 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1033 1033 1060 +(% style="display:none" %) (%%) 1061 + 1034 1034 == 7.19 Eight Channel Mode == 1035 1035 1036 1036 ... ... @@ -1058,6 +1058,8 @@ 1058 1058 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1059 1059 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1060 1060 1089 +(% style="display:none" %) (%%) 1090 + 1061 1061 == 7.20 Get or Set RXwindows1 timeout == 1062 1062 1063 1063 ... ... @@ -1074,24 +1074,19 @@ 1074 1074 ))) 1075 1075 |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK 1076 1076 1077 -((( 1078 - 1107 +(% style="display:none" %) (%%) 1079 1079 1080 - 1109 +((( 1081 1081 (% 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. 1082 - 1083 - 1084 1084 ))) 1085 1085 1086 1086 [[image:image-20220526162535-1.png]] 1087 1087 1088 - 1089 1089 ((( 1090 1090 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. 1091 - 1092 - 1093 1093 ))) 1094 1094 1119 + 1095 1095 == 7.21 Get or Set RXwindows2 timeout == 1096 1096 1097 1097 ... ... @@ -1108,6 +1108,8 @@ 1108 1108 ))) 1109 1109 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1110 1110 1136 +(% style="display:none" %) (%%) 1137 + 1111 1111 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1112 1112 1113 1113 ... ... @@ -1133,6 +1133,8 @@ 1133 1133 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1134 1134 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1135 1135 1163 +(% style="display:none" %) (%%) 1164 + 1136 1136 == 7.23 Set Packet Receiving Response Level == 1137 1137 1138 1138 ... ... @@ -1172,6 +1172,8 @@ 1172 1172 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1173 1173 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1174 1174 1204 +(% style="display:none" %) (%%) 1205 + 1175 1175 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1176 1176 1177 1177 ... ... @@ -1202,6 +1202,8 @@ 1202 1202 * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0 1203 1203 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1204 1204 1236 +(% style="display:none" %) (%%) 1237 + 1205 1205 == 7.25 Device offline rejoining (LWS007) == 1206 1206 1207 1207 ... ... @@ -1255,6 +1255,8 @@ 1255 1255 ** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours) 1256 1256 ** **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. 1257 1257 1291 +(% style="display:none" %) (%%) 1292 + 1258 1258 == 7.26 Request the server to send an ACK == 1259 1259 1260 1260 ... ... @@ -1268,10 +1268,11 @@ 1268 1268 ))) 1269 1269 |(% style="width:160px" %)**AT+PNACKMD=0**|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)((( 1270 1270 0 1271 - 1272 1272 OK 1273 1273 ))) 1274 1274 1309 +(% style="display:none" %) (%%) 1310 + 1275 1275 == 7.27 Adjust network rejoining interval == 1276 1276 1277 1277 ... ... @@ -1298,6 +1298,8 @@ 1298 1298 * **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1299 1299 * **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1300 1300 1337 +(% style="display:none" %) (%%) 1338 + 1301 1301 = 8. AT Commands Combination = 1302 1302 1303 1303 == 8.1 Set a fix RX2DR for downlink window == ... ... @@ -1304,8 +1304,11 @@ 1304 1304 1305 1305 1306 1306 * (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1345 + 1307 1307 * (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1308 1308 1348 +(% style="display:none" %) (%%) 1349 + 1309 1309 == 8.2 Use Downlink Command to set a fix uplink DR == 1310 1310 1311 1311 ... ... @@ -1314,7 +1314,9 @@ 1314 1314 **Same as:** 1315 1315 1316 1316 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1358 + 1317 1317 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1360 + 1318 1318 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1319 1319 1320 1320