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
-
... ... @@ -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,13 +21,14 @@ 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 -** 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 +** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]] 28 28 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 29 29 30 30 32 + 31 31 = 3. Support End Node and firmware version = 32 32 33 33 ... ... @@ -106,6 +106,7 @@ 106 106 107 107 = 4. System Management Commands = 108 108 111 + 109 109 == 4.1 Change Uplink Interval == 110 110 111 111 ... ... @@ -177,6 +177,7 @@ 177 177 ((( 178 178 If the downlink payload=**04FF**, the end node will reboot. 179 179 183 + 180 180 181 181 ))) 182 182 ... ... @@ -216,6 +216,7 @@ 216 216 ))) 217 217 218 218 223 + 219 219 == 4.4 Show Firmware Version == 220 220 221 221 ... ... @@ -246,6 +246,7 @@ 246 246 ((( 247 247 248 248 254 + 249 249 **xx: Software Type:** 250 250 ))) 251 251 ... ... @@ -279,6 +279,7 @@ 279 279 firmware version: v1.1.0 ~-~-> 110 280 280 281 281 288 + 282 282 == 4.5 Show System Configure == 283 283 284 284 ... ... @@ -308,6 +308,7 @@ 308 308 309 309 = 5. Keys, IDs and EUIs management = 310 310 318 + 311 311 == 5.1 Application EUI == 312 312 313 313 ... ... @@ -442,8 +442,10 @@ 442 442 443 443 = 6. Joining and sending date on LoRaWAN network = 444 444 453 + 445 445 == 6.1 Confirm Mode == 446 446 456 + 447 447 === 6.1.1 AT+CFM command before DR-LWS007 software stack === 448 448 449 449 ... ... @@ -677,6 +677,7 @@ 677 677 678 678 = 7. LoRaWAN network management = 679 679 690 + 680 680 == 7.1 Adaptive Data Rate == 681 681 682 682 ... ... @@ -748,14 +748,9 @@ 748 748 == 7.4 Data Rate == 749 749 750 750 751 -Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . 762 +Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . 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 752 752 753 -(% style="color:red" %) 754 -**Notice:** 755 755 756 -* 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. 757 -* 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/]] 758 - 759 759 (% style="color:blue" %)**AT Command: AT+DR** 760 760 761 761 (% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) ... ... @@ -1091,7 +1091,7 @@ 1091 1091 ))) 1092 1092 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1093 1093 1094 -(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)**1100 +(% style="color:blue" %)**Downlink Command: 0x24** 1095 1095 1096 1096 Format: Command Code (0x24) followed by 1 bytes channel value. 1097 1097 ... ... @@ -1133,6 +1133,7 @@ 1133 1133 ((( 1134 1134 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. 1135 1135 1142 + 1136 1136 1137 1137 ))) 1138 1138 ... ... @@ -1201,6 +1201,7 @@ 1201 1201 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. 1202 1202 * For Class C devices used in TTI, need to set AT+RPL=4 because TTI require immediately reply message to Confirmed Data Down & MAC Command. 1203 1203 1211 + 1204 1204 (% style="color:blue" %)**AT Command: AT+RPL** 1205 1205 1206 1206 (% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) ... ... @@ -1319,6 +1319,7 @@ 1319 1319 1320 1320 1321 1321 1330 + 1322 1322 == 7.27 Adjust network rejoining interval == 1323 1323 1324 1324 ... ... @@ -1349,6 +1349,7 @@ 1349 1349 1350 1350 = 8. AT Commands Combination = 1351 1351 1361 + 1352 1352 == 8.1 Set a fix RX2DR for downlink window == 1353 1353 1354 1354