Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Edwin - 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 + 30 30 = 3. Support End Node and firmware version = 31 31 32 32 ... ... @@ -514,10 +514,10 @@ 514 514 515 515 (% style="color:blue" %)**AT Command: AT+CFS** 516 516 517 -(% border="1" style="background-color:#ffffcc; color:green; width: 534.222px" %)518 -|=(% colspan="3" style="width: 531px;" %)AT+CFS519 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:17 8px" %)**Response**520 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:17 8px" %)0(((518 +(% border="1" style="background-color:#ffffcc; color:green; width:463px" %) 519 +|=(% colspan="3" style="width: 460px;" %)AT+CFS 520 +|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:107px" %)**Response** 521 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0((( 521 521 OK 522 522 ))) 523 523 ... ... @@ -1215,6 +1215,11 @@ 1215 1215 1216 1216 (% style="color:blue" %)**AT Command: AT+DDETECT** 1217 1217 1219 +AT+DDETECT=<Flag>,<ACK_Timout_1>,<ACK_Timout_2> (Default Value: AT+DDETECT=1,1440,2880) 1220 + 1221 +* ACK_Timout_1: Unit: min 1222 +* ACK_Timout_2: Unit: min 1223 + 1218 1218 (% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1219 1219 |=(% colspan="3" style="width: 707px;" %)AT+**DDETECT** 1220 1220 |(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** ... ... @@ -1246,13 +1246,17 @@ 1246 1246 OK 1247 1247 ))) 1248 1248 1249 -(% style="color:blue" %)**Downlink Command: 0x3 3**1255 +(% style="color:blue" %)**Downlink Command: 0x32** 1250 1250 1251 1251 Format: Command Code (0x32) followed by 2 bytes mode value. 1252 1252 1253 -If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 3 3.1259 +If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 32. 1254 1254 1255 -* **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1261 +* **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1262 +** 0x01 : Flag 1263 +** 0x05A0: ACK_Timout_1 : 1440minutes (24 hours) 1264 +** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours) 1265 +** **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. 1256 1256 1257 1257 1258 1258 == 7.26 Request the server to send an ACK ==