Changes for page Notes for TTN
Last modified by Mengting Qiu on 2024/08/20 17:29
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -224,42 +224,30 @@ 224 224 = 4. Configure node connection to TTNv3 = 225 225 226 226 ((( 227 -((( 228 228 Following is an example for how to join the TTN v3 LoRaWAN Network. 229 229 ))) 230 -))) 231 231 232 232 ((( 233 -((( 234 234 The gateway is already set up to connect to the TTN network, so we now need to configure the TTNv3 server. 235 235 ))) 236 -))) 237 237 238 238 ((( 239 -((( 240 240 We take LES01 as an example. 241 241 ))) 242 -))) 243 243 244 244 == 4.1 Step1 == 245 245 246 246 ((( 247 -((( 248 248 Create a device in TTN with the OTAA keys from LSE01. 249 249 ))) 250 -))) 251 251 252 252 ((( 253 -((( 254 254 Each LSE01 is shipped with a sticker with the default device EUI as below: 255 255 ))) 256 -))) 257 257 258 258 ((( 259 -((( 260 260 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 261 261 ))) 262 -))) 263 263 264 264 [[image:https://wiki.dragino.com/images/thumb/c/c7/TTNv3--01.png/600px-TTNv3--01.png||alt="TTNv3--01.png" height="277" width="600"]] 265 265 ... ... @@ -268,10 +268,8 @@ 268 268 == 4.2 Step2 == 269 269 270 270 ((( 271 -((( 272 272 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. 273 273 ))) 274 -))) 275 275 276 276 [[image:https://wiki.dragino.com/images/thumb/f/fc/TTNv3--03.png/600px-TTNv3--03.png||alt="TTNv3--03.png" height="333" width="600"]] 277 277 ... ... @@ -292,30 +292,22 @@ 292 292 == 5.1 Introduction == 293 293 294 294 ((( 295 -((( 296 296 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. 297 297 ))) 298 -))) 299 299 300 300 == 5.2 Create device steps at MQTT == 301 301 302 302 ((( 303 -((( 304 304 The user creates a new API KEY after creating a device on TTN V3. 305 305 ))) 306 -))) 307 307 308 308 ((( 309 -((( 310 310 Then copy the password and open MQTT.fx. 311 311 ))) 312 -))) 313 313 314 314 ((( 315 -((( 316 316 Fill in Broker Address and Broker port. 317 317 ))) 318 -))) 319 319 320 320 [[image:https://wiki.dragino.com/images/thumb/8/82/V3_MQTT1_.png/600px-V3_MQTT1_.png||alt="V3 MQTT1 .png" height="325" width="600"]] 321 321 ... ... @@ -326,9 +326,7 @@ 326 326 327 327 The Application Server publishes uplink traffic on the following topics: 328 328 329 -(% class="box" %) 330 -((( 331 - v3/{application id}@{tenant id}/devices/{device id}/join 307 +{{{ v3/{application id}@{tenant id}/devices/{device id}/join 332 332 v3/{application id}@{tenant id}/devices/{device id}/up 333 333 v3/{application id}@{tenant id}/devices/{device id}/down/queued 334 334 v3/{application id}@{tenant id}/devices/{device id}/down/sent ... ... @@ -337,21 +337,17 @@ 337 337 v3/{application id}@{tenant id}/devices/{device id}/down/failed 338 338 v3/{application id}@{tenant id}/devices/{device id}/service/data 339 339 v3/{application id}@{tenant id}/devices/{device id}/location/solved 340 - )))316 +}}} 341 341 342 342 ((( 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}. 319 +Note: Remember that the format of these topics for The Things Stack Open Source would contain {application id} instead of {application id}@{tenant id}. 345 345 ))) 346 -))) 347 347 348 348 [[image:https://wiki.dragino.com/images/thumb/d/dc/V3_MQTT3.png/600px-V3_MQTT3.png||alt="V3 MQTT3.png" height="400" width="600"]] 349 349 350 350 ((( 351 -((( 352 352 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. 353 353 ))) 354 -))) 355 355 356 356 [[image:https://wiki.dragino.com/images/thumb/e/e8/V3_MQTT4.jpg/600px-V3_MQTT4.jpg||alt="V3 MQTT4.jpg" height="326" width="600"]] 357 357