From 2a08b3e4feb9ef91bb60ad656e68bc81737f658d Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Wed, 29 Dec 2021 21:58:36 +0100 Subject: [PATCH] Add some comments to example.cfg #2 --- example.cfg | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/example.cfg b/example.cfg index 5fbd919..3b3ec8f 100644 --- a/example.cfg +++ b/example.cfg @@ -1,52 +1,57 @@ +# The configuration format is quite straight forward. It is organised in sections and key/value pairs. +# The order of the sections or key/values pairs inside the sections does not matter nor does casing. +# Boolean values can be set using true, false, 1 or 0 +# Floating point values must use . (point) as decimal separator + [Gateway] type= # repeater, hotspot, dongle. Defaults to repeater callsign= -address=0.0.0.0 # this is the computer interface for the outgoing connection. Usually leave it blank and it will use whatever is avaiable. -icomAddress=172.16.0.20 -icomPort=20000 -hbAddress=192.168.123.186 #address to use for connectin with homebrew repeaters (MMDVMHost, DStarRepeater) +address=0.0.0.0 # this is the computer interface for the outgoing connection. Usually leave it blank and it will use whatever is avaiable. +icomAddress=172.16.0.20 +icomPort=20000 +hbAddress= #address to use for connecting to the homebrew repeaters (MMDVMHost, DStarRepeater), defaults to 127.0.0.1 hbPort=20010 latitude=0.0 longitude=0.0 description1= description2= url= -language= # english_uk, deutsch, dansk, francais, italiano, polski, english_us, espanol, svenska, nederlands_nl, nederlands_be, norsk, portugues +language= # valid values: english_uk, deutsch, dansk, francais, italiano, polski, english_us, espanol, svenska, nederlands_nl, nederlands_be, norsk, portugues #up to 4 ircddb networks can be specified [ircddb_1] enabled=true hostname=ircv4.openquad.net -username= # The ircDDB username default to the value defined for gateway callsign. +username= # The ircDDB username default to the value defined for gateway callsign. password= [ircddb_2] enabled=false hostname= -username= # The ircDDB username default to the value defined for gateway callsign. +username= # The ircDDB username defaults to the value defined for gateway callsign. password= [ircddb_3] hostname=false -username=CHNGME # The ircDDB username default to the value defined for gateway callsign. +username=CHNGME # The ircDDB username defaults to the value defined for gateway callsign. password= [ircddb_4] hostname=false -username=CHNGME # The ircDDB username default to the value defined for gateway callsign. +username=CHNGME # The ircDDB username defaults to the value defined for gateway callsign. password= # up to 4 repeaters can be added [Repeater_1] enabled=true -band=B # Each module has to have a band letter -callsign= # Has to be less than 8 characters, if empty gateway call will be used -address= # address where the repeater can be found, if left empty defaults to 127.0.0.1 +band=B # Each module has to have a band letter +callsign= # Has to be less than 8 characters, if empty gateway call will be used +address= # address where the repeater can be found, if left empty defaults to 127.0.0.1 port=20011 -type=hb # hb or icom +type=hb # valid values: hb or icom reflector= -reflectorAtStartup=false -reflectorReconnect=30 # never, fixed, 5, 10, 15, 20, 25, 30, 60, 90, 120, 180 +reflectorAtStartup= # if reflector is set, this defaults to true +reflectorReconnect=30 # valid values: never, fixed, 5, 10, 15, 20, 25, 30, 60, 90, 120, 180 frequency=434.0 offset=-1.6 rangeKm=20