<
From version < 78.2 >
edited by Xiaoling
on 2022/05/13 18:13
To version < 78.3 >
edited by Xiaoling
on 2022/05/13 18:18
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -319,12 +319,13 @@
319 319  
320 320  [[T>>url:https://www.thethingsnetwork.org/]]heThingsNetwork v3(T[[TN>>url:https://www.thethingsnetwork.org/]] v3[[)>>url:http://)]][[ LoRaWAN Server>>url:https://www.thethingsnetwork.org/]]  ([[www.thethingsnetwork.org>>url:http://www.thethingsnetwork.org/]])
321 321  
322 -
323 323  == 4.1 Create a gateway in TTN V3 Server ==
324 324  
325 325  (% style="color:#4f81bd" %)**Step 1: Get a Unique gateway ID.**
326 326  
326 +(((
327 327  Every DLOS8N has a unique gateway id. The ID can be found at LoRaWAN page:
328 +)))
328 328  
329 329  [[image:1652421929753-168.png||height="403" width="739"]]
330 330  
... ... @@ -402,32 +402,56 @@
402 402   [[image:1652422763536-750.png||height="514" width="730"]]
403 403  
404 404  
405 -4.4 Add a LoRaWAN End Device
406 +== 4.4 Add a LoRaWAN End Device ==
406 406  
408 +(((
407 407  This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site.
410 +)))
408 408  
412 +(((
409 409  We use [[LT-22222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] IO Controller as a reference device - the setup for other LoRaWAN devices will be similar.
414 +)))
410 410  
411 411  [[image:1652422794767-871.png]]
412 412  
418 +(((
413 413  (% style="color:#4f81bd" %)**Step 1**: (% style="color:black" %)Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device.
420 +)))
414 414  
422 +(((
415 415  Three codes are required to define the device in TTN v3:
424 +)))
416 416  
417 417  * DEV EUI - Unique ID code for a particular device.
418 418  * APP EUI - ID code for an Application defined in TTN v3.
419 419  * APP Key - Unique key to secure communications with a particular device.
420 420  
430 +(((
421 421  A set of these codes are stored in each device by the manufacturer as the default codes for that particular device. Each device is shipped with a sticker with the default Device EUI as shown below.
432 +)))
422 422  
423 423  [[image:1652422840936-838.png]]
424 424  
425 425  
437 +(((
426 426  (% style="color:red" %)Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the LT-22222 uses a serial port access and a series of AT commands.  Changing the codes may be necessary in the case where you have to use codes assigned by a LoRa WAN server.
439 +)))
427 427  
441 +(((
442 +
443 +)))
444 +
445 +(((
428 428  For the TTN v3 server, you can use the codes set in the device as in the following example.
447 +)))
429 429  
449 +(((
450 +
451 +)))
452 +
453 +(((
430 430  Select **Add Application** to open the screen below.
455 +)))
431 431  
432 432  [[image:1652422946999-255.png||height="356" width="744"]]
433 433  
... ... @@ -437,10 +437,14 @@
437 437  
438 438  [[image:1652422975885-591.png||height="359" width="726"]]
439 439  
465 +(((
440 440  Select OTAA activation mode
467 +)))
441 441  
442 442  
470 +(((
443 443  The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3.
472 +)))
444 444  
445 445  [[image:1652422998005-968.png||height="352" width="744"]]
446 446  
... ... @@ -452,12 +452,18 @@
452 452  
453 453  [[image:1652423046741-467.png||height="355" width="736"]]
454 454  
484 +(((
455 455  Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device.
486 +)))
456 456  
457 457  
489 +(((
458 458  (% style="color:#4f81bd" %)**Step 2**: (% style="color:black" %)Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel.
491 +)))
459 459  
493 +(((
460 460  (% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display.
495 +)))
461 461  
462 462  [[image:1652423277549-324.png||height="273" width="745"]]
463 463  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0