Configuration
Configuration information is represented in XML syntax. The root element is
called configuration.
The configuration file is usally named ulenetcfg.xml and is located in C:\Program
Files\ULE-Net.
You can specify configuration files to be loaded when ulenet is started by using
the -c, --config-file commandline options:
ulenet.exe -c ulenetcfg_base.xml -c ulenetcfg_mynet.cfg
Started this way, ulenet first loads configuration information from the file
ulenetcfg_base.xml,
which could for example contain basic settings for the DVB system.
After that, ulenet will load additional information from file
ulenetcfg_mynet.cfg,
which in our example would contain the configuration of the IP over DVB
streams.
Configuration File Example
<?xml version="1.0" encoding="utf-8"?>
<configuration version="0.0.2">
<network>
<type>DVB-T</type>
<tuner>
<freq>602000000</freq>
<mod>auto</mod>
<pol>horiz</pol>
<symrate>-1</symrate>
<fec>
<inner>
<method>auto</method>
<rate>auto</rate>
</inner>
<outer>
<method>auto</method>
<rate>auto</rate>
</outer>
</fec>
</tuner>
<ipdvb>
<stream>
<type>ULE</type>
<pid>0x191</pid>
</stream>
<ip_addr>192.168.50.20</ip_addr>
<ip_netmask>255.255.255.0</ip_netmask>
</ipdvb>
</network>
<log>
<base_level>INFO</base_level>
<verb_level>0</verb_level>
</log>
</configuration>
The sections and entries of the configuration file are explained below.
Reference
| DVB Network Settings |
| Name: |
DVB Network Settings |
| Key: |
/network |
| Occurrences: |
1 |
| Sub-Elements: |
type,
tuner, ipdvb
|
| Description: |
Contains settings which specify
details of the DVB system and IP over DVB parameters.
|
| DVB Network Type |
| Name: |
DVB Network Type |
| Key: |
/network/type |
| Value: |
Enum
|
| Default: |
DVB-T |
| Occurrences: |
1 |
| Description: |
Type of DVB system.
The type determines which tuning parameters are actually needed. For example,
you do not need to specify a polarisation for
DVB-T networks.
|
| Tuner |
| Name: |
DVB Tuner Settings |
| Key: |
/network/type |
| Occurrences: |
1 |
| Sub-Elements: |
freq,
mod, pol,
symrate, fec
|
| Description: |
Contains tuner settings.
|
| Frequency |
| Name: |
Frequency |
| Key: |
/network/tuner/freq |
| Value: |
Integer
Represents the tuning frequency in Hertz (Hz).
|
| Default: |
602000000 |
| Occurrences: |
1 |
| Description: |
The frequency to which the receiver device
should be tuned.
|
| Modulation |
| Name: |
Modulation |
| Key: |
/network/tuner/mod |
| Value: |
Enum
-
16QAM
16 symbol Quadrature Amplitude Modulation (QAM)
-
32QAM
32 symbol Quadrature Amplitude Modulation (QAM)
-
64QAM
64 symbol Quadrature Amplitude Modulation (QAM)
-
80QAM
80 symbol Quadrature Amplitude Modulation (QAM)
-
96QAM
96 symbol Quadrature Amplitude Modulation (QAM)
-
112QAM
112 symbol Quadrature Amplitude Modulation (QAM)
-
128QAM
128 symbol Quadrature Amplitude Modulation (QAM)
-
QPSK
Quadrature Phase-Shift Keying (QPSK) modulation
-
BPSK
Binary Phase Shift Keying modulation
-
OQPSK
Offset QPSK modulation
-
auto
Auto-Detection
|
| Default: |
auto |
| Occurrences: |
1 |
| Description: |
The signal modulation.
|
| Polarisation |
| Name: |
Polarisation |
| Key: |
/network/tuner/pol |
| Value: |
Enum
-
horizontal, horiz, h
Horizontal polarisation
-
vertical, vert, v
Vertical polarisation
|
| Default: |
horizontal |
| Occurrences: |
1 |
| Description: |
The signal polarisation.
|
| Symbol Rate |
| Name: |
Symbol Rate |
| Key: |
/network/tuner/symrate |
| Value: |
Integer
Represents the symbol rate in Symbols per Second.
-1 means Auto-Detection.
|
| Default: |
-1 |
| Occurrences: |
1 |
| Description: |
The symbol rate.
|
| FEC Settings |
| Name: |
FEC Settings |
| Key: |
/network/tuner/fec |
| Occurrences: |
1 |
| Sub-Elements: |
inner
outer
|
| Description: |
Contains configuration for Forward Error
Correction (FEC).
|
| Inner FEC Settings |
| Name: |
Inner FEC Settings |
| Key: |
/network/tuner/fec/inner |
| Occurrences: |
1 |
| Sub-Elements: |
method,
rate
|
| Description: |
Inner FEC configuration.
|
| Outer FEC Settings |
| Name: |
Outer FEC Settings |
| Key: |
/network/tuner/fec/outer |
| Occurrences: |
1 |
| Sub-Elements: |
method,
rate
|
| Description: |
Outer FEC configuration.
|
| FEC Method |
| Name: |
FEC Method |
| Key: |
/network/tuner/fec/(inner|outer)/method |
| Value: |
Enum
-
viterbi
-
RS_188_204
-
auto
Auto-Detection
|
| Default: |
auto |
| Occurrences: |
1 |
| Description: |
FEC Method.
|
| FEC Rate |
| Name: |
FEC Rate |
| Key: |
/network/tuner/fec/(inner|outer)/rate |
| Value: |
Enum
-
1/2
-
2/3
-
3/4
-
4/5
-
5/6
-
5/11
-
7/8
-
auto
Auto-Detection
|
| Default: |
auto |
| Occurrences: |
1 |
| Description: |
FEC Rate.
|
| IP over DVB Settings |
| Name: |
IP over DVB Settings |
| Key: |
/network/ipdvb |
| Occurrences: |
1 |
| Sub-Elements: |
stream,
ip_addr, ip_netmask
|
| Description: |
Contains configuration related to IP over
DVB.
|
| IP over DVB Stream |
| Name: |
IP over DVB Stream |
| Key: |
/network/ipdvb/stream |
| Occurrences: |
1..* |
| Sub-Elements: |
type,
pid
|
| Description: |
Specifies an IPDVB Stream. You specify a
stream by giving the type, e.g. ULE or MPE, and the PID (MPEG2 TS stream) on
which the data is sent.
|
| IPDVB Stream Type |
| Name: |
IPDVB Stream Type |
| Key: |
/network/ipdvb/stream/type |
| Value: |
Enum
|
| Default: |
ULE |
| Occurrences: |
1 |
| Description: |
Sets the type of a IPDVB stream. Currently
supported IP over DVB encapsulation methods are:
-
Unidirection Lightweight Encapsulation (ULE)
-
Multi-Protocol Encapsulation (MPE)
|
| IPDVB Stream PID |
| Name: |
IPDVB Stream PID |
| Key: |
/network/ipdvb/stream/pid |
| Value: |
Integer (Range: [1, 8191])
|
| Default: |
400 |
| Occurrences: |
1 |
| Description: |
The Packet IDentifier (PID) of MPEG2
Transport Stream (TS) packets carrying the encapsulated IP data, using the
encapsulation method specified by type.
|
| Log Base Level |
| Name: |
Log Base Level |
| Key: |
/log/base_level |
| Value: |
Enum
|
| Default: |
INFO |
| Occurrences: |
1 |
| Description: |
Log base level.
|
| Log Verbosity Level |
| Name: |
Log Verbosity Level |
| Key: |
/log/verb_level |
| Value: |
Integer (Range: [0, 3])
|
| Default: |
0 |
| Occurrences: |
1 |
| Description: |
Log verbosity level.
|