-
Notifications
You must be signed in to change notification settings - Fork 0
/
nmea.mux.captain-k.2.yaml
47 lines (47 loc) · 1.06 KB
/
nmea.mux.captain-k.2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# MUX definition.
#
name: "Log GPS and AIS Data."
description:
- Reads GPS and AIS from serial ports
- Log data in 'logged' folder
- Collision detection
context:
with.http.server: true
http.port: 9999
init.cache: true
default.declination: -1
markers: markers.yaml
channels:
# May require a "sudo ln -s /dev/ttyACM0 /dev/ttyS80"
- type: serial
port: /dev/ttyS80
baudrate: 4800
sentence.filters: ~GGA,~GSV,~GSA
# verbose: true
# May require a "sudo ln -s /dev/ttyAMA0 /dev/ttyUSB0"
- type: serial
port: /dev/ttyUSB0
baudrate: 38400
# sentence.filters: RMC,GLL
# verbose: true
forwarders:
#- type: tcp
# subclass: nmea.forwarders.AISTCPServer
# port: 7003
- type: file
verbose: false
timebase.filename: true
filename.suffix: "_LOG"
log.dir: "logged"
split: "hour"
flush: true
- type: tcp
port: 7001
computers:
- class: nmea.computers.AISManager
properties: ais.mgr.properties
verbose: true
- class: nmea.computers.BorderManager
properties: border.mgr.properties
verbose: true