... |
... |
@@ -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,19 +275,15 @@ |
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 |
|
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 |
279 |
279 |
|
280 |
|
- |
281 |
281 |
|
282 |
282 |
))) |
283 |
283 |
|
284 |
|
-= 5. Configuration file: location_conf.json = |
|
283 |
+= 5. Configuration file: location_conf.json = |
285 |
285 |
|
286 |
|
- |
287 |
287 |
* ((( |
288 |
|
-(% 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 |
|
- |
290 |
|
- |
|
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. |
291 |
291 |
))) |
292 |
292 |
|
293 |
293 |
((( |
... |
... |
@@ -344,30 +344,23 @@ |
344 |
344 |
|
345 |
345 |
((( |
346 |
346 |
} |
347 |
|
- |
348 |
|
- |
349 |
|
- |
350 |
350 |
))) |
351 |
351 |
|
352 |
|
-* (% style="color:blue" %)**Parameter acquisition method of configuration file:** |
|
345 |
+* Parameter acquisition method of configuration file: |
353 |
353 |
|
354 |
|
- |
355 |
|
- |
356 |
356 |
(% class="box" %) |
357 |
357 |
((( |
358 |
|
-**"username":"[str]" ** |
|
349 |
+"username":"[str]" |
359 |
359 |
))) |
360 |
360 |
|
361 |
|
- |
362 |
362 |
[[image:image-20220526151707-12.png]] |
363 |
363 |
|
364 |
364 |
username |
365 |
365 |
|
366 |
366 |
|
367 |
|
- |
368 |
368 |
(% class="box" %) |
369 |
369 |
((( |
370 |
|
-**"password":"[str]" ** |
|
359 |
+"password":"[str]" |
371 |
371 |
))) |
372 |
372 |
|
373 |
373 |
[[image:image-20220526151736-13.png]] |
... |
... |
@@ -375,10 +375,9 @@ |
375 |
375 |
password |
376 |
376 |
|
377 |
377 |
|
378 |
|
- |
379 |
379 |
(% class="box" %) |
380 |
380 |
((( |
381 |
|
-**"apikey": "[str]" ** |
|
369 |
+"apikey": "[str]" |
382 |
382 |
))) |
383 |
383 |
|
384 |
384 |
[[image:image-20220526151819-14.png||height="588" width="1203"]] |
... |
... |
@@ -385,11 +385,9 @@ |
385 |
385 |
|
386 |
386 |
apikey |
387 |
387 |
|
388 |
|
- |
389 |
|
- |
390 |
390 |
(% class="box" %) |
391 |
391 |
((( |
392 |
|
-**"orgid":"[str]"** |
|
378 |
+"orgid":"[str]" |
393 |
393 |
))) |
394 |
394 |
|
395 |
395 |
[[image:image-20220526152014-15.png]] |
... |
... |
@@ -397,10 +397,9 @@ |
397 |
397 |
orgid |
398 |
398 |
|
399 |
399 |
|
400 |
|
- |
401 |
401 |
(% class="box" %) |
402 |
402 |
((( |
403 |
|
-**"universesid":"[str]"** |
|
388 |
+"universesid":"[str]" |
404 |
404 |
))) |
405 |
405 |
|
406 |
406 |
[[image:image-20220526152115-16.png]] |
... |
... |
@@ -408,10 +408,9 @@ |
408 |
408 |
universesid |
409 |
409 |
|
410 |
410 |
|
411 |
|
- |
412 |
412 |
(% class="box" %) |
413 |
413 |
((( |
414 |
|
-**"placetype": "[str]"** |
|
398 |
+"placetype": "[str]" |
415 |
415 |
))) |
416 |
416 |
|
417 |
417 |
[[image:image-20220526152150-17.png]] |
... |
... |
@@ -419,11 +419,10 @@ |
419 |
419 |
placetype |
420 |
420 |
|
421 |
421 |
|
|
406 |
+**Here are two ways to enter the server:** |
422 |
422 |
|
423 |
|
-(% style="color:blue" %)**Here are two ways to enter the server:** |
|
408 |
+**~1. WinSCP** |
424 |
424 |
|
425 |
|
-(% style="color:red" %)**1. WinSCP** |
426 |
|
- |
427 |
427 |
[[image:image-20220526152303-18.png]] |
428 |
428 |
|
429 |
429 |
|
... |
... |
@@ -435,9 +435,8 @@ |
435 |
435 |
way1 |
436 |
436 |
|
437 |
437 |
|
|
421 |
+**2. secureCRT** |
438 |
438 |
|
439 |
|
-(% style="color:red" %)**2. secureCRT** |
440 |
|
- |
441 |
441 |
[[image:image-20220526153145-22.png]] |
442 |
442 |
|
443 |
443 |
[[image:image-20220526153236-23.png]] |
... |
... |
@@ -447,11 +447,8 @@ |
447 |
447 |
way2 |
448 |
448 |
|
449 |
449 |
|
|
432 |
+= 6. Test Result = |
450 |
450 |
|
451 |
|
-= 6. Test Result = |
452 |
|
- |
453 |
|
- |
454 |
454 |
The real-time position on the map is obtained according to the moving change of LBT1. |
455 |
455 |
|
456 |
|
- |
457 |
457 |
[[image:image-20220526153424-25.png||height="693" width="1414"]] |