-
Notifications
You must be signed in to change notification settings - Fork 25
/
gnuais.conf-example
72 lines (61 loc) · 2.66 KB
/
gnuais.conf-example
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
# Configuration for gnuais
# My callsign or nickname, used when exporting AIS data
MyCall GNUAIS
# My email address
MyEmail [email protected]
# Directory, where logs will be written. Defaults to current directory.
#LogDir logs
# ALSA sound device name or "pulse" for pulseaudio,
# If alsa is used: either the name of the card (default for the
# first / default card), or a device name, for example: hw:2,0 for the first
# input of the third card.
SoundDevice default
# Which sound channels to decode:
# both
# - ask the sound card for a stereo signal and decode both channels
# - a good default, if you're not sure which channel your receiver is in
# mono
# - ask the sound card for a single mono channel
# - needed for a true mono card, like some USB audio sticks, which only
# have a single audio input channel
# left
# - ask the sound card for a stereo signal and only decode the
# left channel
# right
# - ask the sound card for a stereo signal and decode the right channel
#
SoundChannels both
# Print sound peak level information in the log every N seconds.
# The input level should be around 70-90% - if it's 100% the signal is too loud
# and distorted. Tune your mixer settings. Comment the line out, or set to 0,
# to disable level logging below distortion levels.
SoundLevelLog 1
# Print receiver range statistics in the log every N seconds.
# StatsInterval defines the logging interval. Latitude and Longitude of the
# receiver are given in decimal degrees (not degrees and minutes, or seconds).
# Positive values for northern latitude and eastern longitude, negative
# values for southern latitude and western longitude.
#StatsInterval 10
#Latitude 35.2512
#Longitude 110.8175
# AIS data uplink configuration - received APRS data will be posted here
# periodically. Can be used for exporting data to aprs.fi. You need to get a
# key for your receiving site to submit data, please read the instructions
# at http://aprs.fi/page/ais_receiver !
#
# Uplink <name> <protocol> <url>
#Uplink aprs.fi json http://aprs.fi/jsonais/post/ask-for-your-key
# MySQL database configuration - received AIS data will be stored in the
# specified database. See create_table.txt for instructions.
#mysql_host localhost
#mysql_db yourmysqldatabase
#mysql_user yourmysqlusername
#mysql_password xxxx
#mysql_keepsmall yes
#mysql_oldlimit 800
# Serial port for AIS export - NMEA sentences will be written here after
# decoding. Currently it is not possible to read AIS data from an
# AIS receiver connected to a serial port.
#serial_port /dev/ttyS0
# Use test file as input instead of the audio device input
#SoundInFile ../testmessages/gnuais-stereo-2rx.raw