MMDVM Configuration file

Since I mainly use DMR, only the DMR functionality is explained

WARNING : this is a MMDVM.ini file from a while ago, when there was always a direct DMR master connection.
At this time, the [DMR Network] section has significantly changed !

TAG DEFAULT Info
[General]   tags between [] indicate the beginning of a section. This is the general section
Callsign=ON7LDS   YOUR callsign
Timeout=360 120 s Transmitter timeout in seconds. Default is 120 and since tere are people who tend to talk more than 2 minutes continuous, do not set this to tight, f.e. 6 minutes
Duplex=0 1 Set to zero for simplex stations (most hotspots) or 1 for duplex (repeaters and hotspots with 'dual' hat)
ModeHang=10 10 s Time to stay in the current mode after reception (RF and Net). If set, overrides RFModemHang and NetMode
RFModeHang=10 10 s Time to stay in the current mode after RF-reception
NetModeHang=3 3 s Time to stay in the current mode after Network reception
Display=Nextion none The name of the display section which will defin which display is attached and how
Daemon=0 0 Run in background or not
     
[Info]   Information
RXFrequency=435000000 435000000 Receiver frequency in Hz. Used by addon hats to set their frequency. Reported to the DMR-Master.
TXFrequency=435000000 435000000 Transmitter frequency in Hz. Used by addon hats to set their frequency. Reported to the DMR-Master.
Power=1   Power of the transmitter. Info only, reported to the DMR-Master
Latitude=0.0 0.0 Position parameters. Info only, reported to the DMR-Master
Longitude=0.0 0.0 Position parameters. Info only, reported to the DMR-Master
Height=0 0 Repeater height. Info only, reported to the DMR-Master
Location=Mobile (Location Varies)   Location info string, reported to the DMR-Master
Description=Self build hotspot   Description string, reported to the DMR-Master
URL=on7lds.net   URL string, f.e. website of repeater. Reported to the DMR-Master
     
[Log]   Logging section. 0=no log, 1=debug, 2=message, 3= info, 4=warning, 5=error, 6=fatal
DisplayLevel=2 0 Logging to console
FileLevel=2 0 Logging to logfile
FilePath=.   Location of the logfiles. Using '.' means logging to the program's current working directory
FileRoot=MMDVM   Prefic of the logfile name. In this case the logfile name is MMDVM-YYYY-MM-DD.log (with YYYY-MM-DD being the current date)
     
[CW Id]    
Enable=0   Enable the CW beacon (note: the hat's firmware has to support this)
Time=10   Time interval in minutes to send the beacon
     
[Modem]    
Port=/dev/ttyACM0   Port where the modem is connected. On raspberry Pi mostly /ev/ttyACM0
TXInvert=1 0 Invert TX data. Needed for some transmitters such as mostly Pi hats.
RXInvert=0 0 Invert RX data.
PTTInvert=0 0 PTT goes low to transmit.
TXDelay=100 100 ms Settle time for the transmitter
DMRDelay=0 0 ms Compensate for delay in transmitter audio chain
RXLevel=50 100 % Software control for receive level (not for most hotspots)
TXLevel=50 100 % Software control for transmit level (not for most hotspots)
CWIdTXLevel=50   Individual level when not using global TXLevel
D-StarTXLevel=50   Individual level when not using global TXLevel
DMRTXLevel=50   Individual level when not using global TXLevel
YSFTXLevel=50   Individual level when not using global TXLevel
P25TXLevel=50   Individual level when not using global TXLevel
OscOffset=0 0 ppm Tweak the Due oscillator if not using the TCXO
RSSIMultiplier=1    
RSSIOffset=10    
Debug=0    
     
[DMR]    
Enable=1 1 Enable DMR mode
Beacons=0   Enable DMR beacons (used for DMR roaming)
Id=123456700   DMR ID of this station.Hotspots : your DMR ID + (optionally) a 2 digit suffix, choose free from 00 - 99
ColorCode=1 1 Color Code to use for DMR repeater access
SelfOnly=0 0 Only the owner's ID can use this device
Prefixes=206,204   Whitelisted MCC prefixes
CallHang=3 3 s Time to answer in same Talk Group
TXHang=0 3 s Time that TX stays on transmission after DMR-over (set to 0 for simplex devices)
Blacklist=   ID's that cannot use this device
DstIdBlackListSlot1RF=   comma separated list of TGs to block on RF Slot1
DstIdBlackListSlot2RF=   comma separated list of TGs to block on RF Slot2
DstIdWhiteListSlot1RF=   comma separated list of TGs to allow on RF Slot1
DstIdWhiteListSlot2RF=   comma separated list of TGs to allow on RF Slot2
DstIdBlackListSlot1NET=   comma separated list of TGs to block on NET Slot1
DstIdBlackListSlot2NET=   comma separated list of TGs to block on NET Slot2
DstIdWhiteListSlot1NET=   comma separated list of TGs to allow on NET Slot1
DstIdWhiteListSlot2NET=   comma separated list of TGs to allow on NET Slot2
TGRewriteSlot1=0   TG Rewrite, when enabled for a slot, rewrites the DST ID of incoming talkgroup traffic to TG9, alowing audio to be heard by any user monitoring TG9 on that slot. If the user then replies on TG9, as long as they key-up during the CallHang period, the DST ID (TG) is again rewritten on the outbound traffic,which transparently maps back to the originating talkgroup. https://gb7fr.org.uk/index.php/2016/09/15/new-feature-tg-rewrite/
TGRewriteSlot2=0    
BMAutoRewrite=0    
BMRewriteReflectorVoicePrompts=0    
DirectDial=0    
TargetTG=9    
RewriteMapSlot1=    
RewritemapSlot2=    
     
[DMR Network]    
Enable=1 1 Enable DMR network connection
Address=11.22.33.44    
Port=62031   Port DMR master is listening on
Jitter=300   Sets the network buffer size in ms
Local=3350   Local UDP port if needed. Else random.
Password=PASSWORD   Access password of DMR Master
RSSI=0   RSSI repoting (1 =enabled, 0 = disabled)
Slot1=0 1 Enable Slot 1 (do not enable for simplex divices like DVMega)
Slot2=1 1 Enable Slot 2
Debug=0    
     
[Nextion]    
Port=/dev/ttyAMA0  

Port where the display is connected, in Pi this might be /dev/ttyAMA0
Could also be /dev/ttyUSB0 or modem (when connected to a serial port on the modem)
With NextionDriver, this is /dev/ttyNextionDriver

DisplayClock=1   Send time/dat to the display
Brightness=50 % Display brightness when active
IdleBrightness=20 % Display brightness when idle
UTC=0   Display time in UTC
ScreenLayout=3 0 Screen layout to use (1=G4KLX, 2..4 = ON7LDS check info )
     
 [Transparent Data]    
Enable=0   Enable transparen data
RemoteAddress=127.0.0.1   Remote host for transparent data
RemotePort=40094   Remote port for transparent data
LocalPort=40095   Local port for transparent data
SendFrameType=1 0 Type of frame to use to communicate (important with modem connected displays and NextionDriver)