Changes for page Mapwize

Last modified by Xiaoling on 2023/04/23 15:31

From version 28.3
edited by Xiaoling
on 2022/07/25 11:32
Change comment: There is no comment for this version
To version 28.11
edited by Xiaoling
on 2023/04/23 15:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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,15 +141,17 @@
141 141  create iBeacon
142 142  
143 143  
144 -= 3. Configure TTN =
141 += 3.  Configure TTN =
145 145  
146 -== 3.1 Configure LBT1 to Upload data to TTN ==
143 +== 3.1  Configure LBT1 to Upload data to TTN ==
147 147  
145 +
148 148  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.
149 149  
150 150  
151 -== 3.2 Decoder in TTN ==
149 +== 3.2  Decoder in TTN ==
152 152  
151 +
153 153  (% class="box" %)
154 154  (((
155 155  function Decoder(bytes, port) {
... ... @@ -231,29 +231,32 @@
231 231  )))
232 232  
233 233  
234 -= 4. Set Up Converter Server =
233 += 4.  Set Up Converter Server =
235 235  
235 +
236 236  * (((
237 -How to install and run this service on Linux?
237 +(% style="color:blue" %)**How to install and run this service on Linux?**
238 238  )))
239 239  
240 240  (((
241 -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).
242 242  )))
243 243  
244 244  (((
245 -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.
246 +
247 +
246 246  )))
247 247  
248 248  (((
249 -System: Debian / Ubuntu
251 +**System:  Debian / Ubuntu**
250 250  )))
251 251  
252 252  (% class="box" %)
253 253  (((
254 -step:
255 -\\1. sudo apt install libcurl4-dev 
256 -\\2. sudo apt install  gcc automake autoconf libtool make cmake
256 +(% style="color:blue" %)**step:**(%%)
257 +\\1. **sudo** apt install libcurl4-dev 
258 +\\2. **sudo** apt **install  gcc automake autoconf** libtool **make** cmake
257 257  \\3. git clone -b master https:~/~/github.com/mikayong/location.git
258 258  \\4. cd location/libmqtt
259 259  \\5. mkdir build
... ... @@ -266,15 +266,18 @@
266 266  )))
267 267  
268 268  (((
269 -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
270 270  
271 271  
272 272  )))
273 273  
274 -= 5. Configuration file: location_conf.json =
276 += 5.  Configuration file: location_conf.json =
275 275  
278 +
276 276  * (((
277 -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.**
281 +
282 +
278 278  )))
279 279  
280 280  (((
... ... @@ -331,23 +331,29 @@
331 331  
332 332  (((
333 333  }
339 +
340 +
341 +
334 334  )))
335 335  
336 -* Parameter acquisition method of configuration file:
344 +* (% style="color:blue" %)**Parameter acquisition method of configuration file:**
337 337  
346 +
338 338  (% class="box" %)
339 339  (((
340 -"username":"[str]"
349 +**"username":"[str]" **
341 341  )))
342 342  
352 +
343 343  [[image:image-20220526151707-12.png]]
344 344  
345 345  username
346 346  
347 347  
358 +
348 348  (% class="box" %)
349 349  (((
350 -"password":"[str]"     
361 +**"password":"[str]" **
351 351  )))
352 352  
353 353  [[image:image-20220526151736-13.png]]
... ... @@ -355,9 +355,10 @@
355 355  password
356 356  
357 357  
369 +
358 358  (% class="box" %)
359 359  (((
360 -"apikey": "[str]"
372 +**"apikey": "[str]" **
361 361  )))
362 362  
363 363  [[image:image-20220526151819-14.png||height="588" width="1203"]]
... ... @@ -364,9 +364,11 @@
364 364  
365 365  apikey
366 366  
379 +
380 +
367 367  (% class="box" %)
368 368  (((
369 -"orgid":"[str]"
383 +**"orgid":"[str]"**
370 370  )))
371 371  
372 372  [[image:image-20220526152014-15.png]]
... ... @@ -374,9 +374,10 @@
374 374  orgid
375 375  
376 376  
391 +
377 377  (% class="box" %)
378 378  (((
379 -"universesid":"[str]"
394 +**"universesid":"[str]"**
380 380  )))
381 381  
382 382  [[image:image-20220526152115-16.png]]
... ... @@ -384,9 +384,10 @@
384 384  universesid
385 385  
386 386  
402 +
387 387  (% class="box" %)
388 388  (((
389 -"placetype": "[str]"
405 +**"placetype": "[str]"**
390 390  )))
391 391  
392 392  [[image:image-20220526152150-17.png]]
... ... @@ -394,10 +394,11 @@
394 394  placetype
395 395  
396 396  
397 -**Here are two ways to enter the server:**
398 398  
399 -**~1. WinSCP**
414 +(% style="color:blue" %)**Here are two ways to enter the server:**
400 400  
416 +(% style="color:red" %)**1. WinSCP**
417 +
401 401  [[image:image-20220526152303-18.png]]
402 402  
403 403  
... ... @@ -409,8 +409,9 @@
409 409  way1
410 410  
411 411  
412 -**2. secureCRT**
413 413  
430 +(% style="color:red" %)**2. secureCRT**
431 +
414 414  [[image:image-20220526153145-22.png]]
415 415  
416 416  [[image:image-20220526153236-23.png]]
... ... @@ -420,8 +420,10 @@
420 420  way2
421 421  
422 422  
423 -= 6. Test Result =
441 += 6.  Test Result =
424 424  
443 +
425 425  The real-time position on the map is obtained according to the moving change of LBT1.
426 426  
446 +
427 427  [[image:image-20220526153424-25.png||height="693" width="1414"]]