-
Notifications
You must be signed in to change notification settings - Fork 7
/
dump1090-mutability
126 lines (91 loc) · 3.4 KB
/
dump1090-mutability
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# dump1090-mutability configuration file
# This is a POSIX shell fragment.
# You can edit this file directly, or use
# "dpkg-reconfigure dump1090-mutability"
# Set to "yes" to start dump1090 on boot.
START_DUMP1090="yes"
# User to run dump1090 as.
DUMP1090_USER="dump1090"
# Logfile to log to
LOGFILE="/var/log/dump1090-mutability.log"
#
# Receiver options
#
# RTLSDR device index or serial number to use
# If set to "none", dump1090 will be started in --net-only mode
DEVICE="none"
# RTLSDR gain in dB.
# If set to "max" (the default) the maximum supported gain is used.
# If set to "agc", the tuner AGC is used to set the gain.
GAIN="max"
# RTLSDR frequency correction in PPM
PPM="0"
# If yes, enable sampling at 2.4MHz. Otherwise, 2.0MHz is used.
OVERSAMPLE="yes"
# If yes, enables phase-enhancement of messages
PHASE_ENHANCE="yes"
#
# Decoding options
#
# If yes, fixes messages with correctable CRC errors.
FIX_CRC="yes"
# If yes, enables aggressive fixes to damaged messages.
# Use with caution - it can increase the rate of undetected errors.
AGGRESSIVE="no"
# If set, supplies a reference location for local position decoding.
LAT="52.085624"
LON="5.0890591"
# If set, provides the absolute maximum receiver range used to
# filter bad position reports, and to determine when local position
# decoding is safe to use. Specify this in nautical miles (NM).
MAX_RANGE="400"
#
# Networking options
#
# Port to listen on for HTTP connections. 0 disables.
# HTTP defaults to being disabled unless you specify something here. I
# that you do not enable this, and instead serve the contents of
# /usr/share/dump1090-mutability and JSON_DIR (below) using a proper
# webserver. See /etc/lighttpd/conf-available/90-dump1090.conf
# for an example configuration ("sudo lighty-enable-mod dump1090" to enable)
HTTP_PORT="0"
# Port to listen on for raw (AVR-format) input connections. 0 disables.
RAW_INPUT_PORT="30001"
# Port to listen on for raw (AVR-format) output connections. 0 disables.
RAW_OUTPUT_PORT="30002"
# Port to listen on for SBS-format output connections. 0 disables.
SBS_OUTPUT_PORT="30003"
# Port to listen on for Beast-format input connections. 0 disables.
BEAST_INPUT_PORT="30104"
# Port to listen on for Beast-format output connections. 0 disables.
BEAST_OUTPUT_PORT="30005"
# Port to listen on for FATSV-format output connections. 0 disables.
FATSV_OUTPUT_PORT="10001"
# TCP heartbeat interval in seconds. 0 disables.
NET_HEARTBEAT="60"
# Minimum output buffer size per write, in bytes.
NET_OUTPUT_SIZE="500"
# Maximum buffering time before writing, in seconds.
NET_OUTPUT_INTERVAL="1"
# TCP buffer size, in bytes
NET_BUFFER="262144"
# Bind ports on a particular address. If unset, binds to all interfaces.
# This defaults to binding to localhost. If you need to allow remote
# connections, change this.
NET_BIND_ADDRESS=""
#
# Misc options
#
# Interval (in seconds) between logging stats to the logfile. 0 disables.
STATS_INTERVAL="3600"
# Path to write json state to (for use with an external webserver). Blank disables.
JSON_DIR="/run/dump1090-mutability"
# Interval between writing json state (in seconds). 0 disables.
JSON_INTERVAL="1"
# Accuracy of receiver location to write to json state, one of "exact" / "approximate" / "none"
JSON_LOCATION_ACCURACY="exact"
# Set to yes to log all decoded messages
# This can get large fast!
LOG_DECODED_MESSAGES="no"
# Additional options that are passed to the Daemon.
EXTRA_ARGS=""