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
-
... ... @@ -27,6 +27,7 @@ 27 27 ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]], [[How to Convert>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.1ConvertHEXtoBase64]]? 28 28 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 29 29 30 +(% style="display:none" %) (%%) 30 30 31 31 32 32 = 3. Support End Node and firmware version = ... ... @@ -103,7 +103,6 @@ 103 103 ))) 104 104 ))) 105 105 106 - 107 107 = 4. System Management Commands = 108 108 109 109 == 4.1 Change Uplink Interval == ... ... @@ -175,7 +175,6 @@ 175 175 ((( 176 176 If the downlink payload=**04FF**, the end node will reboot. 177 177 178 - 179 179 180 180 ))) 181 181 ... ... @@ -215,7 +215,6 @@ 215 215 ))) 216 216 217 217 218 - 219 219 == 4.4 Show Firmware Version == 220 220 221 221 ... ... @@ -246,7 +246,6 @@ 246 246 ((( 247 247 248 248 249 - 250 250 **xx: Software Type:** 251 251 ))) 252 252 ... ... @@ -280,7 +280,6 @@ 280 280 firmware version: v1.1.0 ~-~-> 110 281 281 282 282 283 - 284 284 == 4.5 Show System Configure == 285 285 286 286 ... ... @@ -509,10 +509,10 @@ 509 509 510 510 (% style="color:blue" %)**AT Command: AT+CFS** 511 511 512 -(% border="1" style="background-color:#ffffcc; color:green; width: 534.222px" %)513 -|=(% colspan="3" style="width: 531px;" %)AT+CFS514 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:17 8px" %)**Response**515 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:17 8px" %)0(((508 +(% border="1" style="background-color:#ffffcc; color:green; width:463px" %) 509 +|=(% colspan="3" style="width: 460px;" %)AT+CFS 510 +|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:107px" %)**Response** 511 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0((( 516 516 OK 517 517 ))) 518 518 ... ... @@ -1061,7 +1061,6 @@ 1061 1061 ((( 1062 1062 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. 1063 1063 1064 - 1065 1065 1066 1066 ))) 1067 1067 ... ... @@ -1180,6 +1180,11 @@ 1180 1180 1181 1181 (% style="color:blue" %)**AT Command: AT+DDETECT** 1182 1182 1178 +AT+DDETECT=<Flag>,<ACK_Timout_1>,<ACK_Timout_2> (Default Value: AT+DDETECT=1,1440,2880) 1179 + 1180 +* ACK_Timout_1: Unit: min 1181 +* ACK_Timout_2: Unit: min 1182 + 1183 1183 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1184 1184 |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT** 1185 1185 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -1211,13 +1211,17 @@ 1211 1211 OK 1212 1212 ))) 1213 1213 1214 -(% style="color:blue" %)**Downlink Command: 0x3 3**1214 +(% style="color:blue" %)**Downlink Command: 0x32** 1215 1215 1216 1216 Format: Command Code (0x32) followed by 2 bytes mode value. 1217 1217 1218 -If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 3 3.1218 +If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 32. 1219 1219 1220 -* **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1220 +* **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1221 +** 0x01 : Flag 1222 +** 0x05A0: ACK_Timout_1 : 1440minutes (24 hours) 1223 +** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours) 1224 +** **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. 1221 1221 1222 1222 == 7.26 Request the server to send an ACK == 1223 1223 ... ... @@ -1244,13 +1244,13 @@ 1244 1244 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 1245 1245 |=(% colspan="3" style="width: 724px;" %)AT+RJTDC 1246 1246 |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 1247 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30 000(((1251 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30((( 1248 1248 OK 1249 1249 1250 -the interval is 30 000ms= 30s1254 +the interval is 30 min 1251 1251 ))) 1252 -|(% style="width:165px" %)AT+RJTDC=60 000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((1253 -Set the ReJoin data transmission interval to 60 000ms= 60 seconds1256 +|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK((( 1257 +Set the ReJoin data transmission interval to 60 min 1254 1254 ))) 1255 1255 1256 1256 (% style="color:blue" %)**Downlink Command: 0x26**