Table of Contents:

1.  Parse Payload

The following is our operation process and interface.

The code can be run in the payload parser.

 

image-20220526143905-6.png

Parse Payload

image-20220526143653-4.png

Parse Payload

2.  Create device steps at Tago

2.1 General Steps

Take the creation of LGT92 as an example

image-20220526143953-7.png

Get the authorization code and fill in it

image-20220526144034-8.png

All the following options require authorization.

image-20220526144110-9.png

create device.

image-20220526145059-13.png

image-20220526145031-12.png

image-20220526145237-14.png

image-20220526145316-15.png

The corresponding widget can be created according to the decoding of the device on TTN.

image-20220526145459-16.png

image-20220526145527-17.png

2.2 Downlink Message to LoRaWAN End node

Make sure to use Base64 Code. Reference for how to get Base64

image-20220526143317-1.png

3.  Example - Create TrackerD/LGT92 positioning widget

Creating TrackerD/ LGT92 in TTN does not require manual creation, you directly select LGT92 in the brand.

Devices registered from the LoRaWAN device repository do not need to add a decoder. To manually create a device, you need to add a decoder.

image-20220526145723-1.png

The same steps are used to create widgets and location maps.

image-20220526145753-2.png

image-20220526145831-3.png

image-20220526145901-4.png

LGT92 displays the walking track according to the location of the sent data packet.

The device sets the time interval for sending data packets to control the positioning track.

image-20220526145932-5.png

4.  Example - Real Time Location System demo(RTLS)

4.1  Introduction

The purpose of this document is to describe the Real Time Location System demo(RTLS). It is created as a manual guide for understanding each process of the application, explaining types of users and setting the application.

You can access the application through:  https://rtls.run.tago.io

  • The user can read this document for the description of the real-time positioning system demonstration.

https://www.dragino.com/downloads/downloads/LoRa_End_Node/LBT1/RTLS_demo_documentation.pdf

4.2  Instructions for using LBT1 with RTLS

(1)RTLS supports TTNv3 and helium servers for indoor positioning.

(2)The user needs to register the device with LBT1 on the TTNv3 or helium server.

(3)Then the user needs to integrate the application into Tago.

(4)Create LBT1 devices and beacons in RTLS. Please refer to the RTLS instruction document for the specific process.

(5)The coordinate position will be updated every time the device sends a data packet.

image-20220526150133-6.png

5.  Install Tago Core in LPS8v2

​5.1  Tago Core

Tago Core is a freefast, and open-source IoT platform for edge computing that you can use to parse, and analyze the data from your devices!

Tago Core supports all major operating systems and can be downloaded on this Downloads page.

For more information on Tago Core, Users can check out this Link.

Once you have downloaded and extracted TagoCore, you can run it by opening a terminal in the folder where the tagocore binary is located and typing the following command:

wget https://downloads.tagocore.com/v0.4.1/tagocore-v0.4.1-linux-armv7.tar.gz
tar -xvzf tagocore-v0.4.1-linux-armv7.tar.gz

image-20220713185521-1.png

5.2  Run Tago Core

When you run the following command, you can access the GUI of TagoCore using the LPS8v2 gateway IP_ADDRESS:8888.

./tagocore start

./tagocore logs

image-20220713191020-2.png

image-20220713194013-1.png

image-20220713191539-3.png

 

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0