<
From version < 1.4 >
edited by Xiaoling
on 2022/05/10 17:05
To version < 7.5 >
edited by Xiaoling
on 2022/05/11 10:13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,6 @@
1 1  Contens
2 2  
3 3  {{toc/}}
4 -{{velocity}}$xwiki.ssfx.use("js/xwiki/table/table.css")
5 -$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true){{/velocity}}
6 6  
7 7  
8 8  = 1. Introduction =
... ... @@ -23,21 +23,20 @@
23 23  ** Use Base64 format to send a downlink: [[Chirpstack>>url:https://wiki.dragino.com/index.php/Notes_for_ChirpStack#Downlink]].
24 24  ** See use note for more serves [[Servers Note>>url:https://wiki.dragino.com/index.php/Main_Page#Use_Note_for_Server]]
25 25  
26 -
27 27  = 3. Support End Node and firmware version =
28 28  
29 -(% style="background-color:#ffffcc; color:green; margin-left:auto; margin-right:auto" %)
30 -|=(% colspan="3" %) Dragino STM32 base hardware Firmware / LoRaWAN stack list
31 -|**Model**|**Description**|**Firmware Version <~-~-> Stack Version**
32 -|[[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]],|Open Source Generic LoRaWAN Sensor Node|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;(((
33 33  LSN50 v1.7.0 <~-~-> DR-LWS-005; ~-~-> Support since this version
34 34  )))
35 -|[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]],|LoRaWAN GPS Tracker|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;(((
36 36  LGT92 v1.6.4 <~-~-> DR-LWS-005;~-~-> Support since this version
37 37  )))
38 -|[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]],|LoRaWAN BLE Indoor Tracker|LBT1 v1.0 <~-~-> DR-LWS-005;
39 -|[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]],|LoRaWAN RS485 Modbus Converter|RS485-LN v1.3 <~-~-> DR-LWS-005;
40 -|[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]],|LoRaWAN Temperature & Humidity Sensor|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;(((
41 41  LHT65 v1.8.0 <~-~-> DR-LWS-005;~-~-> Support since this version
42 42  )))
43 43  
... ... @@ -47,76 +47,99 @@
47 47  
48 48  Feature: Change LoRaWAN End Node Transmit Interval.
49 49  
50 -AT Command: AT+TDC
47 +(% class="box infomessage" %)
48 +(((
49 +**AT Command: AT+TDC**
50 +)))
51 51  
52 -|=(% colspan="3" %)AT+TDC
53 -|**Command Example**|**Function**|**Response**
54 -|AT+TDC=?|Show current transmit Interval|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(((
55 55  OK
56 56  
57 57  the interval is 30000ms = 30s
58 58  )))
59 -|AT+TDC=60000|Set Transmit Interval|OK(((
60 +|(% style="width:165px" %)AT+TDC=60000|(% style="width:227px" %)Set Transmit Interval|(% style="width:329px" %)OK(((
60 60  Set transmit interval to 60000ms = 60 seconds
61 61  )))
62 62  
63 -Downlink Command: 0x01
64 +{{info}}
65 +**Downlink Command: 0x01**
66 +{{/info}}
64 64  
65 65  Format: Command Code (0x01) followed by 3 bytes time value.
66 66  
67 67  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
68 68  
69 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
70 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
72 +* **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds
73 +* **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds
71 71  
72 72  == 4.2 Reboot End Node ==
73 73  
74 74  Feature: Reboot End Node to perform a new OTAA or ABP Join.
75 75  
76 -AT Command: ATZ
79 +{{info}}
80 +**AT Command: ATZ**
81 +{{/info}}
77 77  
83 +(% border="0" style="background-color:#ffffcc; color:green; width:727.222px" %)
78 78  |=(% colspan="3" %)ATZ: Trig a reset of the MCU
79 79  |**Command Example**|**Function**|**Response**
80 -|ATZ|Reset MCU|Device reset and show booting info
86 +|ATZ|Reset MCU|(((
87 +Device reset and show booting info
81 81  
82 -{{{LSN50 Device/LoRa ST Module
89 +LSN50 Device/LoRa ST Module
90 +
83 83  Image Version: XX
92 +
84 84  Frequency Band: XX
94 +
85 85  DevEui= XX XX XX XX XX XX XX XX
86 86  
87 87  <followed by the Tx and Rx information>
88 -}}}
98 +)))
89 89  
100 +{{info}}
101 +**Downlink Command: 0x04**
102 +{{/info}}
90 90  
91 -Downlink Command: 0x04
92 -
93 93  Format: Command Code (0x04) followed by FF.
94 94  
95 -If the downlink payload=04FF, the end node will reboot.
106 +If the downlink payload=**04FF**, the end node will reboot.
96 96  
97 97  == 4.3 Reset to factory Default ==
98 98  
99 99  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.
100 100  
101 -AT Command: AT+FDR
112 +{{info}}
113 +**AT Command: AT+FDR**
114 +{{/info}}
102 102  
103 -|=(% colspan="3" %)Reset to factory default
104 -|**Command Example**|**Function**|**Response**
105 -|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
106 106  
107 -{{{LSN50 Device/LoRa ST Module
122 +LSN50 Device/LoRa ST Module
123 +
108 108  Image Version: XX
125 +
109 109  Frequency Band: XX
127 +
110 110  DevEui= XX XX XX XX XX XX XX XX
129 +
111 111  Please set the parameters or reset Device to apply change
112 -}}}
131 +)))
113 113  
133 +{{info}}
134 +**Downlink Command: 0x04**
135 +{{/info}}
114 114  
115 -Downlink Command: 0x04
116 -
117 117  Format: Command Code (0x04) followed by FE.
118 118  
119 -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.
120 120  
121 121  
122 122  == 4.4 Show Firmware Version ==
... ... @@ -123,30 +123,34 @@
123 123  
124 124  Feature: Show firmware version. No downlink command yet.
125 125  
126 -AT Command: AT+VER
146 +{{info}}
147 +**AT Command: AT+VER**
148 +{{/info}}
127 127  
150 +(% style="background-color:#ffffcc; color:green" %)
128 128  |=(% colspan="3" %)AT+VER: Image Version and Frequency Band
129 129  |**Command Example**|**Function**|**Response**
130 -|AT+VER=?|Show Image version and Frequency Band|
153 +|AT+VER=?|Show Image version and Frequency Band|(((
154 +1.3 EU868
131 131  
132 -{{{1.3 EU868
133 133  OK
134 -}}}
157 +)))
135 135  
159 +{{info}}
160 +**Downlink Command: 0x26 (Valid in 006 stack)**
161 +{{/info}}
136 136  
137 -Downlink Command: 0x26 (Valid in 006 stack)
138 -
139 139  Downlink Format: 0x26
140 140  
141 141  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
142 142  
143 -xx: Software Type:
167 +**xx: Software Type:**
144 144  
145 145  * 0x00 01: LGT92 Version
146 146  * 0x00 02: LBT1
147 147  * 0x00 03: LSE01/LDDS75/LDDS20/LSPH01/LLMS01/LSNPK01
148 148  
149 -yy: Frequency Band:
173 +**yy: Frequency Band:**
150 150  
151 151  * 0x01: EU868
152 152  * 0x02: US915
... ... @@ -159,7 +159,7 @@
159 159  * 0x09: AS923-2
160 160  * 0xa0: AS923-3
161 161  
162 -zz: Subband
186 +**zz: Subband**
163 163  
164 164  firmware version: v1.1.0 ~-~-> 110
165 165  
... ... @@ -168,19 +168,26 @@
168 168  
169 169  Feature: Show All configure. No downlink command yet.
170 170  
171 -AT Command: AT+CFG
195 +{{info}}
196 +**AT Command: AT+CFG**
197 +{{/info}}
172 172  
173 -|=(% colspan="3" %)AT+CFG: Print all configurations
174 -|**Command Example**|**Function**|**Response**
175 -|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
176 176  
177 -{{{AT+DEUI = XX XX XX XX XX XX XX XX
178 178  AT+DADDR=XXXXXXXX
206 +
179 179  ……….
208 +
180 180  AT+RX2WTO=X
210 +
181 181  AT+CHS=868100000
212 +
182 182  OK
183 -}}}
214 +)))
184 184  
185 185  
186 186  = 5. Keys, IDs and EUIs management =
... ... @@ -189,27 +189,33 @@
189 189  
190 190  Feature: Get or Set the Application EUI.
191 191  
192 -AT Command: AT+APPEUI
223 +{{info}}
224 +**AT Command: AT+APPEUI**
225 +{{/info}}
193 193  
194 -|=(% colspan="3" %)AT+APPEUI
195 -|**Command Example**|**Function**|**Response**
196 -|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(((
197 197  OK
198 198  )))
199 -|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
200 200  
201 201  == 5.2 Application Key ==
202 202  
203 203  Feature: Get or Set the Application Key.
204 204  
205 -AT Command: AT+APPKEY
239 +{{info}}
240 +**AT Command: AT+APPKEY**
241 +{{/info}}
206 206  
207 -|=(% colspan="3" %)AT+APPKEY
208 -|**Command Example**|**Function**|**Response**
209 -|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(((
210 210  OK
211 211  )))
212 -|AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|Set the Application Key.|OK
249 +|(% 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
213 213  
214 214  == 5.3 Application Session Key ==
215 215  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0