... |
... |
@@ -16,10 +16,8 @@ |
16 |
16 |
LBT1 Indoor Positioning Network Structure |
17 |
17 |
|
18 |
18 |
|
19 |
|
- |
20 |
20 |
= 2. Prepare Map = |
21 |
21 |
|
22 |
|
- |
23 |
23 |
== 2.1 Prepare iBeacons == |
24 |
24 |
|
25 |
25 |
|
... |
... |
@@ -66,7 +66,6 @@ |
66 |
66 |
beacon software |
67 |
67 |
|
68 |
68 |
|
69 |
|
- |
70 |
70 |
== 2.2 Create Map == |
71 |
71 |
|
72 |
72 |
|
... |
... |
@@ -141,10 +141,8 @@ |
141 |
141 |
create iBeacon |
142 |
142 |
|
143 |
143 |
|
144 |
|
- |
145 |
145 |
= 3. Configure TTN = |
146 |
146 |
|
147 |
|
- |
148 |
148 |
== 3.1 Configure LBT1 to Upload data to TTN == |
149 |
149 |
|
150 |
150 |
|
... |
... |
@@ -151,7 +151,6 @@ |
151 |
151 |
Please refer the instruction in the [[User Manual>>url:http://www.dragino.com/downloads/index.php?dir=accessories/Bluetooth/BCN01]]. Note the (% style="color:#4f81bd" %)**LBT1 need to set to MOD=3**(%%) here. |
152 |
152 |
|
153 |
153 |
|
154 |
|
- |
155 |
155 |
== 3.2 Decoder in TTN == |
156 |
156 |
|
157 |
157 |
|
... |
... |
@@ -236,7 +236,6 @@ |
236 |
236 |
))) |
237 |
237 |
|
238 |
238 |
|
239 |
|
- |
240 |
240 |
= 4. Set Up Converter Server = |
241 |
241 |
|
242 |
242 |
|
... |
... |
@@ -245,11 +245,11 @@ |
245 |
245 |
))) |
246 |
246 |
|
247 |
247 |
((( |
248 |
|
-(% style="color:red" %)**Step1.**(%%) Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution). |
|
241 |
+(% style="color:red" %)**Step1:**(%%) Rent a Linux on Amazon cloud or alicloud to the host, and pre install the Linux system (Debian, Ubuntu, CentOS are available for distribution). |
249 |
249 |
))) |
250 |
250 |
|
251 |
251 |
((( |
252 |
|
-(% style="color:red" %)**Step2.**(%%) Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location. |
|
245 |
+(% style="color:red" %)**Step2: **(%%) Run the code on the server after compiling. Compilation requires the support of libcurl. First, compile libmqtt in the code, and then compile location. |
253 |
253 |
|
254 |
254 |
|
255 |
255 |
))) |
... |
... |
@@ -275,9 +275,8 @@ |
275 |
275 |
))) |
276 |
276 |
|
277 |
277 |
((( |
278 |
|
-(% style="color:red" %)**Step3.**(%%)** **The location service subscribes to the lora information stream on TTN through the mqtt protocol, parses the information to generate a geographic location, and finally creates a geographic location on the mapwize map. The following is the configuration of the location service, the configuration file is in json format, the file is /etc/location_conf.json |
|
271 |
+(% style="color:red" %)**Step3:**(%%)** **The location service subscribes to the lora information stream on TTN through the mqtt protocol, parses the information to generate a geographic location, and finally creates a geographic location on the mapwize map. The following is the configuration of the location service, the configuration file is in json format, the file is /etc/location_conf.json |
279 |
279 |
|
280 |
|
- |
281 |
281 |
|
282 |
282 |
))) |
283 |
283 |
|
... |
... |
@@ -285,9 +285,8 @@ |
285 |
285 |
|
286 |
286 |
|
287 |
287 |
* ((( |
288 |
|
-We use the 120.78.138.177 server as an example. The location service is currently installed on the 120.78.138.177 server, the code is in /root/location, and the configuration file for running location pre-read directly is /etc/location_conf.json. |
|
280 |
+(% style="color:blue" %)**We use the 120.78.138.177 server as an example. The location service is currently installed on the 120.78.138.177 server, the code is in /root/location, and the configuration file for running location pre-read directly is /etc/location_conf.json.** |
289 |
289 |
|
290 |
|
- |
291 |
291 |
|
292 |
292 |
))) |
293 |
293 |
|
... |
... |
@@ -345,13 +345,17 @@ |
345 |
345 |
|
346 |
346 |
((( |
347 |
347 |
} |
|
339 |
+ |
|
340 |
+ |
|
341 |
+ |
348 |
348 |
))) |
349 |
349 |
|
350 |
|
-* Parameter acquisition method of configuration file: |
|
344 |
+* (% style="color:blue" %)**Parameter acquisition method of configuration file:** |
351 |
351 |
|
|
346 |
+ |
352 |
352 |
(% class="box" %) |
353 |
353 |
((( |
354 |
|
-"username":"[str]" |
|
349 |
+**"username":"[str]" ** |
355 |
355 |
))) |
356 |
356 |
|
357 |
357 |
|
... |
... |
@@ -363,7 +363,7 @@ |
363 |
363 |
|
364 |
364 |
(% class="box" %) |
365 |
365 |
((( |
366 |
|
-"password":"[str]" |
|
361 |
+**"password":"[str]" ** |
367 |
367 |
))) |
368 |
368 |
|
369 |
369 |
[[image:image-20220526151736-13.png]] |
... |
... |
@@ -374,7 +374,7 @@ |
374 |
374 |
|
375 |
375 |
(% class="box" %) |
376 |
376 |
((( |
377 |
|
-"apikey": "[str]" |
|
372 |
+**"apikey": "[str]" ** |
378 |
378 |
))) |
379 |
379 |
|
380 |
380 |
[[image:image-20220526151819-14.png||height="588" width="1203"]] |
... |
... |
@@ -385,7 +385,7 @@ |
385 |
385 |
|
386 |
386 |
(% class="box" %) |
387 |
387 |
((( |
388 |
|
-"orgid":"[str]" |
|
383 |
+**"orgid":"[str]"** |
389 |
389 |
))) |
390 |
390 |
|
391 |
391 |
[[image:image-20220526152014-15.png]] |
... |
... |
@@ -396,7 +396,7 @@ |
396 |
396 |
|
397 |
397 |
(% class="box" %) |
398 |
398 |
((( |
399 |
|
-"universesid":"[str]" |
|
394 |
+**"universesid":"[str]"** |
400 |
400 |
))) |
401 |
401 |
|
402 |
402 |
[[image:image-20220526152115-16.png]] |
... |
... |
@@ -407,7 +407,7 @@ |
407 |
407 |
|
408 |
408 |
(% class="box" %) |
409 |
409 |
((( |
410 |
|
-"placetype": "[str]" |
|
405 |
+**"placetype": "[str]"** |
411 |
411 |
))) |
412 |
412 |
|
413 |
413 |
[[image:image-20220526152150-17.png]] |
... |
... |
@@ -443,7 +443,6 @@ |
443 |
443 |
way2 |
444 |
444 |
|
445 |
445 |
|
446 |
|
- |
447 |
447 |
= 6. Test Result = |
448 |
448 |
|
449 |
449 |
|