source: core/trunk/client/flarmclient.conf @ 314

Last change on this file since 314 was 311, checked in by smoser, 11 years ago

#159

File size: 2.7 KB
RevLine 
[249]1#
[310]2# This is the configuration file for the flarmradar client program
[249]3#
4
5# The mandatory key to use to identify the client. Contact
6# info@flarmradar.ch to get a client key.
[281]7key  = ... your_key ...
[249]8
[278]9# Where to send the flarm data. You need to adapt this setting if you run
[249]10# your own Flarm-Radar site. If you use the public site, then you don't need
11# to change this setting.
[258]12#url = http://test.flarmradar.ch/rest/flarmdata/records
13url = http://www.flarmradar.ch/rest/flarmdata/records
[278]14
15# Where to write log output (see options -d and -t). Log is written to stdout
16# if the line below is commented out.
[311]17#log = /tmp/flarmclient.log
[278]18
[310]19###############################################################################
20# Serial Port Settings
21###############################################################################
[278]22# Popular USB-to-Serial converters like Aten UC232A use this device
23#serial_device = /dev/ttyUSB0
24# The Raspberry UART device, to disable console output to the serial interface
25# see http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/
26serial_device = /dev/ttyAMA0
27
[281]28# Use FlarmTool or a common terminal application to determine the current baud
29# rate of your flarm device.
30#baud = 4800
31#baud = 9600
32#baud = 19200
33#baud = 38400
[278]34baud = 57600
35
[310]36###############################################################################
37# Flarm Configuration
38###############################################################################
39
40# The program tries to apply a meaningful configuration to the flarm device at
[293]41# startup. Set this value to 0 to disable device configuration. Default: 1 (true)
42do_device_config = 1
[278]43
[310]44# Aircraft Type
45# 0 = unknown
46# 1 = glider / motor-glider
47# 2 = tow / tug plane
48# 3 = helicopter / rotorcraft
49# 4 = parachute
50# 5 = drop plane for parachutes
51# 6 = hang-glider (hard)
52# 7 = para-glider (soft)
53# 8 = powered aircraft
54# 9 = jet aircraft
55# 10 = flying saucer (UFO)
56# 11 = balloon
57# 12 = airship
58# 13 = unmanned aerial vehicle (UAV)
59# 15 = static object, don't use this, causes alerts in approaching planes
60acft_type = 0
[293]61
[310]62# which sentences are availble on the data port
63# 0: no output
64# 1: GPRMC, GPGGA, GPPSA plus FLARM proprietary sentences (incl. PGRMZ)
65# 2: only GPRMC, GPGGA, GPPSA but no FLARM proprietary sentences (incl. PGRMZ)
66# 3: only FLARM proprietary sentences (incl. PGRMZ), but no GPRMC, GPGGA, GPPSA
67nmeaout = 1
68
69# maximum horizontal distance of aircraft to be processed, in meters
70# values between 2000 and 25500 are allowed
71range = 25500
72
73# speed threshold in m/sec below which the aircraft is treated as "on the ground"
74# values between 1 and 10 are allowed
75threshold = 2
76
77# output device configuration
78# 0: normal operation
79# 1: switch off LEDs and buzzer
80# 2: switch off only LEDs
81# 3: switch off only buzzer
82visual = 3
83
84
Note: See TracBrowser for help on using the repository browser.