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
-
... ... @@ -266,32 +266,41 @@ 266 266 Congfigure Station 267 267 268 268 269 -== 3.7 Start Station == 270 270 270 +== 3.7 Start Station == 271 + 272 + 271 271 ((( 272 272 When the user has finished the configuration,Please click Sace&Apply to start station to connect The Things Network. 273 273 276 + 274 274 275 275 ))) 276 276 277 -== 3.8 Siccessful Connection == 280 +== 3.8 Siccessful Connection == 278 278 282 + 279 279 If user completes the above steps,which will see live date in the TTN. 280 280 285 + 281 281 [[image:image-20220526135734-14.png]] 282 282 283 283 Station live date 284 284 285 285 286 -== 3.9 Trouble Shooting == 287 287 292 +== 3.9 Trouble Shooting == 293 + 294 + 288 288 User can check the station log in the logread/system log page. 289 289 297 + 290 290 [[image:image-20220526135845-15.png]] 291 291 292 292 Station Log 293 293 294 294 303 + 295 295 and recode the station log in the system/Recode log page. 296 296 297 297 [[image:image-20220526135940-16.png]] ... ... @@ -299,8 +299,10 @@ 299 299 Recore Log 300 300 301 301 302 -= 4. Configure node connection to TTNv3 = 303 303 312 += 4. Configure node connection to TTNv3 = 313 + 314 + 304 304 ((( 305 305 ((( 306 306 Following is an example for how to join the TTN v3 LoRaWAN Network. ... ... @@ -317,12 +317,14 @@ 317 317 ((( 318 318 We take LES01 as an example. 319 319 331 + 320 320 321 321 ))) 322 322 ))) 323 323 324 -== 4.1 Step1 == 336 +== 4.1 Step1 == 325 325 338 + 326 326 ((( 327 327 ((( 328 328 Create a device in TTN with the OTAA keys from LSE01. ... ... @@ -346,11 +346,15 @@ 346 346 [[image:image-20220526140044-18.png]] 347 347 348 348 349 -== 4.2 Step2 == 350 350 363 +== 4.2 Step2 == 364 + 365 + 351 351 ((( 352 352 ((( 353 353 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. 369 + 370 + 354 354 ))) 355 355 ))) 356 356 ... ... @@ -357,34 +357,45 @@ 357 357 [[image:image-20220526140132-19.png]] 358 358 359 359 360 -== 4.3 Step3 == 361 361 378 +== 4.3 Step3 == 379 + 380 + 362 362 Add APP EUI in the application: 363 363 383 + 364 364 [[image:image-20220526140205-20.png]] 365 365 366 366 367 -== 4.4 Step4 == 368 368 388 +== 4.4 Step4 == 389 + 390 + 369 369 Add APP KEY and DEV EUI: 370 370 393 + 371 371 [[image:image-20220526140251-21.png]] 372 372 373 373 374 -= 5. TTN V3 integrated into MQTT server = 375 375 376 -= =5.1Introduction ==398 += 5. TTN V3 integrated into MQTT server = 377 377 400 + 401 +== 5.1 Introduction == 402 + 403 + 378 378 ((( 379 379 ((( 380 380 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. 381 381 408 + 382 382 383 383 ))) 384 384 ))) 385 385 386 -== 5.2 Create device steps at MQTT == 413 +== 5.2 Create device steps at MQTT == 387 387 415 + 388 388 ((( 389 389 ((( 390 390 The user creates a new API KEY after creating a device on TTN V3. ... ... @@ -400,6 +400,8 @@ 400 400 ((( 401 401 ((( 402 402 Fill in Broker Address and Broker port. 431 + 432 + 403 403 ))) 404 404 ))) 405 405 ... ... @@ -408,8 +408,10 @@ 408 408 Fill in the username and password into MQTT. 409 409 410 410 441 + 411 411 [[image:image-20220526140420-23.png]] 412 412 444 + 413 413 The Application Server publishes uplink traffic on the following topics: 414 414 415 415 (% class="box" %) ... ... @@ -426,13 +426,18 @@ 426 426 ))) 427 427 428 428 ((( 461 + 462 + 429 429 ((( 430 -**Note**: Remember that the format of these topics for The Things Stack Open Source would contain {application id} instead of {application id}@{tenant id}. 464 +(% style="color:red" %)**Note**: **Remember that the format of these topics for The Things Stack Open Source would contain {application id} instead of {application id}@{tenant id}.** 465 + 466 + 431 431 ))) 432 432 ))) 433 433 434 434 [[image:image-20220526140452-24.png]] 435 435 472 + 436 436 ((( 437 437 ((( 438 438 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. ... ... @@ -449,7 +449,11 @@ 449 449 450 450 ((( 451 451 ((( 452 -**Note**: Remember that the format of this topic for The Things Stack Open Source deployment would be v3/{application id}/devices/{device id}/down/push. 489 + 490 + 491 +(% style="color:red" %)**Note**: **Remember that the format of this topic for The Things Stack Open Source deployment would be v3/{application id}/devices/{device id}/down/push.** 492 + 493 + 453 453 ))) 454 454 ))) 455 455 ... ... @@ -463,17 +463,23 @@ 463 463 464 464 ((( 465 465 To send an unconfirmed downlink message to the device dev1 in application app1 in tenant tenant1 with the hexadecimal payload BE EF on FPort 15 with normal priority, use the topic v3/app1@tenant1/devices/dev1/down/push with the following contents: 507 + 508 + 466 466 ))) 467 467 468 468 ((( 469 -**Note**: Use this handy tool to convert hexadecimal to base64. 512 +(% style="color:red" %)**Note**: **Use this handy tool to convert hexadecimal to base64.** 513 + 514 + 470 470 ))) 471 471 472 472 [[image:image-20220526140936-27.png]] 473 473 474 474 475 -== 5.3 Send Downlink message == 476 476 521 +== 5.3 Send Downlink message == 522 + 523 + 477 477 ((( 478 478 How to configure downlink in TTN V3? 479 479 ))) ... ... @@ -483,7 +483,9 @@ 483 483 ))) 484 484 485 485 ((( 486 -Downlink command:01 00 00 5A 533 +(% style="color:blue" %)**Downlink command: 01 00 00 5A** 534 + 535 + 487 487 ))) 488 488 489 489 [[image:image-20220526141021-28.png]] ... ... @@ -491,6 +491,7 @@ 491 491 downlink 492 492 493 493 543 + 494 494 After sending, you can view it in live data. 495 495 496 496 [[image:image-20220526141052-29.png]] ... ... @@ -498,12 +498,15 @@ 498 498 downlink 499 499 500 500 551 + 501 501 ((( 502 502 When downlink is successfully sent, the downlink information can be received on the serial port. 503 503 ))) 504 504 505 505 ((( 506 -**Note**: If the downlink byte sent is longer, the number of bytes will be displayed. 557 +(% style="color:red" %)**Note**:** If the downlink byte sent is longer, the number of bytes will be displayed.** 558 + 559 + 507 507 ))) 508 508 509 509 [[image:image-20220526141116-30.png]] ... ... @@ -519,13 +519,13 @@ 519 519 520 520 ((( 521 521 ((( 522 -If the equipment uses CLASS A. You can set **AT+RPL=2** or send the downlink command: **2102** 575 +If the equipment uses (% style="color:blue" %)**CLASS A**(%%). You can set (% style="color:red" %)**AT+RPL=2** (%%)or send the downlink command: (% style="color:red" %)**2102** 523 523 ))) 524 524 ))) 525 525 526 526 ((( 527 527 ((( 528 -If the equipment uses CLASS C. You can set** AT+RPL=4** or send the downlink command: **2104** 581 +If the equipment uses (% style="color:blue" %)**CLASS C**(%%). You can set** (% style="color:red" %)AT+RPL=4(%%)** or send the downlink command: (% style="color:red" %)**2104** 529 529 ))) 530 530 ))) 531 531 ... ... @@ -532,6 +532,8 @@ 532 532 ((( 533 533 ((( 534 534 When the device successfully receives the downlink, the server will receive a confirmation packet of 00. 588 + 589 + 535 535 ))) 536 536 ))) 537 537 ... ... @@ -540,8 +540,9 @@ 540 540 downlink 541 541 542 542 543 -= 6. Request Remote Support = 544 544 599 += 6. Request Remote Support = 600 + 545 545 ((( 546 546 These pages are useful to check what is wrong on the Join process. Below shows the four steps that we can check the Join Process. 547 547 \\If problem not solve, and you need dragino remote support, please follow to this document: [[TTN Support instruction>>url:https://www.dragino.com/downloads/index.php?dir=&file=TTNv3_Support_Guide.pdf]](% style="color:red" %) **If user has checked below steps and still can't solve the problem, please send us (support @ dragino.com) the screenshots for each step to check. They include:**