HBLink/hblink-SAMPLE.cfg

64 lines
1.9 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
# LOGGING CONFIGURATION
# Should be self explanatory. See Python logging module for more information
# Several convenient handlers have been pre-configured, check out the module
# hb_log.py to see them
2016-07-20 17:16:27 -04:00
[LOGGER]
LOG_FILE: /tmp/hblink.log
LOG_HANDLERS: console-timed
2016-07-20 22:25:47 -04:00
LOG_LEVEL: DEBUG
2016-07-20 17:16:27 -04:00
LOG_NAME: HBlink
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.
[MASTER-1]
MODE: MASTER
2016-07-20 17:16:27 -04:00
ENABLED: True
IP:
PORT: 54000
PASSPHRASE: s3cr37w0rd
# 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
2016-07-20 17:16:27 -04:00
[REPEATER-1]
MODE: CLIENT
2016-07-20 17:16:27 -04:00
ENABLED: True
IP:
PORT: 54001
MASTER_IP: 172.16.1.1
MASTER_PORT: 54000
PASSPHRASE: homebrew
CALLSIGN: W1ABC
RADIO_ID: 312000
RX_FREQ: 449000000
TX_FREQ: 444000000
2016-07-20 17:16:27 -04:00
TX_POWER: 25
2016-07-24 10:42:42 -04:00
COLORCODE: 1
2016-07-25 09:23:12 -04:00
SLOTS: 1
2016-07-24 21:29:36 -04:00
LATITUDE: 38.0000
LONGITUDE: -095.0000
2016-07-20 17:16:27 -04:00
HEIGHT: 75
LOCATION: Anywhere, USA
DESCRIPTION: This is a cool repeater
URL: www.w1abc.org
SOFTWARE_ID: HBlink
2016-07-25 09:23:12 -04:00
PACKAGE_ID: v0.1