<
From version < 99.13 >
edited by Xiaoling
on 2022/07/25 08:54
To version < 99.14 >
edited by Xiaoling
on 2022/07/25 09:10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -333,8 +333,9 @@
333 333  )))
334 334  )))
335 335  
336 -== 4.1 Step1 ==
336 +== 4.1  Step1 ==
337 337  
338 +
338 338  (((
339 339  (((
340 340  Create a device in TTN with the OTAA keys from LSE01.
... ... @@ -358,11 +358,15 @@
358 358  [[image:image-20220526140044-18.png]]
359 359  
360 360  
361 -== 4.2 Step2 ==
362 362  
363 +== 4.2  Step2 ==
364 +
365 +
363 363  (((
364 364  (((
365 365  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 +
366 366  )))
367 367  )))
368 368  
... ... @@ -369,34 +369,45 @@
369 369  [[image:image-20220526140132-19.png]]
370 370  
371 371  
372 -== 4.3 Step3 ==
373 373  
378 +== 4.3  Step3 ==
379 +
380 +
374 374  Add APP EUI in the application:
375 375  
383 +
376 376  [[image:image-20220526140205-20.png]]
377 377  
378 378  
379 -== 4.4 Step4 ==
380 380  
388 +== 4.4  Step4 ==
389 +
390 +
381 381  Add APP KEY and DEV EUI:
382 382  
393 +
383 383  [[image:image-20220526140251-21.png]]
384 384  
385 385  
386 -= 5. TTN V3 integrated into MQTT server =
387 387  
388 -== 5.1 Introduction ==
398 += 5.  TTN V3 integrated into MQTT server =
389 389  
400 +
401 +== 5.1  Introduction ==
402 +
403 +
390 390  (((
391 391  (((
392 392  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.
393 393  
408 +
394 394  
395 395  )))
396 396  )))
397 397  
398 -== 5.2 Create device steps at MQTT ==
413 +== 5.2  Create device steps at MQTT ==
399 399  
415 +
400 400  (((
401 401  (((
402 402  The user creates a new API KEY after creating a device on TTN V3.
... ... @@ -412,6 +412,8 @@
412 412  (((
413 413  (((
414 414  Fill in Broker Address and Broker port.
431 +
432 +
415 415  )))
416 416  )))
417 417  
... ... @@ -420,8 +420,10 @@
420 420  Fill in the username and password into MQTT.
421 421  
422 422  
441 +
423 423  [[image:image-20220526140420-23.png]]
424 424  
444 +
425 425  The Application Server publishes uplink traffic on the following topics:
426 426  
427 427  (% class="box" %)
... ... @@ -438,13 +438,18 @@
438 438  )))
439 439  
440 440  (((
461 +
462 +
441 441  (((
442 -**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 +
443 443  )))
444 444  )))
445 445  
446 446  [[image:image-20220526140452-24.png]]
447 447  
472 +
448 448  (((
449 449  (((
450 450  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.
... ... @@ -461,7 +461,11 @@
461 461  
462 462  (((
463 463  (((
464 -**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 +
465 465  )))
466 466  )))
467 467  
... ... @@ -475,17 +475,23 @@
475 475  
476 476  (((
477 477  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 +
478 478  )))
479 479  
480 480  (((
481 -**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 +
482 482  )))
483 483  
484 484  [[image:image-20220526140936-27.png]]
485 485  
486 486  
487 -== 5.3 Send Downlink message ==
488 488  
521 +== 5.3  Send Downlink message ==
522 +
523 +
489 489  (((
490 490  How to configure downlink in TTN V3?
491 491  )))
... ... @@ -495,7 +495,9 @@
495 495  )))
496 496  
497 497  (((
498 -Downlink command:01 00 00 5A
533 +(% style="color:blue" %)**Downlink command: 01 00 00 5A**
534 +
535 +
499 499  )))
500 500  
501 501  [[image:image-20220526141021-28.png]]
... ... @@ -503,6 +503,7 @@
503 503  downlink
504 504  
505 505  
543 +
506 506  After sending, you can view it in live data.
507 507  
508 508  [[image:image-20220526141052-29.png]]
... ... @@ -510,12 +510,15 @@
510 510  downlink
511 511  
512 512  
551 +
513 513  (((
514 514  When downlink is successfully sent, the downlink information can be received on the serial port.
515 515  )))
516 516  
517 517  (((
518 -**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 +
519 519  )))
520 520  
521 521  [[image:image-20220526141116-30.png]]
... ... @@ -531,13 +531,13 @@
531 531  
532 532  (((
533 533  (((
534 -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**
535 535  )))
536 536  )))
537 537  
538 538  (((
539 539  (((
540 -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**
541 541  )))
542 542  )))
543 543  
... ... @@ -544,6 +544,8 @@
544 544  (((
545 545  (((
546 546  When the device successfully receives the downlink, the server will receive a confirmation packet of 00.
588 +
589 +
547 547  )))
548 548  )))
549 549  
... ... @@ -552,8 +552,9 @@
552 552  downlink
553 553  
554 554  
555 -= 6. Request Remote Support =
556 556  
599 += 6.  Request Remote Support =
600 +
557 557  (((
558 558  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.
559 559  \\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:**
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0