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. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -14,6 +14,7 @@ 14 14 15 15 ((( 16 16 **This page shows the common commands since Dragino LoRaWAN stack DR-LWS-005. Make sure the end node support stack higher than DR-LWS-005 before checking this page.** 17 + 17 17 18 18 19 19 ))) ... ... @@ -21,8 +21,8 @@ 21 21 = 2. How to use AT Commands or Downlink command = 22 22 23 23 24 -* **AT Command**:See Devices User Manual forhow to connect to devicevia USB TTL adapter and use. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]25 -* **LoRaWAN DownlinkCommand**: The gateway transfer downlink command in HEX format. This page shows theDownlinkCommandIn HEXformat.PleasenotesomeLoRaWANservers use base64 as downlink codeso user need to convert HEX to Base64 and use. Below are referencesfor how to use downlink command:25 +* For AT Command , See Devices User Manual for Device. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]] 26 +* For LoRaWAN Downlink: The gateway transfer downlink command in HEX format. This page shows the HEX format downlink code for each command. but some servers use base64 as downlink code. Below are reference for how to use downlink command: 26 26 ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] 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) ... ... @@ -178,6 +178,7 @@ 178 178 ((( 179 179 If the downlink payload=**04FF**, the end node will reboot. 180 180 182 + 181 181 182 182 ))) 183 183 ... ... @@ -217,6 +217,7 @@ 217 217 ))) 218 218 219 219 222 + 220 220 == 4.4 Show Firmware Version == 221 221 222 222 ... ... @@ -247,6 +247,7 @@ 247 247 ((( 248 248 249 249 253 + 250 250 **xx: Software Type:** 251 251 ))) 252 252 ... ... @@ -280,6 +280,7 @@ 280 280 firmware version: v1.1.0 ~-~-> 110 281 281 282 282 287 + 283 283 == 4.5 Show System Configure == 284 284 285 285 ... ... @@ -528,10 +528,10 @@ 528 528 529 529 (% style="color:blue" %)**AT Command: AT+CFS** 530 530 531 -(% border="1" style="background-color:#ffffcc; color:green; width: 463px" %)532 -|=(% colspan="3" style="width: 460px;" %)AT+CFS533 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:1 07px" %)**Response**534 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:1 07px" %)0(((536 +(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 537 +|=(% colspan="3" style="width: 531px;" %)AT+CFS 538 +|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response** 539 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:178px" %)0((( 535 535 OK 536 536 ))) 537 537 ... ... @@ -752,11 +752,9 @@ 752 752 Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . 753 753 754 754 (% style="color:red" %) 755 -**Notice:** 760 +Note: while set Data Rate, please use set Adptive Data Rate, ADR=0 first. otherwise device will response to server's ADR command and change the DR to the setting from server. 761 +(%%) 756 756 757 -* User need to set Adaptive Data Rate(ADR)=0 first. otherwise device will respond to server's ADR command and change the DR according to server auto-adjustment. 758 -* Data Rate specifies Spreading Factor. The mapping varies in different frequency bands. User can check this link for detail. [[rp2-1.0.3-lorawan-regional-parameters.pdf>>https://lora-alliance.org/resource_hub/rp2-1-0-3-lorawan-regional-parameters/]] 759 - 760 760 (% style="color:blue" %)**AT Command: AT+DR** 761 761 762 762 (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) ... ... @@ -1092,7 +1092,7 @@ 1092 1092 ))) 1093 1093 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1094 1094 1095 -(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**1098 +(% style="color:blue" %)**Downlink Command: 0x24** 1096 1096 1097 1097 Format: Command Code (0x24) followed by 1 bytes channel value. 1098 1098 ... ... @@ -1134,6 +1134,7 @@ 1134 1134 ((( 1135 1135 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. 1136 1136 1140 + 1137 1137 1138 1138 ))) 1139 1139 ... ... @@ -1328,13 +1328,13 @@ 1328 1328 (% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 1329 1329 |=(% colspan="3" style="width: 724px;" %)AT+RJTDC 1330 1330 |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 1331 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30((( 1335 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000((( 1332 1332 OK 1333 1333 1334 -the interval is 30 in1338 +the interval is 30000ms = 30s 1335 1335 ))) 1336 -|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK((( 1337 -Set the ReJoin data transmission interval to 60 in1340 +|(% style="width:165px" %)AT+RJTDC=60000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK((( 1341 +Set the ReJoin data transmission interval to 60000ms = 60 seconds 1338 1338 ))) 1339 1339 1340 1340 (% style="color:blue" %)**Downlink Command: 0x26**