... |
... |
@@ -261,8 +261,8 @@ |
261 |
261 |
(% class="box" %) |
262 |
262 |
((( |
263 |
263 |
(% style="color:blue" %)**step:**(%%) |
264 |
|
-\\1. sudo apt install libcurl4-dev |
265 |
|
-\\2. sudo apt install gcc automake autoconf libtool make cmake |
|
264 |
+\\1. **sudo** apt install libcurl4-dev |
|
265 |
+\\2. **sudo** apt **install gcc automake autoconf** libtool **make** cmake |
266 |
266 |
\\3. git clone -b master https:~/~/github.com/mikayong/location.git |
267 |
267 |
\\4. cd location/libmqtt |
268 |
268 |
\\5. mkdir build |
... |
... |
@@ -275,15 +275,20 @@ |
275 |
275 |
))) |
276 |
276 |
|
277 |
277 |
((( |
278 |
|
-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 |
|
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 |
279 |
279 |
|
|
280 |
+ |
280 |
280 |
|
281 |
281 |
))) |
282 |
282 |
|
283 |
|
-= 5. Configuration file: location_conf.json = |
|
284 |
+= 5. Configuration file: location_conf.json = |
284 |
284 |
|
|
286 |
+ |
285 |
285 |
* ((( |
286 |
286 |
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 |
+ |
|
290 |
+ |
|
291 |
+ |
287 |
287 |
))) |
288 |
288 |
|
289 |
289 |
((( |
... |
... |
@@ -349,11 +349,13 @@ |
349 |
349 |
"username":"[str]" |
350 |
350 |
))) |
351 |
351 |
|
|
357 |
+ |
352 |
352 |
[[image:image-20220526151707-12.png]] |
353 |
353 |
|
354 |
354 |
username |
355 |
355 |
|
356 |
356 |
|
|
363 |
+ |
357 |
357 |
(% class="box" %) |
358 |
358 |
((( |
359 |
359 |
"password":"[str]" |
... |
... |
@@ -364,6 +364,7 @@ |
364 |
364 |
password |
365 |
365 |
|
366 |
366 |
|
|
374 |
+ |
367 |
367 |
(% class="box" %) |
368 |
368 |
((( |
369 |
369 |
"apikey": "[str]" |
... |
... |
@@ -373,6 +373,8 @@ |
373 |
373 |
|
374 |
374 |
apikey |
375 |
375 |
|
|
384 |
+ |
|
385 |
+ |
376 |
376 |
(% class="box" %) |
377 |
377 |
((( |
378 |
378 |
"orgid":"[str]" |
... |
... |
@@ -383,6 +383,7 @@ |
383 |
383 |
orgid |
384 |
384 |
|
385 |
385 |
|
|
396 |
+ |
386 |
386 |
(% class="box" %) |
387 |
387 |
((( |
388 |
388 |
"universesid":"[str]" |
... |
... |
@@ -393,6 +393,7 @@ |
393 |
393 |
universesid |
394 |
394 |
|
395 |
395 |
|
|
407 |
+ |
396 |
396 |
(% class="box" %) |
397 |
397 |
((( |
398 |
398 |
"placetype": "[str]" |
... |
... |
@@ -403,10 +403,11 @@ |
403 |
403 |
placetype |
404 |
404 |
|
405 |
405 |
|
406 |
|
-**Here are two ways to enter the server:** |
407 |
407 |
|
408 |
|
-**~1. WinSCP** |
|
419 |
+(% style="color:blue" %)**Here are two ways to enter the server:** |
409 |
409 |
|
|
421 |
+(% style="color:red" %)**1. WinSCP** |
|
422 |
+ |
410 |
410 |
[[image:image-20220526152303-18.png]] |
411 |
411 |
|
412 |
412 |
|
... |
... |
@@ -418,8 +418,9 @@ |
418 |
418 |
way1 |
419 |
419 |
|
420 |
420 |
|
421 |
|
-**2. secureCRT** |
422 |
422 |
|
|
435 |
+(% style="color:red" %)**2. secureCRT** |
|
436 |
+ |
423 |
423 |
[[image:image-20220526153145-22.png]] |
424 |
424 |
|
425 |
425 |
[[image:image-20220526153236-23.png]] |
... |
... |
@@ -429,8 +429,11 @@ |
429 |
429 |
way2 |
430 |
430 |
|
431 |
431 |
|
432 |
|
-= 6. Test Result = |
433 |
433 |
|
|
447 |
+= 6. Test Result = |
|
448 |
+ |
|
449 |
+ |
434 |
434 |
The real-time position on the map is obtained according to the moving change of LBT1. |
435 |
435 |
|
|
452 |
+ |
436 |
436 |
[[image:image-20220526153424-25.png||height="693" width="1414"]] |