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,46 +23,18 @@ 23 23 24 24 = 3. Support End Node and firmware version = 25 25 26 - 27 -|=(% colspan="3" %)PWR LED4G control (Second +3.3v)USB POWER(+5v) Control 28 -|=PWR LED|=4G control (Second +3.3v)|=USB POWER(+5v) Control 29 -|((( 30 - 31 - 32 -+3.3v 33 -)))|((( 34 - 35 - 36 -GPIO15 37 -)))| 38 -|+3.3v|GPIO15 |GPIO1 39 -|+3.3v|GPIO15 |GPIO1 40 -|+3.3v| | 41 -|+3.3v|PA17| 42 - 43 -(% style="background-color:#ffffcc; color:green; width:1039.22px" %) 44 -|(% colspan="3" style="width:1036px" %)** Dragino STM32 base hardware Firmware / LoRaWAN stack list** 45 -|(% style="width:216px" %)**Model**|(% style="width:346px" %)**Description**|(% style="width:472px" %)**Firmware Version <~-~-> Stack Version** 46 -|(% style="width:216px" %)[[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:346px" %)Open Source Generic LoRaWAN Sensor Node|(% style="width:472px" %)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;((( 47 47 LSN50 v1.7.0 <~-~-> DR-LWS-005; ~-~-> Support since this version 48 48 ))) 49 -|(% style="width:216px" %) |(% style="width:346px" %) |(% style="width:472px" %) 50 -|(% style="width:216px" %) |(% style="width:346px" %) |(% style="width:472px" %) 51 -|(% style="width:216px" %) |(% style="width:346px" %) |(% style="width:472px" %) 52 -|(% style="width:216px" %) |(% style="width:346px" %) |(% style="width:472px" %) 53 - 54 -(% border="1" style="background-color:#ffffcc; color:green; width:942.222px" %) 55 -|=(% colspan="3" style="width: 939px;" %) Dragino STM32 base hardware Firmware / LoRaWAN stack list 56 -|(% style="width:187px" %)**Model**|(% style="width:306px" %)**Description**|(% style="width:443px" %)**Firmware Version <~-~-> Stack Version** 57 -|(% 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:306px" %)Open Source Generic LoRaWAN Sensor Node|(% style="width:443px" %)LSN50 v1.6.0 <~-~-> DR-LWS-003;((( 58 -LSN50 v1.7.0 <~-~-> DR-LWS-005; ~-~-> Support since this version 59 -))) 60 -|(% style="width:187px" %)[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]],|(% style="width:306px" %)LoRaWAN GPS Tracker|(% style="width:443px" %)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;((( 61 61 LGT92 v1.6.4 <~-~-> DR-LWS-005;~-~-> Support since this version 62 62 ))) 63 -|(% style="width:187px" %)[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]],|(% style="width:3 06px" %)LoRaWAN BLE Indoor Tracker|(% style="width:443px" %)LBT1 v1.0 <~-~-> DR-LWS-005;64 -|(% style="width:187px" %)[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]],|(% style="width:3 06px" %)LoRaWAN RS485 Modbus Converter|(% style="width:443px" %)RS485-LN v1.3 <~-~-> DR-LWS-005;65 -|(% style="width:187px" %)[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]],|(% style="width:3 06px" %)LoRaWAN Temperature & Humidity Sensor|(% style="width:443px" %)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;((( 66 66 LHT65 v1.8.0 <~-~-> DR-LWS-005;~-~-> Support since this version 67 67 ))) 68 68 ... ... @@ -74,11 +74,11 @@ 74 74 75 75 (% class="box infomessage" %) 76 76 ((( 77 -AT Command: AT+TDC 49 +**AT Command: AT+TDC** 78 78 ))) 79 79 80 -(% border="1"style="background-color:#ffffcc; color:green; width:727.222px" %)81 -|=(% colspan="3" style="width: 724px;" %) 52 +(% style="background-color:#ffffcc; color:green; width:727.222px" %) 53 +|=(% colspan="3" style="width: 724px;" %)AT+TDC 82 82 |(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 83 83 |(% style="width:165px" %)AT+TDC=?|(% style="width:227px" %)Show current transmit Interval|(% style="width:329px" %)30000((( 84 84 OK ... ... @@ -89,7 +89,9 @@ 89 89 Set transmit interval to 60000ms = 60 seconds 90 90 ))) 91 91 64 +{{info}} 92 92 **Downlink Command: 0x01** 66 +{{/info}} 93 93 94 94 Format: Command Code (0x01) followed by 3 bytes time value. 95 95 ... ... @@ -103,13 +103,12 @@ 103 103 Feature: Reboot End Node to perform a new OTAA or ABP Join. 104 104 105 105 {{info}} 106 -AT Command: ATZ 80 +**AT Command: ATZ** 107 107 {{/info}} 108 108 109 -(% border=" 1" style="background-color:#ffffcc; color:green; width:727.222px" %)110 -|=(% colspan="3" %) 83 +(% border="0" style="background-color:#ffffcc; color:green; width:727.222px" %) 84 +|=(% colspan="3" %)ATZ: Trig a reset of the MCU 111 111 |**Command Example**|**Function**|**Response** 112 -~)~)~) 113 113 |ATZ|Reset MCU|((( 114 114 Device reset and show booting info 115 115 ... ... @@ -124,35 +124,46 @@ 124 124 <followed by the Tx and Rx information> 125 125 ))) 126 126 127 -Downlink Command: 0x04 100 +{{info}} 101 +**Downlink Command: 0x04** 102 +{{/info}} 128 128 129 129 Format: Command Code (0x04) followed by FF. 130 130 131 -If the downlink payload=04FF, the end node will reboot. 106 +If the downlink payload=**04FF**, the end node will reboot. 132 132 133 133 == 4.3 Reset to factory Default == 134 134 135 135 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. 136 136 137 -AT Command: AT+FDR 112 +{{info}} 113 +**AT Command: AT+FDR** 114 +{{/info}} 138 138 139 -|=(% colspan="3" %)Reset to factory default 140 -|**Command Example**|**Function**|**Response** 141 -|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 142 142 143 -{{{LSN50 Device/LoRa ST Module 122 +LSN50 Device/LoRa ST Module 123 + 144 144 Image Version: XX 125 + 145 145 Frequency Band: XX 127 + 146 146 DevEui= XX XX XX XX XX XX XX XX 129 + 147 147 Please set the parameters or reset Device to apply change 148 - }}}131 +))) 149 149 133 +{{info}} 134 +**Downlink Command: 0x04** 135 +{{/info}} 150 150 151 -Downlink Command: 0x04 152 - 153 153 Format: Command Code (0x04) followed by FE. 154 154 155 -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. 156 156 157 157 158 158 == 4.4 Show Firmware Version == ... ... @@ -159,30 +159,34 @@ 159 159 160 160 Feature: Show firmware version. No downlink command yet. 161 161 162 -AT Command: AT+VER 146 +{{info}} 147 +**AT Command: AT+VER** 148 +{{/info}} 163 163 150 +(% style="background-color:#ffffcc; color:green" %) 164 164 |=(% colspan="3" %)AT+VER: Image Version and Frequency Band 165 165 |**Command Example**|**Function**|**Response** 166 -|AT+VER=?|Show Image version and Frequency Band| 153 +|AT+VER=?|Show Image version and Frequency Band|((( 154 +1.3 EU868 167 167 168 -{{{1.3 EU868 169 169 OK 170 - }}}157 +))) 171 171 159 +{{info}} 160 +**Downlink Command: 0x26 (Valid in 006 stack)** 161 +{{/info}} 172 172 173 -Downlink Command: 0x26 (Valid in 006 stack) 174 - 175 175 Downlink Format: 0x26 176 176 177 177 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 178 178 179 -xx: Software Type: 167 +**xx: Software Type:** 180 180 181 181 * 0x00 01: LGT92 Version 182 182 * 0x00 02: LBT1 183 183 * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01 184 184 185 -yy: Frequency Band: 173 +**yy: Frequency Band:** 186 186 187 187 * 0x01: EU868 188 188 * 0x02: US915 ... ... @@ -195,7 +195,7 @@ 195 195 * 0x09: AS923-2 196 196 * 0xa0: AS923-3 197 197 198 -zz: Subband 186 +**zz: Subband** 199 199 200 200 firmware version: v1.1.0 ~-~-> 110 201 201 ... ... @@ -204,19 +204,26 @@ 204 204 205 205 Feature: Show All configure. No downlink command yet. 206 206 207 -AT Command: AT+CFG 195 +{{info}} 196 +**AT Command: AT+CFG** 197 +{{/info}} 208 208 209 -|=(% colspan="3" %)AT+CFG: Print all configurations 210 -|**Command Example**|**Function**|**Response** 211 -|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 212 212 213 -{{{AT+DEUI = XX XX XX XX XX XX XX XX 214 214 AT+DADDR=XXXXXXXX 206 + 215 215 ………. 208 + 216 216 AT+RX2WTO=X 210 + 217 217 AT+CHS=868100000 212 + 218 218 OK 219 - }}}214 +))) 220 220 221 221 222 222 = 5. Keys, IDs and EUIs management = ... ... @@ -225,27 +225,33 @@ 225 225 226 226 Feature: Get or Set the Application EUI. 227 227 228 -AT Command: AT+APPEUI 223 +{{info}} 224 +**AT Command: AT+APPEUI** 225 +{{/info}} 229 229 230 -|=(% colspan="3" %)AT+APPEUI 231 -|**Command Example**|**Function**|**Response** 232 -|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((( 233 233 OK 234 234 ))) 235 -|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 236 236 237 237 == 5.2 Application Key == 238 238 239 239 Feature: Get or Set the Application Key. 240 240 241 -AT Command: AT+APPKEY 239 +{{info}} 240 +**AT Command: AT+APPKEY** 241 +{{/info}} 242 242 243 -|=(% colspan="3" %)AT+APPKEY 244 -|**Command Example**|**Function**|**Response** 245 -|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((( 246 246 OK 247 247 ))) 248 -|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 249 249 250 250 == 5.3 Application Session Key == 251 251