HBLink/hblink-SAMPLE.cfg

109 lines
3.5 KiB
INI
Raw Normal View History

# PROGRAM-WIDE PARAMETERS GO HERE
# PATH - working path for files, leave it alone unless you NEED to change it
# PING_TIME - the interval that clients will ping the master, and re-try registraion
2016-07-24 21:29:36 -04:00
# - how often the Master maintenance loop runs
# MAX_MISSED - how many pings are missed before we give up and re-register
# - number of times the master maintenance loop runs before de-registering a client
2016-07-20 17:16:27 -04:00
[GLOBAL]
PATH: ./
2016-07-24 10:42:42 -04:00
PING_TIME: 5
2016-07-24 21:29:36 -04:00
MAX_MISSED: 3
2016-07-20 17:16:27 -04:00
2016-08-01 10:25:11 -04:00
# SYSTEM LOGGER CONFIGURAITON
# This allows the logger to be configured without chaning the individual
# python logger stuff. LOG_FILE should be a complete path/filename for *your*
# system -- use /dev/null for non-file handlers.
# LOG_HANDERLS may be any of the following, please, no spaces in the
# list if you use several:
# null
# console
# console-timed
# file
# file-timed
# syslog
# LOG_LEVEL may be any of the standard syslog logging levels, though
# as of now, DEBUG, INFO, WARNING and CRITICAL are the only ones
# used.
#
2016-07-20 17:16:27 -04:00
[LOGGER]
LOG_FILE: /tmp/hblink.log
LOG_HANDLERS: console-timed
2017-11-02 09:55:42 -04:00
LOG_LEVEL: INFO
2016-07-20 17:16:27 -04:00
LOG_NAME: HBlink
2016-09-12 12:26:41 -04:00
# DOWNLOAD AND IMPORT SUBSCRIBER, PEER and TGID ALIASES
# Ok, not the TGID, there's no master list I know of to download
# This is intended as a facility for other applcations built on top of
# HBlink to use, and will NOT be used in HBlink directly.
# STALE_DAYS is the number of days since the last download before we
# download again. Don't be an ass and change this to less than a few days.
[ALIASES]
TRY_DOWNLOAD: True
PATH: ./
2019-07-09 15:22:43 -04:00
PEER_FILE: peer_ids.json
SUBSCRIBER_FILE: subscriber_ids.json
TGID_FILE: talkgroup_ids.json
PEER_URL: https://www.radioid.net/static/rptrs.json
SUBSCRIBER_URL: https://www.radioid.net/static/users.json
2016-09-12 12:26:41 -04:00
STALE_DAYS: 7
2016-07-30 21:37:05 -04:00
# EXPORT AMBE DATA
# This is for exporting AMBE audio frames to an an "external" process for
# decoding or other nefarious actions.
[AMBE]
EXPORT_IP: 127.0.0.1
EXPORT_PORT: 1234
2016-07-24 10:42:42 -04:00
# MASTER INSTANCES - DUPLICATE SECTION FOR MULTIPLE MASTERS
# HomeBrew Protocol Master instances go here.
# IP may be left blank if there's one interface on your system.
# Port should be the port you want this master to listen on. It must be unique
# and unused by anything else.
2016-07-27 19:07:01 -04:00
# Repeat - if True, the master repeats traffic to clients, False, it does nothing.
[MASTER-1]
MODE: MASTER
2016-07-20 17:16:27 -04:00
ENABLED: True
2016-07-27 19:07:01 -04:00
REPEAT: True
2016-07-30 21:37:05 -04:00
EXPORT_AMBE: False
2016-07-20 17:16:27 -04:00
IP:
PORT: 54000
PASSPHRASE: s3cr37w0rd
2016-12-20 21:59:56 -05:00
GROUP_HANGTIME: 5
# CLIENT INSTANCES - DUPLICATE SECTION FOR MULTIPLE CLIENTS
# There are a LOT of errors in the HB Protocol specifications on this one!
# MOST of these items are just strings and will be properly dealt with by the program
# The TX & RX Frequencies are 9-digit numbers, and are the frequency in Hz.
# Latitude is an 8-digit unsigned floating point number.
# Longitude is a 9-digit signed floating point number.
# Height is in meters
2018-06-25 17:26:12 -04:00
# Setting Loose to True relaxes the validation on packets received from the master.
# This will allow HBlink to connect to a non-compliant system such as XLXD, DMR+ etc.
2016-07-20 17:16:27 -04:00
[REPEATER-1]
MODE: CLIENT
2017-06-29 12:54:29 -04:00
ENABLED: False
2018-06-25 11:44:19 -04:00
LOOSE: False
2016-07-30 21:37:05 -04:00
EXPORT_AMBE: False
2016-07-20 17:16:27 -04:00
IP:
PORT: 54001
MASTER_IP: 172.16.1.1
MASTER_PORT: 54000
PASSPHRASE: homebrew
2017-06-20 21:02:12 -04:00
CALLSIGN: W1AW
RADIO_ID: 1234567
2017-11-02 09:55:42 -04:00
RX_FREQ: 222340000
TX_FREQ: 223940000
2016-07-20 17:16:27 -04:00
TX_POWER: 25
2016-07-24 10:42:42 -04:00
COLORCODE: 1
2017-06-20 21:02:12 -04:00
SLOTS: 3
LATITUDE: 41.7333
LONGITUDE: -50.3999
2016-07-20 17:16:27 -04:00
HEIGHT: 75
2017-06-20 21:02:12 -04:00
LOCATION: Iceberg, USA
DESCRIPTION: HBlink repeater
URL: https://groups.io/g/DVSwitch
2017-06-20 18:48:07 -04:00
SOFTWARE_ID: 20170620
PACKAGE_ID: MMDVM_HBlink
GROUP_HANGTIME: 5
2017-06-20 17:03:23 -04:00
OPTIONS: