Content-type: text/html
Manpage of REMOTETRX.CONF
REMOTETRX.CONF
Section: File Formats (5)
Updated: APRIL 2008
Index
Return to Main Contents
NAME
remotetrx.conf - Configuration file for the SvxLink remote transceiver server
DESCRIPTION
remotetrx
is the SvxLink remote transceiver server. This man-page describe the
configuration file format for it.
Remotetrx look for configuration files in a number of places. First it tries to
find a user specific configuration file. It will look for a user specific
configuration file in two places:
$HOME/.svxlink/remotetrx.conf or $HOME/.remotetrxrc.
The latter is deprecated. Use the one that will best fit your need. If no user
specific configuration file can be found, remotetrx will look for the system
wide configuration file
/etc/remotetrx.conf.
The
--config
command line option may also be used to specify an arbitrary configuration file.
FILE FORMAT
The configuration file is in the famous INI-file format. A generic example of
how such a file might look like is shown below.
[SECTION1]
VALUE1=1
VALUE2="TWO "
VAULE3="Multi "
"line"
[SECTION2]
VALUE1=2
This is a simple format that contain name=value pairs that belong to a section.
In written text, a specific configuration variable can be referred to as
SECTION1/VALUE2 meaning "configuration variable VALUE2 in section SECTION1".
The same variable name can exist in two different sections. For example VALUE1
in section SECTION1 have the value 1 and VALUE1 in section SECTION2 have the
value 2. Values containing spaces at the beginning or end of the line must be
surrounded by citation characters (see SECTION1/VALUE2). Likewise with a multi
line value (see SECTION1/VALUE3).
CONFIGURATION VARIABLES
Here is the description of all configuration variables that remotetrx
understands. The configuration variables are described section for section.
GLOBAL
The GLOBAL section contains application global configuration data.
- RX
-
Point out the receiver configuration section to use. Set to NONE if no RX is
used. A receiver is configured in the exact same way as in the SvxLink server.
Have a look at
svxlink.conf(5)
for more information on how to configure a receiver.
- TX
-
Point out the transmitter configuration section to use. Set to NONE if no TX is
used. A transmitter is configured in the exact same way as in the SvxLink
server. Have a look at
svxlink.conf(5)
for more information on how to configure a transmitter.
- UPLINK
-
Point out the uplink configuration section to use. The uplink section specify
how this remote receiver should be linked to the main SvxLink server. The term
"uplink" might be a bit confusing for some people. In this case it does not
refer to any specific direction in which the data or audio is flowing. It's just
the name for the link up to the main SvxLink server.
Read more about how to configure an uplink in the "Network Uplink Section" or
"Trx Uplink Section" chapters below.
- CFG_DIR
-
Specify the path to a directory that contain additional configuration files.
If a relative path is specified, the path will be relative to the directory
where the main configuration file is at. All files in the specified directory
will be read as additional configuration. Filenames starting with a dot are
ignored.
- TIMESTAMP_FORMAT
-
This variable specifies the format of the timestamp that is written in front of
each row in the log file. The format string is in the same format as specified
in the
strftime(3)
manual page. The default is "%c" which is described as: "the preferred date and
time representation for the current locale". The environment variables LC_TIME,
LC_ALL and LANG will affect how this time format will look. For example, setting
LC_TIME="sv_SE.UTF8" will give you swedish timestamp representation. Other
examples of format specifiers are:
-
- *
-
%d - The day of the month as a decimal number (range 01 to 31)
- *
-
%b - The abbreviated month name according to the current locale
- *
-
%Y - The year as a decimal number including the century
- *
-
%H - The hour as a decimal number using a 24-hour clock (range 00 to 23)
- *
-
%M - The minute as a decimal number (range 00 to 59)
- *
-
%S - The second as a decimal number (range 00 to 61)
So, TIMESTAMP_FORMAT="%d %b %Y %H:%M:%S" would give a timestamp looking something like:
"29 Nov 2005 22:31:59".
- CARD_SAMPLE_RATE
-
This configuration variable determines the sampling rate used for audio
input/output. SvxLink always work with a sampling rate of 8kHz internally but
there still are som benefits from using a higher sampling rate. On some sound
cards the filters look pretty bad at 8kHz and the amplitude response will not be
uniform which among other things can cause problems for the software DTMF
decoder.
Some sound cards also sound very bad at 8kHz due to insufficient
anti-alias filtering or resampling effects. These, often cheeper, sound cards
sound OK at 48kHz.
The downside of choosing a higher sampling rate is that it puts a little bit
more load on the CPU so if you have a very slow machine (<300MHz), it might not
have the computational power to handle it.
Supported sampling rates are: 8000, 16000 and 48000.
Network uplink section
The network uplink section is used to specify the configuration for a network
link to the main SvxLink server. In the default configuration file there is a
network uplink section called
NetUpLink.
- TYPE
-
Always "Net" for a networked uplink.
- LISTEN_PORT
-
The TCP port to listen on. The default is 5210.
Trx uplink section
The Trx uplink section is used to specify the configuration for an RF
link to the main SvxLink server. In the default configuration file there is a
Trx uplink section called
TrxUpLink.
The section name could be anything. It should match the UPLINK configuration
variable in the GLOBAL section.
The use of Trx uplinks is very EXPERIMENTAL and still have some flaws. Among
other things, detected tones (like CTCSS or 1750 tone burst) are not relayed and
all relayed DTMF tones are always 100ms long no matter how long the received
digit was. Signal level measurements are not relayed either.
Any way, it's used to link remote receivers coming in on the
Internet to a site that do not have access to Internet.
- TYPE
-
Always "Trx" for a Trx uplink.
- TX
-
Point out the uplink transmitter configuration section to use. The configuration
for an uplink transmitter looks exactly the same as for any other transmitter.
In the default configuration file there is an uplink transmitter configuration
section called
UplinkTx.
- RX
-
Point out the uplink receiver configuration section to use. The configuration
for an uplink receiver looks exactly the same as for any other receiver.
In the default configuration file there is an uplink receiver configuration
section called
UplinkRx.
- MUTE_RX_ON_TX
-
Specify if the link receiver should be muted or not when the link transmitter is
transmitting. Set it to 0 if a full duplex link is desired. Default is 1.
- LOOP_RX_TO_TX
-
Set to 1 to loop incoming RX audio (not link RX) directly to the TX (not link
TX). You figure out when to use it. Default is 0.
FILES
- /etc/remotetrx.conf
-
The system wide configuration file.
- ~/.svxlink/remotetrx.conf or ~/.remotetrxrc
-
Per user configuration file.
- /etc/remotetrx.d/*
-
Additional configuration files.
AUTHOR
Tobias Blomberg (SM0SVX) <sm0svx at users dot sourceforge dot net>
SEE ALSO
svxlink(1),
svxlink.conf(1),
remotetrx(1),
siglevdetcal(1)
Index
- NAME
-
- DESCRIPTION
-
- FILE FORMAT
-
- CONFIGURATION VARIABLES
-
- GLOBAL
-
- Network uplink section
-
- Trx uplink section
-
- FILES
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 08:45:07 GMT, August 03, 2008