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)
-
Attachments (0 modified, 0 added, 35 removed)
- image-20220526135049-6.png
- image-20220526135125-7.png
- image-20220526135316-8.png
- image-20220526135349-9.png
- image-20220526135428-10.png
- image-20220526135528-11.png
- image-20220526135601-12.png
- image-20220526135654-13.png
- image-20220526135734-14.png
- image-20220526135845-15.png
- image-20220526135940-16.png
- image-20220526140015-17.png
- image-20220526140044-18.png
- image-20220526140132-19.png
- image-20220526140205-20.png
- image-20220526140251-21.png
- image-20220526140347-22.png
- image-20220526140420-23.png
- image-20220526140452-24.png
- image-20220526140708-25.png
- image-20220526140856-26.png
- image-20220526140936-27.png
- image-20220526141021-28.png
- image-20220526141052-29.png
- image-20220526141116-30.png
- image-20220526141149-31.png
- image-20220526141236-32.png
- image-20220526141308-33.png
- image-20220526141350-34.png
- image-20220526141612-36.png
- image-20220526141739-37.png
- image-20220526141823-38.png
- image-20220526141917-39.png
- image-20220526141956-40.png
- image-20220526142033-41.png
Details
- Page properties
-
- Content
-
... ... @@ -3,7 +3,6 @@ 3 3 {{toc/}} 4 4 5 5 6 - 7 7 = 1. The Things Network-V3 = 8 8 9 9 == 1.1 Introduction == ... ... @@ -16,8 +16,6 @@ 16 16 17 17 ((( 18 18 The Things Network runs The Things Stack Community Edition, which is a crowdsourced, open and decentralized LoRaWAN network. This network is a great way to get started testing devices, applications, and integrations, and get familiar with LoRaWAN. 19 - 20 - 21 21 ))) 22 22 23 23 === 1.1.2 Login or crate an account === ... ... @@ -28,8 +28,6 @@ 28 28 29 29 ((( 30 30 Once you have an account,get started by following steps for adding Gateway,Device and Intergrations. 31 - 32 - 33 33 ))) 34 34 35 35 === 1.1.3 List the support products and Requirements === ... ... @@ -36,7 +36,6 @@ 36 36 37 37 LoRaWAN Gateway model: Existing Gateway 38 38 39 - 40 40 = 2. Gateway Registration for Semtech UDP = 41 41 42 42 == 2.1 Primary LoRaWAN Server == ... ... @@ -51,17 +51,15 @@ 51 51 Put Gateway ID 52 52 53 53 54 - 55 55 [[image:image-20220526134759-3.png]] 56 56 57 57 Choose Frequency Band 58 58 59 59 60 -[[image:image-2022052 6134919-5.png]]53 +[[image:image-20220525093308-2.png]] 61 61 62 62 Show Status 63 63 64 - 65 65 == 2.2 Secondary LoRaWAN Server == 66 66 67 67 === 2.2.1 Introduction === ... ... @@ -68,7 +68,6 @@ 68 68 69 69 The Dragino gateway has supports the Secondary server settings. 70 70 71 - 72 72 === 2.2.2 Below list the support products and Requirements: === 73 73 74 74 ((( ... ... @@ -79,30 +79,26 @@ 79 79 2. Firmware version since :[[lgw~~-~~-build-v5.4.1644658774>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware/Release/]] 80 80 ))) 81 81 82 - 83 83 === 2.2.3 Example === 84 84 85 -The following takes Helium as a Secondary LoRaWAN server as an example 75 +The following takes Helium as a Secondary LoRaWAN server as an example, 86 86 87 - 88 88 === 2.2.4 Step 1: Download and Install the helium gateway-rs === 89 89 90 90 The users is needing to download and install the helium gateway-rs then click the button of Save&Apply 91 91 92 -[[image:image-2022052 6135049-6.png]]81 +[[image:image-20220525093626-7.png]] 93 93 94 94 Download and Install gateway-rs 95 95 96 - 97 97 === 2.2.5 Step 2: Back to Semtech UDP page === 98 98 99 99 Back to the page of Semtech UDP check the secondary server settings and click the button of Save&Apply 100 100 101 -[[image:image-2022052 6135125-7.png]]89 +[[image:image-20220525093929-1.png]] 102 102 103 103 Configuration of helium 104 104 105 - 106 106 = 3. Gateway Registration for Basics Station = 107 107 108 108 == 3.1 Introduction == ... ... @@ -134,8 +134,6 @@ 134 134 ((( 135 135 ((( 136 136 A gateway that can access the internet normally 137 - 138 - 139 139 ))) 140 140 ))) 141 141 ... ... @@ -159,45 +159,41 @@ 159 159 ))) 160 160 ))) 161 161 162 -[[image:image-2022052 6135316-8.png]]147 +[[image:image-20220525094010-2.png]] 163 163 164 164 Add Gateway 165 165 166 - 167 167 == 3.3 Step 2. Create the API key == 168 168 169 169 user need to create the CUPS API key and LNS API key. 170 170 171 -[[image:image-2022052 6135349-9.png]]155 +[[image:image-20220525094115-3.png]] 172 172 173 173 Create CUPS API key 174 174 175 175 176 -[[image:image-2022052 6135428-10.png]]160 +[[image:image-20220525094146-4.png]] 177 177 178 178 Create LNS API key 179 179 180 180 (% style="color:red" %)**Note : Please copy the API key.** 181 181 182 - 183 183 == 3.4 Step 3. Update the gateway setting == 184 184 185 185 In the LoRa Basics Station LNS Authentication Key field, paste the API key you generated in the previous step. 186 186 187 -[[image:image-2022052 6135528-11.png]]170 +[[image:image-20220525094220-5.png]] 188 188 189 189 paste the API key 190 190 191 - 192 192 == 3.5 Step 4. Access the gateway GUI == 193 193 194 194 User need to update the API key and install the Certificate 195 195 196 -[[image:image-2022052 6135601-12.png]]178 +[[image:image-20220525094257-6.png]] 197 197 198 198 Access the gateway GUI 199 199 200 - 201 201 == 3.6 Step 5. Configure Station == 202 202 203 203 User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. ... ... @@ -212,17 +212,14 @@ 212 212 CUPS certificate ~-~-> Server CA(user can use the button to install the certificate by default) 213 213 ))) 214 214 215 -[[image:image-2022052 6135654-13.png]]196 +[[image:image-20220525094329-7.png]] 216 216 217 217 Congfigure Station 218 218 219 - 220 220 == 3.7 Start Station == 221 221 222 222 ((( 223 223 When the user has finished the configuration,Please click Sace&Apply to start station to connect The Things Network. 224 - 225 - 226 226 ))) 227 227 228 228 == 3.8 Siccessful Connection == ... ... @@ -229,27 +229,24 @@ 229 229 230 230 If user completes the above steps,which will see live date in the TTN. 231 231 232 -[[image:image-2022052 6135734-14.png]]210 +[[image:image-20220525094409-8.png]] 233 233 234 234 Station live date 235 235 236 - 237 237 == 3.9 Trouble Shooting == 238 238 239 239 User can check the station log in the logread/system log page. 240 240 241 -[[image:image-2022052 6135845-15.png]]218 +[[image:image-20220525090622-14.png]] 242 242 243 243 Station Log 244 244 245 - 246 246 and recode the station log in the system/Recode log page. 247 247 248 -[[image:image-2022052 6135940-16.png]]224 +[[image:image-20220525090705-15.png]] 249 249 250 250 Recore Log 251 251 252 - 253 253 = 4. Configure node connection to TTNv3 = 254 254 255 255 ((( ... ... @@ -267,8 +267,6 @@ 267 267 ((( 268 268 ((( 269 269 We take LES01 as an example. 270 - 271 - 272 272 ))) 273 273 ))) 274 274 ... ... @@ -292,11 +292,10 @@ 292 292 ))) 293 293 ))) 294 294 295 -[[image:image-2022052 6140015-17.png]]268 +[[image:image-20220525090739-16.png]] 296 296 297 -[[image:image-2022052 6140044-18.png]]270 +[[image:image-20220525090833-17.png]] 298 298 299 - 300 300 == 4.2 Step2 == 301 301 302 302 ((( ... ... @@ -305,23 +305,20 @@ 305 305 ))) 306 306 ))) 307 307 308 -[[image:image-2022052 6140132-19.png]]280 +[[image:image-20220525090920-18.png]] 309 309 310 - 311 311 == 4.3 Step3 == 312 312 313 313 Add APP EUI in the application: 314 314 315 -[[image:image-2022052 6140205-20.png]]286 +[[image:image-20220525091022-19.png]] 316 316 317 - 318 318 == 4.4 Step4 == 319 319 320 320 Add APP KEY and DEV EUI: 321 321 322 -[[image:image-2022052 6140251-21.png]]292 +[[image:image-20220525091128-20.png]] 323 323 324 - 325 325 = 5. TTN V3 integrated into MQTT server = 326 326 327 327 == 5.1 Introduction == ... ... @@ -329,8 +329,6 @@ 329 329 ((( 330 330 ((( 331 331 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. 332 - 333 - 334 334 ))) 335 335 ))) 336 336 ... ... @@ -354,12 +354,12 @@ 354 354 ))) 355 355 ))) 356 356 357 -[[image:image-2022052 6140347-22.png]]324 +[[image:image-20220525091251-22.png]] 358 358 359 359 Fill in the username and password into MQTT. 360 360 361 361 362 -[[image:image-2022052 6140420-23.png]]329 +[[image:image-20220525091333-23.png]] 363 363 364 364 The Application Server publishes uplink traffic on the following topics: 365 365 ... ... @@ -382,7 +382,7 @@ 382 382 ))) 383 383 ))) 384 384 385 -[[image:image-2022052 6140452-24.png]]352 +[[image:image-20220525091430-24.png]] 386 386 387 387 ((( 388 388 ((( ... ... @@ -390,7 +390,7 @@ 390 390 ))) 391 391 ))) 392 392 393 -[[image:image-2022052 6140708-25.png]]360 +[[image:image-20220525091458-25.png]] 394 394 395 395 ((( 396 396 ((( ... ... @@ -410,7 +410,7 @@ 410 410 ))) 411 411 ))) 412 412 413 -[[image:image-202205261 40856-26.png]]380 +[[image:image-20220525091618-27.png]] 414 414 415 415 ((( 416 416 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: ... ... @@ -420,9 +420,8 @@ 420 420 **Note**: Use this handy tool to convert hexadecimal to base64. 421 421 ))) 422 422 423 -[[image:image-2022052 6140936-27.png]]390 +[[image:image-20220525091702-28.png]] 424 424 425 - 426 426 == 5.3 Send Downlink message == 427 427 428 428 ((( ... ... @@ -437,18 +437,16 @@ 437 437 Downlink command:01 00 00 5A 438 438 ))) 439 439 440 -[[image:image-2022052 6141021-28.png]]406 +[[image:image-20220525091752-29.png]] 441 441 442 442 downlink 443 443 444 - 445 445 After sending, you can view it in live data. 446 446 447 -[[image:image-2022052 6141052-29.png]]412 +[[image:image-20220525091816-30.png]] 448 448 449 449 downlink 450 450 451 - 452 452 ((( 453 453 When downlink is successfully sent, the downlink information can be received on the serial port. 454 454 ))) ... ... @@ -457,11 +457,10 @@ 457 457 **Note**: If the downlink byte sent is longer, the number of bytes will be displayed. 458 458 ))) 459 459 460 -[[image:image-2022052 6141116-30.png]]424 +[[image:image-20220525091855-31.png]] 461 461 462 462 downlink 463 463 464 - 465 465 ((( 466 466 ((( 467 467 If you want to get a successful reply to send downlink in TTN v3. You need to set the response level. ... ... @@ -486,11 +486,10 @@ 486 486 ))) 487 487 ))) 488 488 489 -[[image:image-2022052 6141149-31.png]]452 +[[image:image-20220525091925-32.png]] 490 490 491 491 downlink 492 492 493 - 494 494 = 6. Request Remote Support = 495 495 496 496 ((( ... ... @@ -509,7 +509,7 @@ 509 509 * If the device is sending join request to server? 510 510 * What frequency the device is sending? 511 511 512 -[[image:image-2022052 6141308-33.png]]474 +[[image:image-20220525092012-33.png]] 513 513 514 514 Console Output from End device to see the transmit frequency 515 515 ... ... @@ -517,12 +517,10 @@ 517 517 518 518 * Is the device in OTAA mode or ABP mode? **AT+NJM=1** (OTAA mode), **AT+NJM=0** (ABP mode) 519 519 520 -[[image:image-2022052 6141612-36.png]]482 +[[image:image-20220525092043-34.png]] 521 521 522 - 523 523 Console Output from End device to see the transmit frequency 524 524 525 - 526 526 **2. Gateway packet traffic in gateway web or ssh. we can check:** 527 527 528 528 * ((( ... ... @@ -532,7 +532,7 @@ 532 532 If the gateway gets the Join Accept message from server and transmit it via LoRa? 533 533 ))) 534 534 535 -[[image:image-2022052 6141739-37.png]]495 +[[image:image-20220525092124-35.png]] 536 536 537 537 Console Output from Gateway to see packets between end node and server. 538 538 ... ... @@ -549,16 +549,15 @@ 549 549 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. 550 550 ))) 551 551 552 -[[image:image-2022052 6141823-38.png||height="501" width="1144"]]512 +[[image:image-20220525092157-36.png]] 553 553 554 554 The Traffic for the End node in the server, use TTNv3 as example 555 555 556 556 557 -[[image:image-2022052 6141917-39.png]]517 +[[image:image-20220525092231-37.png]] 558 558 559 559 The Traffic for the End node in the server, use TTNv3 as example 560 560 561 - 562 562 **4. Data Page in LoRaWAN server** 563 563 564 564 ((( ... ... @@ -566,7 +566,7 @@ 566 566 ((( 567 567 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. 568 568 569 -[[image:image-2022052 6141956-40.png]]528 +[[image:image-20220525092546-1.png]] 570 570 ))) 571 571 ))) 572 572 ))) ... ... @@ -573,7 +573,6 @@ 573 573 574 574 The data for the end device set in server 575 575 535 +[[image:image-20220525092430-40.png]] 576 576 577 -[[image:image-20220526142033-41.png]] 578 - 579 579 Check if OTAA Keys match the keys in device
- image-20220526135049-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -79.8 KB - Content
- image-20220526135125-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.4 KB - Content
- image-20220526135316-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.1 KB - Content
- image-20220526135349-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -69.4 KB - Content
- image-20220526135428-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -68.6 KB - Content
- image-20220526135528-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -104.4 KB - Content
- image-20220526135601-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -115.2 KB - Content
- image-20220526135654-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -123.6 KB - Content
- image-20220526135734-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -122.5 KB - Content
- image-20220526135845-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -159.3 KB - Content
- image-20220526135940-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.9 KB - Content
- image-20220526140015-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.4 KB - Content
- image-20220526140044-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.0 KB - Content
- image-20220526140132-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -60.2 KB - Content
- image-20220526140205-20.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -77.6 KB - Content
- image-20220526140251-21.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -67.9 KB - Content
- image-20220526140347-22.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.0 KB - Content
- image-20220526140420-23.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -77.4 KB - Content
- image-20220526140452-24.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.4 KB - Content
- image-20220526140708-25.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -827.1 KB - Content
- image-20220526140856-26.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -114.9 KB - Content
- image-20220526140936-27.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -103.1 KB - Content
- image-20220526141021-28.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -74.8 KB - Content
- image-20220526141052-29.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -84.1 KB - Content
- image-20220526141116-30.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -10.1 KB - Content
- image-20220526141149-31.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.0 KB - Content
- image-20220526141236-32.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -114.0 KB - Content
- image-20220526141308-33.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -90.1 KB - Content
- image-20220526141350-34.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -78.7 KB - Content
- image-20220526141612-36.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -78.2 KB - Content
- image-20220526141739-37.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -288.0 KB - Content
- image-20220526141823-38.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -197.3 KB - Content
- image-20220526141917-39.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -154.2 KB - Content
- image-20220526141956-40.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -163.5 KB - Content
- image-20220526142033-41.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -25.2 KB - Content