Show last authors
author | version | line-number | content |
---|---|---|---|
1 | [[image:image-20220526143317-1.png]] | ||
2 | |||
3 | Downlink | ||
4 | |||
5 | |||
6 | **~ ** | ||
7 | |||
8 | **~ Table of Contents:** | ||
9 | |||
10 | {{toc/}} | ||
11 | |||
12 | |||
13 | |||
14 | = 1. Parse Payload = | ||
15 | |||
16 | |||
17 | ((( | ||
18 | The following is our operation process and interface. | ||
19 | ))) | ||
20 | |||
21 | ((( | ||
22 | The code can be run in the payload parser. | ||
23 | |||
24 | |||
25 | ))) | ||
26 | |||
27 | [[image:image-20220526143905-6.png]] | ||
28 | |||
29 | Parse Payload | ||
30 | |||
31 | |||
32 | |||
33 | [[image:image-20220526143653-4.png]] | ||
34 | |||
35 | Parse Payload | ||
36 | |||
37 | |||
38 | |||
39 | = 2. Create device steps at Tago = | ||
40 | |||
41 | |||
42 | Take the creation of LGT92 as an example | ||
43 | |||
44 | |||
45 | [[image:image-20220526143953-7.png]] | ||
46 | |||
47 | |||
48 | |||
49 | Get the authorization code and fill in it | ||
50 | |||
51 | |||
52 | [[image:image-20220526144034-8.png]] | ||
53 | |||
54 | |||
55 | |||
56 | All the following options require authorization. | ||
57 | |||
58 | |||
59 | [[image:image-20220526144110-9.png]] | ||
60 | |||
61 | |||
62 | |||
63 | create device. | ||
64 | |||
65 | |||
66 | [[image:image-20220526145059-13.png||height="559" width="1314"]] | ||
67 | |||
68 | |||
69 | [[image:image-20220526145031-12.png]] | ||
70 | |||
71 | |||
72 | [[image:image-20220526145237-14.png||height="228" width="1287"]] | ||
73 | |||
74 | |||
75 | [[image:image-20220526145316-15.png]] | ||
76 | |||
77 | |||
78 | |||
79 | |||
80 | The corresponding widget can be created according to the decoding of the device on TTN. | ||
81 | |||
82 | |||
83 | [[image:image-20220526145459-16.png]] | ||
84 | |||
85 | |||
86 | [[image:image-20220526145527-17.png]] | ||
87 | |||
88 | |||
89 | |||
90 | = 3. Create LGT92 positioning widget = | ||
91 | |||
92 | |||
93 | ((( | ||
94 | ((( | ||
95 | Creating lgt92 in TTN does not require manual creation, you directly select LGT92 in the brand. | ||
96 | ))) | ||
97 | ))) | ||
98 | |||
99 | ((( | ||
100 | ((( | ||
101 | 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. | ||
102 | ))) | ||
103 | ))) | ||
104 | |||
105 | ((( | ||
106 | |||
107 | |||
108 | ((( | ||
109 | (% style="color:red" %)**Note**: **LAQ4 is not registered in the LoRaWAN device repository, the device needs to be created manually.** | ||
110 | |||
111 | |||
112 | ))) | ||
113 | ))) | ||
114 | |||
115 | [[image:image-20220526145723-1.png]] | ||
116 | |||
117 | The same steps are used to create widgets and location maps. | ||
118 | |||
119 | |||
120 | |||
121 | [[image:image-20220526145753-2.png]] | ||
122 | |||
123 | |||
124 | |||
125 | [[image:image-20220526145831-3.png]] | ||
126 | |||
127 | |||
128 | [[image:image-20220526145901-4.png]] | ||
129 | |||
130 | |||
131 | LGT92 displays the walking track according to the location of the sent data packet. | ||
132 | |||
133 | The device sets the time interval for sending data packets to control the positioning track. | ||
134 | |||
135 | |||
136 | [[image:image-20220526145932-5.png]] | ||
137 | |||
138 | |||
139 | |||
140 | = 4. Real Time Location System demo(RTLS) = | ||
141 | |||
142 | == 4.1 Introduction == | ||
143 | |||
144 | |||
145 | ((( | ||
146 | 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. | ||
147 | ))) | ||
148 | |||
149 | ((( | ||
150 | You can access the application through: [[https:~~/~~/rtls.run.tago.io>>url:https://rtls.run.tago.io/]] | ||
151 | ))) | ||
152 | |||
153 | * ((( | ||
154 | The user can read this document for the description of the real-time positioning system demonstration. | ||
155 | ))) | ||
156 | |||
157 | ((( | ||
158 | [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/LBT1/RTLS_demo_documentation.pdf>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/LBT1/RTLS_demo_documentation.pdf]] | ||
159 | |||
160 | |||
161 | |||
162 | ))) | ||
163 | |||
164 | == 4.2 Instructions for using LBT1 with RTLS == | ||
165 | |||
166 | |||
167 | ((( | ||
168 | (1)RTLS supports TTNv3 and helium servers for indoor positioning. | ||
169 | ))) | ||
170 | |||
171 | ((( | ||
172 | (2)The user needs to register the device with LBT1 on the TTNv3 or helium server. | ||
173 | ))) | ||
174 | |||
175 | ((( | ||
176 | (3)Then the user needs to integrate the application into Tago. | ||
177 | ))) | ||
178 | |||
179 | ((( | ||
180 | (4)Create LBT1 devices and beacons in RTLS. Please refer to the RTLS instruction document for the specific process. | ||
181 | ))) | ||
182 | |||
183 | ((( | ||
184 | (5)The coordinate position will be updated every time the device sends a data packet. | ||
185 | |||
186 | |||
187 | ))) | ||
188 | |||
189 | [[image:image-20220526150133-6.png]] | ||
190 | |||
191 | |||
192 | |||
193 | = 5. Install Tago Core in LPS8v2 = | ||
194 | |||
195 | |||
196 | == 5.1 Tago Core == | ||
197 | |||
198 | |||
199 | Tago Core is a (% style="color:blue" %)**free**(%%), (% style="color:blue" %)**fast**(%%), and (% style="color:blue" %)**open-source**(%%) IoT platform for edge computing that you can use to parse, and analyze the data from your devices! | ||
200 | |||
201 | Tago Core supports all major operating systems and can be downloaded on this [[Downloads page>>https://downloads.tagocore.com/]]. | ||
202 | |||
203 | For more information on Tago Core, Users can check out this [[Link>>https://tagocore.com/docs#tagocore ]]. | ||
204 | |||
205 | 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: | ||
206 | |||
207 | |||
208 | (% class="box infomessage" %) | ||
209 | ((( | ||
210 | wget [[https:~~/~~/downloads.tagocore.com/v0.4.1/tagocore-v0.4.1-linux-armv7.tar.gz>>https://downloads.tagocore.com/v0.4.1/tagocore-v0.4.1-linux-armv7.tar.gz]] | ||
211 | tar -xvzf tagocore-v0.4.1-linux-armv7.tar.gz | ||
212 | ))) | ||
213 | |||
214 | [[image:image-20220713185521-1.png]] | ||
215 | |||
216 | |||
217 | |||
218 | == 5.2 Run Tago Core == | ||
219 | |||
220 | |||
221 | When you run the following command, you can access the GUI of TagoCore using the LPS8v2 gateway (% style="color:blue" %)**IP_ADDRESS:8888.** | ||
222 | |||
223 | |||
224 | (% class="box infomessage" %) | ||
225 | ((( | ||
226 | ./tagocore start | ||
227 | |||
228 | ./tagocore logs | ||
229 | ))) | ||
230 | |||
231 | [[image:image-20220713191020-2.png||height="73" width="589"]] | ||
232 | |||
233 | |||
234 | [[image:image-20220713194013-1.png||height="246" width="558"]] | ||
235 | |||
236 | |||
237 | [[image:image-20220713191539-3.png||height="538" width="938"]] | ||
238 | |||
239 |