All the necessary configuration of your receiver is kept in one configuration file, which you pass as an argument at the program's start-up.
Setting the correct GPS location
In your receiver's configuration file you need to set its GPS location and elevation, correctly:
Simple way to find the correct values: Online geoid calc
Alternatively, go to: http://itouchmap.com/latlong.html
Place the marker where your receiver will be.
It will give you data like this:
Latitude - Longitude:
51.496645,-0.176341
Lat: 51° 29' 47.922"
Long: -0° 10' 34.8276"
Copy the second line:
51.496645,-0.176341
And add a 0 at the end:
51.4966450,-0.1763410
Set the Lat/Lon in your configuration file and save it:
Position:
{ Latitude = +51.4966450; # [deg] Antenna coordinates
Longitude = -0.1763410; # [deg]
...
};
GeoidSepar parameter
To find value you can check on: http://geographiclib.sourceforge.net/cgi-bin/GeoidEval
Position:
{
...
GeoidSepar = 48; # [m] Geoid separation: FLARM transmits GPS altitude, APRS uses means Sea level altitude
...
};
Enforce strict opt-in (since v0.2.4)
Add the following section.
DDB:
{
UseAsWhitelist = 1;
};
Use multiple rtlsdr devices
In your ogn conf file you can set the receiver/dongle to use (untested, accoding to mailinglist 2014-06-18):
RF:
{
...
Device = 0; # [index] 0 = 1st RTL2832 USB stick, 1 = 2nd USB stick, etc.
...
};
Use your own aprs server
If your aprs server listens on localhost at port 14580, you can use this configuration.
Note: You have to forward the packets yourself to the ogn network!
APRS:
{
...
Server = "localhost:14580";
...
};
Configuration file template
The following template contains some optional arguments for special setups.
RF:
{
# [ppm] frequency correction applied to the Rx chip
FreqCorr = {{ ogn_freq_corr }};
# rtl-sdr device index
Device = {{ ogn_device_id }};
# char[12] serial number of the rtl-sdr device to be selected
DeviceSerial = {{ ogn_device_serial }};
OGN:
{
# [0.1dB] Rx gain for OGN reception
Gain = {{ ogn_ogn_freq }};
};
GSM:
{
# [Hz] should be selected to cover at lease one broadcast channel in the area
CenterFreq = {{ ogn_gsm_freq }};
# [0.1dB] Rx gain for GSM frequency calibration
Gain = {{ ogn_gsm_gain }};
};
};
Position:
{
# [deg] Antenna coordinates
Latitude = {{ ogn_pos_lat }};
Longitude = {{ ogn_pos_lon }};
# [m] Altitude above sea leavel
Altitude = {{ ogn_pos_alt }};
# [m] Geoid separation: FLARM transmits GPS altitude, APRS uses means Sea level altitude
GeoidSepar = {{ ogn_pos_geiod_sep }};
};
APRS:
{
# APRS callsign (max. 9 characters)
Call = {{ ogn_aprs_callsign }};
# APRS server host:port
Server = {{ ogn_aprs_server }};
};
DDB:
{
# Enforce strict opt in
UseAsWhitelist = {{ ogn_ddb_useaswhitelist }};
};