-
Notifications
You must be signed in to change notification settings - Fork 0
/
nmea.mux.gps.nmea-fwd.yaml
55 lines (55 loc) · 1.5 KB
/
nmea.mux.gps.nmea-fwd.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
48
49
50
51
52
53
54
55
#
# MUX definition.
# With eink screen.
# The "NMEA Cache forwarder" is implemented by REST_EINK2-13_server.py
# Requires the Python server to be running.
#
name: "Real world scenario."
description:
- Reads GPS
- Forward data to "NMEA Cache forwarder" (on EINK2-13, port 8080)
- Log data in a file (data.nmea)
- TCP available on port 7001
context:
with.http.server: true
http.port: 9999
init.cache: true
default.declination: 0
# markers: markers.yaml
markers: markers.03.yaml
markers.list:
- markers: markers.04.yaml
- markers: markers.05.yaml
# - markers: mux-configs/bretagne.bumper.markers.yaml
channels:
# Requires a "stty -F /dev/ttyACM0 raw 4800 cs8 clocal (in /etc/rc.local ?)"
- type: file
filename: /dev/ttyACM0
verbose: false
# sentence.filters: ~GGA,~GSV,~GSA
# sentence.filters: ~GLL
# sentence.filters: RMC,GLL
forwarders:
- type: nmea-cache-publisher
between-loops: 1 # in seconds
rest.protocol: http
rest.machine-name: localhost # The machine to send the stop-signal to
# rest.machine-name: 192.168.1.103
rest.port: 8080
rest.resource: /eink2-13/nmea-data
rest.verb: PUT
# rest.query.string: ""
rest.onclose.resource: /eink2-13/bye-and-clear-screen
rest.onclose.verb: PUT
verbose: false
- type: file
# filename: data.nmea
# flush: true
verbose: false
timebase.filename: true
filename.suffix: _LOG
log.dir: logged
split: hour
sentence.filters: ~GGA,~GSV,~GSA
- type: tcp
port: 7001