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
-
... ... @@ -23,18 +23,18 @@ 23 23 24 24 = 3. Support End Node and firmware version = 25 25 26 -(% border="1"style="background-color:#ffffcc; color:green; width:957.222px" %)27 -|=(% colspan="3" style="width: 9 54px;Alignment:center" %)28 -|(% style="width:1 98px" %)**Model**|(% style="width:311px" %)**Description**|(% style="width:444px" %)**Firmware Version <~-~-> Stack Version**29 -|(% style="width:1 98px" %)[[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:311px" %)Open Source Generic LoRaWAN Sensor Node|(% style="width:444px" %)LSN50 v1.6.0 <~-~-> DR-LWS-003;(((26 +(% style="background-color:#ffffcc; 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;((( 30 30 LSN50 v1.7.0 <~-~-> DR-LWS-005; ~-~-> Support since this version 31 31 ))) 32 -|(% style="width:1 98px" %)[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]],|(% style="width:311px" %)LoRaWAN GPS Tracker|(% style="width:444px" %)LGT92 v1.6.3 <~-~-> DR-LWS-003;(((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;((( 33 33 LGT92 v1.6.4 <~-~-> DR-LWS-005;~-~-> Support since this version 34 34 ))) 35 -|(% style="width:1 98px" %)[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]],|(% style="width:311px" %)LoRaWAN BLE Indoor Tracker|(% style="width:444px" %)LBT1 v1.0 <~-~-> DR-LWS-005;36 -|(% style="width:1 98px" %)[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]],|(% style="width:311px" %)LoRaWAN RS485 Modbus Converter|(% style="width:444px" %)RS485-LN v1.3 <~-~-> DR-LWS-005;37 -|(% style="width:1 98px" %)[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]],|(% style="width:311px" %)LoRaWAN Temperature & Humidity Sensor|(% style="width:444px" %)LHT65 v1.7 <~-~-> DR-LWS-003;(((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;((( 38 38 LHT65 v1.8.0 <~-~-> DR-LWS-005;~-~-> Support since this version 39 39 ))) 40 40 ... ... @@ -46,22 +46,24 @@ 46 46 47 47 (% class="box infomessage" %) 48 48 ((( 49 -AT Command: AT+TDC 49 +**AT Command: AT+TDC** 50 50 ))) 51 51 52 -(% border="1"style="background-color:#ffffcc; color:green; width:727.222px" %)53 -|=(% colspan="3" style="width: 724px; Alignment" %)54 -|(% style="width:16 8px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:333px" %)**Response**55 -|(% style="width:16 8px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:333px" %)30000(((52 +(% style="background-color:#ffffcc; color:green; width:727.222px" %) 53 +|=(% colspan="3" style="width: 724px;" %)AT+TDC 54 +|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 55 +|(% style="width:165px" %)AT+TDC=?|(% style="width:227px" %)Show current transmit Interval|(% style="width:329px" %)30000((( 56 56 OK 57 57 58 58 the interval is 30000ms = 30s 59 59 ))) 60 -|(% style="width:16 8px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:333px" %)OK(((60 +|(% style="width:165px" %)AT+TDC=60000|(% style="width:227px" %)Set Transmit Interval|(% style="width:329px" %)OK((( 61 61 Set transmit interval to 60000ms = 60 seconds 62 62 ))) 63 63 64 +{{info}} 64 64 **Downlink Command: 0x01** 66 +{{/info}} 65 65 66 66 Format: Command Code (0x01) followed by 3 bytes time value. 67 67 ... ... @@ -75,52 +75,66 @@ 75 75 Feature: Reboot End Node to perform a new OTAA or ABP Join. 76 76 77 77 {{info}} 78 -AT Command: ATZ 80 +**AT Command: ATZ** 79 79 {{/info}} 80 80 81 - 83 +(% border="0" style="background-color:#ffffcc; color:green; width:727.222px" %) 82 82 |=(% colspan="3" %)ATZ: Trig a reset of the MCU 83 83 |**Command Example**|**Function**|**Response** 84 -|ATZ|Reset MCU|Device reset and show booting info 86 +|ATZ|Reset MCU|((( 87 +Device reset and show booting info 85 85 86 -{{{LSN50 Device/LoRa ST Module 89 +LSN50 Device/LoRa ST Module 90 + 87 87 Image Version: XX 92 + 88 88 Frequency Band: XX 94 + 89 89 DevEui= XX XX XX XX XX XX XX XX 90 90 91 91 <followed by the Tx and Rx information> 92 - }}}98 +))) 93 93 100 +{{info}} 101 +**Downlink Command: 0x04** 102 +{{/info}} 94 94 95 -Downlink Command: 0x04 96 - 97 97 Format: Command Code (0x04) followed by FF. 98 98 99 -If the downlink payload=04FF, the end node will reboot. 106 +If the downlink payload=**04FF**, the end node will reboot. 100 100 101 101 == 4.3 Reset to factory Default == 102 102 103 103 Feature: Reset the parameters to Factory Default, factory default value depends on the firmware settings, the OTAA and ABP keys will reserve after this command. 104 104 105 -AT Command: AT+FDR 112 +{{info}} 113 +**AT Command: AT+FDR** 114 +{{/info}} 106 106 107 -|=(% colspan="3" %)Reset to factory default 108 -|**Command Example**|**Function**|**Response** 109 -|AT+FDR|Reset to factory default|Device reset to factory default parameters and show booting info 116 +(% style="background-color:#ffffcc; color:green; width:831.222px" %) 117 +|=(% colspan="3" style="width: 828px;" %)Reset to factory default 118 +|(% style="width:181px" %)**Command Example**|(% style="width:181px" %)**Function**|(% style="width:465px" %)**Response** 119 +|(% style="width:181px" %)AT+FDR|(% style="width:181px" %)Reset to factory default|(% style="width:465px" %)((( 120 +Device reset to factory default parameters and show booting info 110 110 111 -{{{LSN50 Device/LoRa ST Module 122 +LSN50 Device/LoRa ST Module 123 + 112 112 Image Version: XX 125 + 113 113 Frequency Band: XX 127 + 114 114 DevEui= XX XX XX XX XX XX XX XX 129 + 115 115 Please set the parameters or reset Device to apply change 116 - }}}131 +))) 117 117 133 +{{info}} 134 +**Downlink Command: 0x04** 135 +{{/info}} 118 118 119 -Downlink Command: 0x04 120 - 121 121 Format: Command Code (0x04) followed by FE. 122 122 123 -If the downlink payload=04FE, Reset Parameters to Factory Default, Keys Reserve. 139 +If the downlink payload=**04FE**, Reset Parameters to Factory Default, Keys Reserve. 124 124 125 125 126 126 == 4.4 Show Firmware Version == ... ... @@ -127,30 +127,34 @@ 127 127 128 128 Feature: Show firmware version. No downlink command yet. 129 129 130 -AT Command: AT+VER 146 +{{info}} 147 +**AT Command: AT+VER** 148 +{{/info}} 131 131 150 +(% style="background-color:#ffffcc; color:green" %) 132 132 |=(% colspan="3" %)AT+VER: Image Version and Frequency Band 133 133 |**Command Example**|**Function**|**Response** 134 -|AT+VER=?|Show Image version and Frequency Band| 153 +|AT+VER=?|Show Image version and Frequency Band|((( 154 +1.3 EU868 135 135 136 -{{{1.3 EU868 137 137 OK 138 - }}}157 +))) 139 139 159 +{{info}} 160 +**Downlink Command: 0x26 (Valid in 006 stack)** 161 +{{/info}} 140 140 141 -Downlink Command: 0x26 (Valid in 006 stack) 142 - 143 143 Downlink Format: 0x26 144 144 145 145 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 146 146 147 -xx: Software Type: 167 +**xx: Software Type:** 148 148 149 149 * 0x00 01: LGT92 Version 150 150 * 0x00 02: LBT1 151 151 * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01 152 152 153 -yy: Frequency Band: 173 +**yy: Frequency Band:** 154 154 155 155 * 0x01: EU868 156 156 * 0x02: US915 ... ... @@ -163,7 +163,7 @@ 163 163 * 0x09: AS923-2 164 164 * 0xa0: AS923-3 165 165 166 -zz: Subband 186 +**zz: Subband** 167 167 168 168 firmware version: v1.1.0 ~-~-> 110 169 169 ... ... @@ -172,19 +172,26 @@ 172 172 173 173 Feature: Show All configure. No downlink command yet. 174 174 175 -AT Command: AT+CFG 195 +{{info}} 196 +**AT Command: AT+CFG** 197 +{{/info}} 176 176 177 -|=(% colspan="3" %)AT+CFG: Print all configurations 178 -|**Command Example**|**Function**|**Response** 179 -|AT+CFG|Show all configures| 199 +(% style="background-color:#ffffcc; color:green; width:599.222px" %) 200 +|=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations 201 +|(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** 202 +|(% style="width:160px" %)AT+CFG|(% style="width:154px" %)Show all configures|(% style="width:280px" %)((( 203 +AT+DEUI = XX XX XX XX XX XX XX XX 180 180 181 -{{{AT+DEUI = XX XX XX XX XX XX XX XX 182 182 AT+DADDR=XXXXXXXX 206 + 183 183 ………. 208 + 184 184 AT+RX2WTO=X 210 + 185 185 AT+CHS=868100000 212 + 186 186 OK 187 - }}}214 +))) 188 188 189 189 190 190 = 5. Keys, IDs and EUIs management = ... ... @@ -193,27 +193,33 @@ 193 193 194 194 Feature: Get or Set the Application EUI. 195 195 196 -AT Command: AT+APPEUI 223 +{{info}} 224 +**AT Command: AT+APPEUI** 225 +{{/info}} 197 197 198 -|=(% colspan="3" %)AT+APPEUI 199 -|**Command Example**|**Function**|**Response** 200 -|AT+APPEUI=?|Get the Application EUI|00 b3 d5 00 00 00 00 00((( 227 +(% style="background-color:#ffffcc; color:green; width:686.222px" %) 228 +|=(% colspan="3" style="width: 683px;" %)AT+APPEUI 229 +|(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response** 230 +|(% style="width:305px" %)AT+APPEUI=?|(% style="width:186px" %)Get the Application EUI|(% style="width:191px" %)00 b3 d5 00 00 00 00 00((( 201 201 OK 202 202 ))) 203 -|AT+APPEUI=00 b3 d5 7e f0 00 4d 34|Set the Application EUI|OK 233 +|(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 204 204 205 205 == 5.2 Application Key == 206 206 207 207 Feature: Get or Set the Application Key. 208 208 209 -AT Command: AT+APPKEY 239 +{{info}} 240 +**AT Command: AT+APPKEY** 241 +{{/info}} 210 210 211 -|=(% colspan="3" %)AT+APPKEY 212 -|**Command Example**|**Function**|**Response** 213 -|AT+APPKEY=?|Get the Application Key|00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35((( 243 +(% style="background-color:#ffffcc; color:green; width:976.222px" %) 244 +|=(% colspan="3" style="width: 973px;" %)AT+APPKEY 245 +|(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response** 246 +|(% style="width:441px" %)AT+APPKEY=?|(% style="width:180px" %)Get the Application Key|(% style="width:350px" %)00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35((( 214 214 OK 215 215 ))) 216 -|AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|Set the Application Key .|OK249 +|(% style="width:441px" %)AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|(% style="width:180px" %)Set the Application Key|(% style="width:350px" %)OK 217 217 218 218 == 5.3 Application Session Key == 219 219