Changes for page Notes for TTN
Last modified by Mengting Qiu on 2024/08/20 17:29
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ye1 +XWiki.Xiaoling - Content
-
... ... @@ -69,24 +69,6 @@ 69 69 70 70 71 71 72 -Note: 73 - 74 -DRAGINO - Frequency Plan list ~-~-~-~-- The Thing Network Frequency Plan List 75 - 76 -AS923-1 (920-923) ~-~-~-~-~-~-~-~-~-~-~-~-~-~-- Asia 920-923 Mhz 77 - 78 -AS923-1 (923-925) ~-~-~-~-~-~-~-~-~-~-~-~-~-~-- Asia 915-928 Mhz (AS923 Group 1)with only default channels 79 - 80 -AS923-2 (921.4-922.8) ~-~-~-~-~-~-~-~-~-~-~-~-~-~-- Asia 920-923 Mhz (AS923 Group 2)with only default channels 81 - 82 -AS923-3 (916.6-918.2) ~-~-~-~-~-~-~-~-~-~-~-~-~-~-- Asia 915-921 Mhz (AS923 Group 3)with only default channels 83 - 84 -AS923-4 (917.3-918.7) ~-~-~-~-~-~-~-~-~-~-~-~-~-~-- Asia 917-920 Mhz (AS923 Group 4)with only default channels 85 - 86 -[[image:image-20220726134642-1.png]][[image:image-20220726135827-3.png||height="214" width="394"]][[image:image-20220726135759-2.png||height="218" width="554"]] 87 - 88 - 89 - 90 90 [[image:image-20220526134919-5.png]] 91 91 92 92 Show Status ... ... @@ -102,16 +102,15 @@ 102 102 The Dragino gateway has supports the Secondary server settings. 103 103 104 104 105 - 106 106 === 2.2.2 Below list the support products and Requirements: === 107 107 108 108 109 109 ((( 110 -1. 91 +~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]] 111 111 ))) 112 112 113 113 ((( 114 -2. 95 +2. Firmware version since :[[lgw~~-~~-build-v5.4.1644658774>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware/Release/]] 115 115 ))) 116 116 117 117 ... ... @@ -126,9 +126,8 @@ 126 126 === 2.2.4 Step 1: Download and Install the helium gateway-rs === 127 127 128 128 129 -The users is needing to download and install the helium gateway-rs then click the button of (% style="color:blue" %)**Save&Apply.**110 +The users is needing to download and install the helium gateway-rs then click the button of Save&Apply 130 130 131 - 132 132 [[image:image-20220526135049-6.png]] 133 133 134 134 Download and Install gateway-rs ... ... @@ -138,9 +138,8 @@ 138 138 === 2.2.5 Step 2: Back to Semtech UDP page === 139 139 140 140 141 -Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.**121 +Back to the page of Semtech UDP check the secondary server settings and click the button of Save&Apply 142 142 143 - 144 144 [[image:image-20220526135125-7.png]] 145 145 146 146 Configuration of helium ... ... @@ -167,12 +167,14 @@ 167 167 168 168 ((( 169 169 ((( 170 -1. 149 +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]] 171 171 ))) 172 172 173 173 ((( 174 - 2. 153 + 2. Firmware version since :[[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 175 175 155 + 156 + 176 176 177 177 ))) 178 178 ))) ... ... @@ -195,7 +195,7 @@ 195 195 196 196 ((( 197 197 ((( 198 - (% style="color:blue" %)**The example for**(%%)** (% style="color:red" %)EU:(%%)**179 +The example for **EU** 199 199 ))) 200 200 ))) 201 201 ... ... @@ -285,52 +285,41 @@ 285 285 Congfigure Station 286 286 287 287 269 +== 3.7 Start Station == 288 288 289 -== 3.7 Start Station == 290 - 291 - 292 292 ((( 293 293 When the user has finished the configuration,Please click Sace&Apply to start station to connect The Things Network. 294 294 295 - 296 296 297 297 ))) 298 298 299 -== 3.8 277 +== 3.8 Siccessful Connection == 300 300 301 - 302 302 If user completes the above steps,which will see live date in the TTN. 303 303 304 - 305 305 [[image:image-20220526135734-14.png]] 306 306 307 307 Station live date 308 308 309 309 286 +== 3.9 Trouble Shooting == 310 310 311 - ==3.9TroubleShooting==288 +User can check the station log in the logread/system log page. 312 312 313 - 314 -User can check the station log in the** (% style="color:blue" %)LogRead ~-~-> System Log (%%)**page. 315 - 316 - 317 317 [[image:image-20220526135845-15.png]] 318 318 319 319 Station Log 320 320 321 321 295 +and recode the station log in the system/Recode log page. 322 322 323 -and recode the station log in the** (% style="color:blue" %)LogRead ~-~-> Recode Log(%%)** page. 324 - 325 325 [[image:image-20220526135940-16.png]] 326 326 327 327 Recore Log 328 328 329 329 302 += 4. Configure node connection to TTNv3 = 330 330 331 -= 4. Configure node connection to TTNv3 = 332 - 333 - 334 334 ((( 335 335 ((( 336 336 Following is an example for how to join the TTN v3 LoRaWAN Network. ... ... @@ -345,16 +345,14 @@ 345 345 346 346 ((( 347 347 ((( 348 - (% style="color:#037691" %)**We take LES01 as an example.**318 +We take LES01 as an example. 349 349 350 - 351 351 352 352 ))) 353 353 ))) 354 354 355 -== 4.1 324 +== 4.1 Step1 == 356 356 357 - 358 358 ((( 359 359 ((( 360 360 Create a device in TTN with the OTAA keys from LSE01. ... ... @@ -375,19 +375,14 @@ 375 375 376 376 [[image:image-20220526140015-17.png]] 377 377 378 - 379 379 [[image:image-20220526140044-18.png]] 380 380 381 381 349 +== 4.2 Step2 == 382 382 383 -== 4.2 Step2 == 384 - 385 - 386 386 ((( 387 387 ((( 388 388 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. 389 - 390 - 391 391 ))) 392 392 ))) 393 393 ... ... @@ -394,45 +394,34 @@ 394 394 [[image:image-20220526140132-19.png]] 395 395 396 396 360 +== 4.3 Step3 == 397 397 398 -== 4.3 Step3 == 399 - 400 - 401 401 Add APP EUI in the application: 402 402 403 - 404 404 [[image:image-20220526140205-20.png]] 405 405 406 406 367 +== 4.4 Step4 == 407 407 408 - ==4.4Step4==369 +Add APP KEY and DEV EUI: 409 409 410 - 411 -**Add APP KEY and DEV EUI:** 412 - 413 - 414 414 [[image:image-20220526140251-21.png]] 415 415 416 416 374 += 5. TTN V3 integrated into MQTT server = 417 417 418 -= 5. TTN V3 integratedintoMQTT server=376 +== 5.1 Introduction == 419 419 420 - 421 -== 5.1 Introduction == 422 - 423 - 424 424 ((( 425 425 ((( 426 426 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. 427 427 428 - 429 429 430 430 ))) 431 431 ))) 432 432 433 -== 5.2 386 +== 5.2 Create device steps at MQTT == 434 434 435 - 436 436 ((( 437 437 ((( 438 438 The user creates a new API KEY after creating a device on TTN V3. ... ... @@ -448,8 +448,6 @@ 448 448 ((( 449 449 ((( 450 450 Fill in Broker Address and Broker port. 451 - 452 - 453 453 ))) 454 454 ))) 455 455 ... ... @@ -458,10 +458,8 @@ 458 458 Fill in the username and password into MQTT. 459 459 460 460 461 - 462 462 [[image:image-20220526140420-23.png]] 463 463 464 - 465 465 The Application Server publishes uplink traffic on the following topics: 466 466 467 467 (% class="box" %) ... ... @@ -478,18 +478,13 @@ 478 478 ))) 479 479 480 480 ((( 481 - 482 - 483 483 ((( 484 -(% 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}.** 485 - 486 - 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}. 487 487 ))) 488 488 ))) 489 489 490 490 [[image:image-20220526140452-24.png]] 491 491 492 - 493 493 ((( 494 494 ((( 495 495 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. ... ... @@ -506,11 +506,7 @@ 506 506 507 507 ((( 508 508 ((( 509 - 510 - 511 -(% 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.** 512 - 513 - 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. 514 514 ))) 515 515 ))) 516 516 ... ... @@ -524,23 +524,17 @@ 524 524 525 525 ((( 526 526 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: 527 - 528 - 529 529 ))) 530 530 531 531 ((( 532 -(% style="color:red" %)**Note**: **Use this handy tool to convert hexadecimal to base64.** 533 - 534 - 469 +**Note**: Use this handy tool to convert hexadecimal to base64. 535 535 ))) 536 536 537 537 [[image:image-20220526140936-27.png]] 538 538 539 539 475 +== 5.3 Send Downlink message == 540 540 541 -== 5.3 Send Downlink message == 542 - 543 - 544 544 ((( 545 545 How to configure downlink in TTN V3? 546 546 ))) ... ... @@ -550,9 +550,7 @@ 550 550 ))) 551 551 552 552 ((( 553 -(% style="color:blue" %)**Downlink command: 01 00 00 5A** 554 - 555 - 486 +Downlink command:01 00 00 5A 556 556 ))) 557 557 558 558 [[image:image-20220526141021-28.png]] ... ... @@ -560,7 +560,6 @@ 560 560 downlink 561 561 562 562 563 - 564 564 After sending, you can view it in live data. 565 565 566 566 [[image:image-20220526141052-29.png]] ... ... @@ -568,15 +568,12 @@ 568 568 downlink 569 569 570 570 571 - 572 572 ((( 573 573 When downlink is successfully sent, the downlink information can be received on the serial port. 574 574 ))) 575 575 576 576 ((( 577 -(% style="color:red" %)**Note**:** If the downlink byte sent is longer, the number of bytes will be displayed.** 578 - 579 - 506 +**Note**: If the downlink byte sent is longer, the number of bytes will be displayed. 580 580 ))) 581 581 582 582 [[image:image-20220526141116-30.png]] ... ... @@ -592,13 +592,13 @@ 592 592 593 593 ((( 594 594 ((( 595 -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**522 +If the equipment uses CLASS A. You can set **AT+RPL=2** or send the downlink command: **2102** 596 596 ))) 597 597 ))) 598 598 599 599 ((( 600 600 ((( 601 -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**528 +If the equipment uses CLASS C. You can set** AT+RPL=4** or send the downlink command: **2104** 602 602 ))) 603 603 ))) 604 604 ... ... @@ -605,8 +605,6 @@ 605 605 ((( 606 606 ((( 607 607 When the device successfully receives the downlink, the server will receive a confirmation packet of 00. 608 - 609 - 610 610 ))) 611 611 ))) 612 612 ... ... @@ -615,10 +615,8 @@ 615 615 downlink 616 616 617 617 543 += 6. Request Remote Support = 618 618 619 -= 6. Request Remote Support = 620 - 621 - 622 622 ((( 623 623 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. 624 624 \\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:** ... ... @@ -630,23 +630,19 @@ 630 630 * End Node traffic (from server UI) to shows end node activity in server. (Normally possible) 631 631 * 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) 632 632 556 +**~1. End Device Join Screen shot, we can check:** 633 633 634 -(% style="color:blue" %)**1. End Device Join Screen shot, we can check:** 635 - 636 636 * If the device is sending join request to server? 637 637 * What frequency the device is sending? 638 638 639 - 640 640 [[image:image-20220526141308-33.png]] 641 641 642 642 Console Output from End device to see the transmit frequency 643 643 565 +User can run **AT+CFG **command to print configuration information. 644 644 645 - Usercanrun(%style="color:blue"%)**AT+CFG**(%%)commandtoprintconfiguration information.567 +* Is the device in OTAA mode or ABP mode? **AT+NJM=1** (OTAA mode), **AT+NJM=0** (ABP mode) 646 646 647 -* Is the device in OTAA mode or ABP mode? (% style="color:red" %)**AT+NJM=1** (%%)(OTAA mode), (% style="color:red" %)**AT+NJM=0**(%%) (ABP mode) 648 - 649 - 650 650 [[image:image-20220526141612-36.png]] 651 651 652 652 ... ... @@ -653,17 +653,13 @@ 653 653 Console Output from End device to see the transmit frequency 654 654 655 655 575 +**2. Gateway packet traffic in gateway web or ssh. we can check:** 656 656 657 -(% style="color:blue" %)**2. Gateway packet traffic in gateway web or ssh. we can check:** 658 - 659 659 * ((( 660 660 If the gateway receive the Join request packet from sensor? (If this fail, check if the gateway and sensor works on the match frequency) 661 661 ))) 662 662 * ((( 663 663 If the gateway gets the Join Accept message from server and transmit it via LoRa? 664 - 665 - 666 - 667 667 ))) 668 668 669 669 [[image:image-20220526141739-37.png]] ... ... @@ -671,9 +671,8 @@ 671 671 Console Output from Gateway to see packets between end node and server. 672 672 673 673 589 +**3. Gateway Traffic Page in LoRaWAN Server** 674 674 675 -(% style="color:blue" %)**3. Gateway Traffic Page in LoRaWAN Server** 676 - 677 677 * ((( 678 678 If the Join Request packet arrive the gateway traffic in server? If not, check the internet connection and gateway LoRaWAN server settings. 679 679 ))) ... ... @@ -682,9 +682,6 @@ 682 682 ))) 683 683 * ((( 684 684 If the Join Accept message are in correct frequency? If you set the server to use US915 band, and your end node and gateway is EU868, you will see the Join Accept message are in US915 band so no possible to Join success. 685 - 686 - 687 - 688 688 ))) 689 689 690 690 [[image:image-20220526141823-38.png||height="501" width="1144"]] ... ... @@ -692,21 +692,18 @@ 692 692 The Traffic for the End node in the server, use TTNv3 as example 693 693 694 694 695 - 696 696 [[image:image-20220526141917-39.png]] 697 697 698 698 The Traffic for the End node in the server, use TTNv3 as example 699 699 700 700 611 +**4. Data Page in LoRaWAN server** 701 701 702 -(% style="color:blue" %)**4. Data Page in LoRaWAN server** 703 - 704 704 ((( 705 705 ((( 706 706 ((( 707 707 If this data page shows the Join Request message from the end node? If not, most properly you have wrong settings in the keys. Keys in the server doesn't match the keys in End Node. 708 708 709 - 710 710 [[image:image-20220526141956-40.png]] 711 711 ))) 712 712 ))) ... ... @@ -715,7 +715,6 @@ 715 715 The data for the end device set in server 716 716 717 717 718 - 719 719 [[image:image-20220526142033-41.png]] 720 720 721 721 Check if OTAA Keys match the keys in device
- image-20220726134642-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -50.0 KB - Content
- image-20220726135759-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.5 KB - Content
- image-20220726135827-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.1 KB - Content