<
From version < 1.3 >
edited by Xiaoling
on 2022/05/17 08:55
To version < 1.9 >
edited by Xiaoling
on 2022/05/17 09:16
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,6 @@
1 -**Contents:**
1 +**~ Contents:**
2 2  
3 +{{toc/}}
3 3  
4 4  
5 5  = 1. The Things Network-V3 =
... ... @@ -90,38 +90,54 @@
90 90  == 3.1 Introduction ==
91 91  
92 92  (((
94 +(((
93 93  The LoRa Basics™ Station protocol simplifies management of large scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to The Things Stack. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]]
94 94  )))
97 +)))
95 95  
99 +(((
96 96  **Below list the support products and Requirements:**
101 +)))
97 97  
98 -1. (((
99 -LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
103 +(((
104 +(((
105 + ~1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
100 100  )))
101 101  
102 -1. (((
103 -Firmware version since :[[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
108 +(((
109 + 2. Firmware version since :[[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
104 104  )))
111 +)))
105 105  
113 +(((
106 106  **What do you need to prepare**
115 +)))
107 107  
108 108  (((
118 +(((
109 109  A gateway that can access the internet normally
110 110  )))
121 +)))
111 111  
112 112  == 3.2 Step 1. Add Gateway ==
113 113  
114 114  (((
126 +(((
115 115  The example for **EU**
116 116  )))
129 +)))
117 117  
118 118  (((
132 +(((
119 119  User can add your gateway into The Things Network V3 according to the previous step
120 120  )))
135 +)))
121 121  
122 122  (((
138 +(((
123 123  Following picture is the successful added.
124 124  )))
141 +)))
125 125  
126 126  [[image:https://wiki.dragino.com/images/thumb/5/5f/Add_gateway_1.1.png/600px-Add_gateway_1.1.png||height="397" width="600"]]
127 127  
... ... @@ -140,7 +140,7 @@
140 140  
141 141  Create LNS API key
142 142  
143 -**Note : Please copy the API key.**
160 +(% style="color:red" %)**Note : Please copy the API key.**
144 144  
145 145  == 3.4 Step 3. Update the gateway setting ==
146 146  
... ... @@ -164,11 +164,13 @@
164 164  
165 165  **just to clarify.**
166 166  
167 -{{{ CUPS Server URI --> Server Adress
168 - CUPS Authorization Key --> Server CUPS API Key
169 - LNS Authorization Key --> Server LNS API Key
170 - CUPS certificate --> Server CA(user can use the button to install the certificate by default)
171 -}}}
184 +(% class="box" %)
185 +(((
186 + CUPS Server URI  ~-~-> Server Adress
187 + CUPS Authorization Key         ~-~-> Server CUPS API Key
188 + LNS Authorization Key  ~-~-> Server LNS API Key
189 + CUPS certificate  ~-~-> Server CA(user can use the button to install the certificate by default)
190 +)))
172 172  
173 173  [[image:https://wiki.dragino.com/images/thumb/8/8c/Confiure_station_cao.png/600px-Confiure_station_cao.png||height="321" width="600"]]
174 174  
... ... @@ -205,30 +205,42 @@
205 205  = 4. Configure node connection to TTNv3 =
206 206  
207 207  (((
227 +(((
208 208  Following is an example for how to join the TTN v3 LoRaWAN Network.
209 209  )))
230 +)))
210 210  
211 211  (((
233 +(((
212 212  The gateway is already set up to connect to the TTN network, so we now need to configure the TTNv3 server.
213 213  )))
236 +)))
214 214  
215 215  (((
239 +(((
216 216  We take LES01 as an example.
217 217  )))
242 +)))
218 218  
219 219  == 4.1 Step1 ==
220 220  
221 221  (((
247 +(((
222 222  Create a device in TTN with the OTAA keys from LSE01.
223 223  )))
250 +)))
224 224  
225 225  (((
253 +(((
226 226  Each LSE01 is shipped with a sticker with the default device EUI as below:
227 227  )))
256 +)))
228 228  
229 229  (((
259 +(((
230 230  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
231 231  )))
262 +)))
232 232  
233 233  [[image:https://wiki.dragino.com/images/thumb/c/c7/TTNv3--01.png/600px-TTNv3--01.png||alt="TTNv3--01.png" height="277" width="600"]]
234 234  
... ... @@ -237,8 +237,10 @@
237 237  == 4.2 Step2 ==
238 238  
239 239  (((
271 +(((
240 240  There are all our nodes in the repository. Users can choose the corresponding brand, model, firmware version and frequency.The decoder and configuration information of the node are pre-configured.Users do not need to configure them.
241 241  )))
274 +)))
242 242  
243 243  [[image:https://wiki.dragino.com/images/thumb/f/fc/TTNv3--03.png/600px-TTNv3--03.png||alt="TTNv3--03.png" height="333" width="600"]]
244 244  
... ... @@ -259,22 +259,30 @@
259 259  == 5.1 Introduction ==
260 260  
261 261  (((
295 +(((
262 262  The Application Server exposes an MQTT server to work with streaming events. In order to use the MQTT server you need to create a new API key, which will function as connection password. You can also use an existing API key, as long as it has the necessary rights granted.
263 263  )))
298 +)))
264 264  
265 265  == 5.2 Create device steps at MQTT ==
266 266  
267 267  (((
303 +(((
268 268  The user creates a new API KEY after creating a device on TTN V3.
269 269  )))
306 +)))
270 270  
271 271  (((
309 +(((
272 272  Then copy the password and open MQTT.fx.
273 273  )))
312 +)))
274 274  
275 275  (((
315 +(((
276 276  Fill in Broker Address and Broker port.
277 277  )))
318 +)))
278 278  
279 279  [[image:https://wiki.dragino.com/images/thumb/8/82/V3_MQTT1_.png/600px-V3_MQTT1_.png||alt="V3 MQTT1 .png" height="325" width="600"]]
280 280  
... ... @@ -285,7 +285,9 @@
285 285  
286 286  The Application Server publishes uplink traffic on the following topics:
287 287  
288 -{{{ v3/{application id}@{tenant id}/devices/{device id}/join
329 +(% class="box" %)
330 +(((
331 + v3/{application id}@{tenant id}/devices/{device id}/join
289 289   v3/{application id}@{tenant id}/devices/{device id}/up
290 290   v3/{application id}@{tenant id}/devices/{device id}/down/queued
291 291   v3/{application id}@{tenant id}/devices/{device id}/down/sent
... ... @@ -294,17 +294,21 @@
294 294   v3/{application id}@{tenant id}/devices/{device id}/down/failed
295 295   v3/{application id}@{tenant id}/devices/{device id}/service/data
296 296   v3/{application id}@{tenant id}/devices/{device id}/location/solved
297 -}}}
340 +)))
298 298  
299 299  (((
300 -Note: Remember that the format of these topics for The Things Stack Open Source would contain {application id} instead of {application id}@{tenant id}.
343 +(((
344 +**Note**: Remember that the format of these topics for The Things Stack Open Source would contain {application id} instead of {application id}@{tenant id}.
301 301  )))
346 +)))
302 302  
303 303  [[image:https://wiki.dragino.com/images/thumb/d/dc/V3_MQTT3.png/600px-V3_MQTT3.png||alt="V3 MQTT3.png" height="400" width="600"]]
304 304  
305 305  (((
351 +(((
306 306  While you could subscribe to all of these topics separately, for the simplicity of this tutorial we use # to subscribe to all topics, i.e. to receive all uplink traffic.
307 307  )))
354 +)))
308 308  
309 309  [[image:https://wiki.dragino.com/images/thumb/e/e8/V3_MQTT4.jpg/600px-V3_MQTT4.jpg||alt="V3 MQTT4.jpg" height="326" width="600"]]
310 310  
... ... @@ -401,7 +401,6 @@
401 401  * End Node traffic (from server UI) to shows end node activity in server. (Normally possible)
402 402  * End Node Keys screen shot shows in end node and server. so we can check if the keys are correct. (In most case, we found keys doesn't match, especially APP EUI)
403 403  
404 -
405 405  **~1. End Device Join Screen shot, we can check:**
406 406  
407 407  * If the device is sending join request to server?
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0