From 17611224ea5ff15cfccdf67b393dc33d021976d6 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 25 Jun 2026 17:21:16 +0100 Subject: [PATCH] Move embedded LC errors to INFO level Add sample FreeDMR.cfg --- FreeDMR.cfg | 107 +++++++++++++++++++++++++++++++++++++++++++++++ bridge_master.py | 2 +- 2 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 FreeDMR.cfg diff --git a/FreeDMR.cfg b/FreeDMR.cfg new file mode 100644 index 0000000..ff592ca --- /dev/null +++ b/FreeDMR.cfg @@ -0,0 +1,107 @@ +# This minimal config file uses defaults for everything apart from OBP/FBP and +# HBP config. This is usually a sensible choice. + +# Servers should normally use the accepted defaults unless there is a specific +# reason to change them. + +[GLOBAL] +# If you join the FreeDMR network, add your server ID here. +SERVER_ID: 0 + +[REPORTS] + +[LOGGER] + +[ALIASES] + +[ALLSTAR] + +# Example OpenBridge Protocol (OBP) or FreeDMR Bridge Protocol (FBP) +# configuration. If you join FreeDMR, you will be given a config like this to +# paste in. +[OBP-TEST] +MODE: OPENBRIDGE +ENABLED: False +IP: +PORT: 62044 +# The ID which you expect to see sent from the other end of the link. +NETWORK_ID: 1 +PASSPHRASE: mypass +TARGET_IP: +TARGET_PORT: 62044 +USE_ACL: True +SUB_ACL: DENY:1 +TGID_ACL: PERMIT:ALL +# Should usually be true when using Docker or NAT. +RELAX_CHECKS: True +# True for FBP, False for OBP. +ENHANCED_OBP: True +# PROTO_VER should be 5 for FreeDMR servers using FBP. +# Use 1 for other servers using OBP. +PROTO_VER: 5 + +# Repeater/hotspot connections via HomeBrew Protocol (HBP). +[SYSTEM] +MODE: MASTER +ENABLED: True +REPEAT: True +MAX_PEERS: 1 +EXPORT_AMBE: False +IP: 127.0.0.1 +PORT: 54000 +PASSPHRASE: +GROUP_HANGTIME: 5 +USE_ACL: True +REG_ACL: DENY:1 +SUB_ACL: DENY:1 +TGID_TS1_ACL: PERMIT:ALL +TGID_TS2_ACL: PERMIT:ALL +DEFAULT_UA_TIMER: 10 +SINGLE_MODE: True +VOICE_IDENT: True +DIAL_A_TG: True +DYNAMIC_TG_ROUTING: True +TS1_STATIC: +TS2_STATIC: +DEFAULT_DIAL_TS1: 0 +DEFAULT_DIAL_TS2: 0 +DEFAULT_REFLECTOR: 0 +ANNOUNCEMENT_LANGUAGE: en_GB +GENERATOR: 100 +ALLOW_UNREG_ID: False +PROXY_CONTROL: True +OVERRIDE_IDENT_TG: + +# Echo (Loro / Parrot) server. +[ECHO] +MODE: PEER +ENABLED: True +LOOSE: False +EXPORT_AMBE: False +IP: 127.0.0.1 +PORT: 54916 +MASTER_IP: 127.0.0.1 +MASTER_PORT: 54915 +PASSPHRASE: passw0rd +CALLSIGN: ECHO +RADIO_ID: 1000001 +RX_FREQ: 449000000 +TX_FREQ: 444000000 +TX_POWER: 25 +COLORCODE: 1 +SLOTS: 1 +LATITUDE: 00.0000 +LONGITUDE: 000.0000 +HEIGHT: 0 +LOCATION: Earth +DESCRIPTION: ECHO +URL: www.freedmr.uk +SOFTWARE_ID: 20170620 +PACKAGE_ID: MMDVM_FreeDMR +GROUP_HANGTIME: 5 +OPTIONS: +USE_ACL: True +SUB_ACL: DENY:1 +TGID_TS1_ACL: PERMIT:ALL +TGID_TS2_ACL: PERMIT:ALL +ANNOUNCEMENT_LANGUAGE: en_GB diff --git a/bridge_master.py b/bridge_master.py index 9cb1578..88599d3 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -343,7 +343,7 @@ def log_embedded_lc_observations( embedded_lc[96:128], )) except EmbeddedLCError as error: - logger.debug( + logger.info( '(%s) Embedded LC decode failed for stream %s: %s', _system, int_id(_stream_id), error )