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.7
edited by Xiaoling
on 2022/07/25 13:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -141,15 +141,20 @@
141 141  create iBeacon
142 142  
143 143  
144 -= 3. Configure TTN =
145 145  
146 -== 3.1 Configure LBT1 to Upload data to TTN ==
145 += 3.  Configure TTN =
147 147  
147 +
148 +== 3.1  Configure LBT1 to Upload data to TTN ==
149 +
150 +
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 ==
152 152  
155 +== 3.2  Decoder in TTN ==
156 +
157 +
153 153  (% class="box" %)
154 154  (((
155 155  function Decoder(bytes, port) {
... ... @@ -231,29 +231,33 @@
231 231  )))
232 232  
233 233  
234 -= 4. Set Up Converter Server =
235 235  
240 += 4.  Set Up Converter Server =
241 +
242 +
236 236  * (((
237 -How to install and run this service on Linux?
244 +(% 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).
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).
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.
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.
253 +
254 +
246 246  )))
247 247  
248 248  (((
249 -System: Debian / Ubuntu
258 +**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
263 +(% style="color:blue" %)**step:**(%%)
264 +\\1. **sudo** apt install libcurl4-dev 
265 +\\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,20 @@
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
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
270 270  
280 +
271 271  
272 272  )))
273 273  
274 -= 5. Configuration file: location_conf.json =
284 += 5.  Configuration file: location_conf.json =
275 275  
286 +
276 276  * (((
277 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.
289 +
290 +
291 +
278 278  )))
279 279  
280 280  (((
... ... @@ -340,11 +340,13 @@
340 340  "username":"[str]"
341 341  )))
342 342  
357 +
343 343  [[image:image-20220526151707-12.png]]
344 344  
345 345  username
346 346  
347 347  
363 +
348 348  (% class="box" %)
349 349  (((
350 350  "password":"[str]"     
... ... @@ -355,6 +355,7 @@
355 355  password
356 356  
357 357  
374 +
358 358  (% class="box" %)
359 359  (((
360 360  "apikey": "[str]"
... ... @@ -364,6 +364,8 @@
364 364  
365 365  apikey
366 366  
384 +
385 +
367 367  (% class="box" %)
368 368  (((
369 369  "orgid":"[str]"
... ... @@ -374,6 +374,7 @@
374 374  orgid
375 375  
376 376  
396 +
377 377  (% class="box" %)
378 378  (((
379 379  "universesid":"[str]"
... ... @@ -384,6 +384,7 @@
384 384  universesid
385 385  
386 386  
407 +
387 387  (% class="box" %)
388 388  (((
389 389  "placetype": "[str]"
... ... @@ -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**
419 +(% style="color:blue" %)**Here are two ways to enter the server:**
400 400  
421 +(% style="color:red" %)**1. WinSCP**
422 +
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  
435 +(% style="color:red" %)**2. secureCRT**
436 +
414 414  [[image:image-20220526153145-22.png]]
415 415  
416 416  [[image:image-20220526153236-23.png]]
... ... @@ -420,8 +420,11 @@
420 420  way2
421 421  
422 422  
423 -= 6. Test Result =
424 424  
447 += 6.  Test Result =
448 +
449 +
425 425  The real-time position on the map is obtained according to the moving change of LBT1.
426 426  
452 +
427 427  [[image:image-20220526153424-25.png||height="693" width="1414"]]