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
-
... ... @@ -1,4 +1,4 @@ 1 -Contens 1 + Contents: 2 2 3 3 {{toc/}} 4 4 ... ... @@ -10,8 +10,10 @@ 10 10 * **Common Commands:** They should be available for each sensor, such as: change uplink interval, reset device. 11 11 * **Sensor Related Commands:** Only for special sensor, such as control relay, poll RS485 device. 12 12 13 +((( 13 13 **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.** 14 14 16 +))) 15 15 16 16 = 2. How to use AT Commands or Downlink command = 17 17 ... ... @@ -24,19 +24,75 @@ 24 24 = 3. Support End Node and firmware version = 25 25 26 26 (% border="1" style="background-color:#ffffcc; border:1; color:green; width:995.222px" %) 27 -|=(% colspan="3" style="width: 992px;" %)Dragino STM32 base hardware Firmware / LoRaWAN stack list 28 -|(% style="width:187px" %)**Model**|(% style="width:349px" %)**Description**|(% style="width:453px" %)**Firmware Version <~-~-> Stack Version** 29 -|(% style="width:187px" %)[[LSN50-v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LSN50-V2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]],|(% style="width:349px" %)Open Source Generic LoRaWAN Sensor Node|(% style="width:453px" %)LSN50 v1.6.0 <~-~-> DR-LWS-003;((( 29 +|=(% colspan="3" style="width: 992px;" %)((( 30 +Dragino STM32 base hardware Firmware / LoRaWAN stack list 31 +))) 32 +|(% style="width:187px" %)((( 33 +**Model** 34 +)))|(% style="width:349px" %)((( 35 +**Description** 36 +)))|(% style="width:453px" %)((( 37 +**Firmware Version <~-~-> Stack Version** 38 +))) 39 +|(% style="width:187px" %)((( 40 +[[LSN50-v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LSN50-V2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]], 41 +)))|(% style="width:349px" %)((( 42 +Open Source Generic LoRaWAN Sensor Node 43 +)))|(% style="width:453px" %)((( 44 +((( 45 +LSN50 v1.6.0 <~-~-> DR-LWS-003; 46 +))) 47 + 48 +((( 49 +((( 30 30 LSN50 v1.7.0 <~-~-> DR-LWS-005; ~-~-> Support since this version 31 31 ))) 32 -|(% style="width:187px" %)[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]],|(% style="width:349px" %)LoRaWAN GPS Tracker|(% style="width:453px" %)LGT92 v1.6.3 <~-~-> DR-LWS-003;((( 52 +))) 53 +))) 54 +|(% style="width:187px" %)((( 55 +[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]], 56 +)))|(% style="width:349px" %)((( 57 +LoRaWAN GPS Tracker 58 +)))|(% style="width:453px" %)((( 59 +((( 60 +LGT92 v1.6.3 <~-~-> DR-LWS-003; 61 +))) 62 + 63 +((( 64 +((( 33 33 LGT92 v1.6.4 <~-~-> DR-LWS-005;~-~-> Support since this version 34 34 ))) 35 -|(% style="width:187px" %)[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]],|(% style="width:349px" %)LoRaWAN BLE Indoor Tracker|(% style="width:453px" %)LBT1 v1.0 <~-~-> DR-LWS-005; 36 -|(% style="width:187px" %)[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]],|(% style="width:349px" %)LoRaWAN RS485 Modbus Converter|(% style="width:453px" %)RS485-LN v1.3 <~-~-> DR-LWS-005; 37 -|(% style="width:187px" %)[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]],|(% style="width:349px" %)LoRaWAN Temperature & Humidity Sensor|(% style="width:453px" %)LHT65 v1.7 <~-~-> DR-LWS-003;((( 67 +))) 68 +))) 69 +|(% style="width:187px" %)((( 70 +[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]], 71 +)))|(% style="width:349px" %)((( 72 +LoRaWAN BLE Indoor Tracker 73 +)))|(% style="width:453px" %)((( 74 +LBT1 v1.0 <~-~-> DR-LWS-005; 75 +))) 76 +|(% style="width:187px" %)((( 77 +[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]], 78 +)))|(% style="width:349px" %)((( 79 +LoRaWAN RS485 Modbus Converter 80 +)))|(% style="width:453px" %)((( 81 +RS485-LN v1.3 <~-~-> DR-LWS-005; 82 +))) 83 +|(% style="width:187px" %)((( 84 +[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]], 85 +)))|(% style="width:349px" %)((( 86 +LoRaWAN Temperature & Humidity Sensor 87 +)))|(% style="width:453px" %)((( 88 +((( 89 +LHT65 v1.7 <~-~-> DR-LWS-003; 90 +))) 91 + 92 +((( 93 +((( 38 38 LHT65 v1.8.0 <~-~-> DR-LWS-005;~-~-> Support since this version 39 39 ))) 96 +))) 97 +))) 40 40 41 41 = 4. System Management Commands = 42 42 ... ... @@ -65,9 +65,13 @@ 65 65 **Downlink Command: 0x01** 66 66 {{/info}} 67 67 126 +((( 68 68 Format: Command Code (0x01) followed by 3 bytes time value. 128 +))) 69 69 130 +((( 70 70 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 132 +))) 71 71 72 72 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 73 73 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds ... ... @@ -101,9 +101,13 @@ 101 101 **Downlink Command: 0x04** 102 102 {{/info}} 103 103 166 +((( 104 104 Format: Command Code (0x04) followed by FF. 168 +))) 105 105 170 +((( 106 106 If the downlink payload=**04FF**, the end node will reboot. 172 +))) 107 107 108 108 == 4.3 Reset to factory Default == 109 109 ... ... @@ -134,9 +134,13 @@ 134 134 **Downlink Command: 0x04** 135 135 {{/info}} 136 136 203 +((( 137 137 Format: Command Code (0x04) followed by FE. 205 +))) 138 138 207 +((( 139 139 If the downlink payload=**04FE**, Reset Parameters to Factory Default, Keys Reserve. 209 +))) 140 140 141 141 142 142 == 4.4 Show Firmware Version == ... ... @@ -160,17 +160,25 @@ 160 160 **Downlink Command: 0x26 (Valid in 006 stack)** 161 161 {{/info}} 162 162 233 +((( 163 163 Downlink Format: 0x26 235 +))) 164 164 237 +((( 165 165 Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes 239 +))) 166 166 241 +((( 167 167 **xx: Software Type:** 243 +))) 168 168 169 169 * 0x00 01: LGT92 Version 170 170 * 0x00 02: LBT1 171 171 * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01 172 172 249 +((( 173 173 **yy: Frequency Band:** 251 +))) 174 174 175 175 * 0x01: EU868 176 176 * 0x02: US915 ... ... @@ -183,7 +183,9 @@ 183 183 * 0x09: AS923-2 184 184 * 0xa0: AS923-3 185 185 264 +((( 186 186 **zz: Subband** 266 +))) 187 187 188 188 firmware version: v1.1.0 ~-~-> 110 189 189 ... ... @@ -907,11 +907,15 @@ 907 907 ))) 908 908 |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK 909 909 910 -AT+RX1TWO 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. 990 +((( 991 +**AT+RX1TWO** 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. 992 +))) 911 911 912 912 [[image:image-20220511120050-1.png]] 913 913 996 +((( 914 914 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. 998 +))) 915 915 916 916 == 7.21 Get or Set RXwindows2 timeout == 917 917 ... ... @@ -1012,6 +1012,6 @@ 1012 1012 1013 1013 Same as: 1014 1014 1015 -* AT+ADR=0 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#Adaptive _Data_Rate]]1016 -* AT+DR=5 [[Reference>> url:https://wiki.dragino.com/index.php/End_Device_Downlink_Command#Data_Rate]]1017 -* AT+TXP=0 [[Reference>> url:https://wiki.dragino.com/index.php/End_Device_Downlink_Command#Transmit_Power]]1099 +* AT+ADR=0 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.1AdaptiveDataRate]] 1100 +* AT+DR=5 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.4DataRate]] 1101 +* AT+TXP=0 [[Reference>>http://8.211.40.43:8080/xwiki/bin/view/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.14TransmitPower]]