How to program a codeplug for a TYT MD380 DMR Radio

An instructional video on how to program a code plug for the TYT MD-380 handheld DMR Radio

Setting MMDVMHost on Raspberry Pi

Configure MMDVMhost

1
sudo nano /opt/MMDVMHost/MMDVM.ini


[General] Callsign=G9BF Timeout=180 # Transmitter timeout in seconds. Default is: 120s Duplex=1 # Is this station Simplex or Duplex. DVMega is simplex. Default is: 1 # ModeHang=10 # Time to stay in mode after receiption. If set overrides RFModemHang and NetModemHang RFModeHang=10 # Time to stay in mode after RF-receiption Default is: 10s NetModeHang=3 # Time to stay in mode after Network-receiption Default is: 3s Display=None # Contains the name of the display section used Daemon=0 # Run in background [Info] RXFrequency=435000000 # Receiver frequency in Hz Used by DVMega, reported to DMR-Master. Default is: 0Hz TXFrequency=435000000 # Transmitter frequency in Hz. Used by DVMega, reported to DMR-Master. Default is: 0Hz Power=1 # For informational use only. Keep below 99 for BrandMeister Latitude=0.0 # if set, reported to DMR-Master, causes recognition as repeater in BrandMeister Longitude=0.0 # if set, reported to DMR-Master, causes recognition as repeater in BrandMeister Height=0 # if set, reported to DMR-Master, causes recognition as repeater in BrandMeister Location=Nowhere Description=Multi-Mode Repeater URL=mmdvm.com [Log] # Logging levels # 0 = No logging # 1 = Debug # 2 = Message # 3 = Info # 4 = Warning # 5 = Error # 6 = Fatal DisplayLevel=1 # log Debug to console. Default is: 0 FileLevel=1 # log Debug to file. Default is: 0 FilePath=. # location, where the logfile is to be stored. "." means in current working directory FileRoot=MMDVM # Prefix of the logfile-name. In example: MMDVM-2016-12-31.log [CW Id] Enable=1 # Enable the CW Id Time=10 # Time-interval for repeating CW-ID in minutes [Modem] Port=/dev/ttyACM0 # Port=\\.\COM3 TXInvert=1 # Invert TX data. Needed for some transmitters. Default is: 0 RXInvert=0 # Invert RX data. Needed for some receivers. Default is: 0 PTTInvert=0 # PTT goes low to transmit. Invert for some transmitters. Default is: 0 TXDelay=100 # Give the transmitter time to settle in ms. Default is: 100ms DMRDelay=0 # Compensate for delay in transmitter audio chain in ms . Usually DSP based. Default is: 0.0ms RXLevel=50 # Soft control for receive level. Not used by DVMega. Default is: 100% TXLevel=50 # Soft Control for transmit level. Not used by DVMega. Default is: 100% # CWIdTXLevel=50 # You could also use this levels instead of the global TXLevel for controlling for each mode # D-StarTXLevel=50 # DMRTXLevel=50 # YSFTXLevel=50 # P25TXLevel=50 OscOffset=0 # Tweak the Due oscillator if not using the TCXO. Default is: 0ppm RSSIMultiplier=1 RSSIOffset=10 Debug=0 [UMP] Enable=0 # Port=\\.\COM4 Port=/dev/ttyACM1 [D-Star] Enable=1 # Enable D-Star repeater mode. Default is: 1 Module=C # Module used for D-Star (for example: G9BF-C SelfOnly=0 # If set, only own ID can operate. Default is: 0 [DMR] Enable=1 # Enable DMR repeater mode. Default is: 1 Beacons=0 # Enable transmission of DMR-Beacons, used for DMR-Roaming Id=123456 # DMR ID of this station ColorCode=1 # Color Code to use for DMR repeater access. Default is: 1 SelfOnly=0 # If set, only own ID can operate. Default is: 0 # Prefixes=234,235 # These prefixes are whitelisted for operation. Default is: 0 CallHang=3 # Time to answer in same Talk Group. Default is: 3 TXHang=4 # Time that TX stays on transmission after DMR-over. Default is: 3 #Blacklist= #DstIdBlackListSlot1RF= # comma separated list TGs to block on RF Slot1 #DstIdBlackListSlot2RF= # comma separated list TGs to block on RF Slot2 #DstIdWhiteListSlot1RF= # comma separated list TGs to allow on RF Slot1 #DstIdWhiteListSlot2RF= # comma separated list TGs to allow on RF Slot2 #DstIdBlackListSlot1NET= # comma separated list TGs to block on NET Slot1 #DstIdBlackListSlot2NET= # comma separated list TGs to block on NET Slot2 #DstIdWhiteListSlot1NET= # comma separated list TGs to allow on NET Slot1 #DstIdWhiteListSlot2NET= # comma separated list TGs to allow on NET Slot2 #TGRewriteSlot1=0 #TGRewriteSlot2=0 #BMAutoRewrite=0 #BMRewriteReflectorVoicePrompts=0 #DirectDial=0 #TargetTG=9 #RewriteMapSlot1= #RewritemapSlot2= [System Fusion] Enable=1 # Enable Fusion repeater mode. Default is: 1 RemoteGateway=0 [P25] Enable=1 NAC=293 [D-Star Network] Enable=1 # Enable D-Star network connection. Requires ircDDBGateway. Default is: 1 GatewayAddress=127.0.0.1 GatewayPort=20010 # UDP port ircDDBGateway is listening on. Default is: 0 LocalPort=20011 # UDP port MMDVMHost is listening on. Default is: 1 Debug=0 [DMR Network] Enable=1 # Enable DMR network connection. Default is: 1 Address=44.131.4.1 Port=62031 # Port DMRMaster 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 # Options= # For setting DMRplus-options, see https://github.com/g4klx/MMDVMHost/blob/master/DMRplus_startup_options.md RSSI=0 # RSSI-repoting enabled = 1, disabled = 0 Slot1=1 # Enable Slot 1 Do not enable for DVMega. Default is: 1 Slot2=1 # Enable Slot 2. Default is: 1 Debug=0 [System Fusion Network] Enable=1 # Enable Fusion network connection Debug=0 LocalAddress=127.0.0.1 # Use local YSFGateway # LocalPort=3200 # GwyAddress=127.0.0.1 # GwyPort=4200 # Use Direct connection to Reflector LocalPort=/dev/null GwyAddress=ysfreflector.dvswitch.org GwyPort=42000 [P25 Network] Enable=1 GatewayAddress=127.0.0.1 GatewayPort=42020 LocalPort=32010 Debug=0 [TFT Serial] Port=/dev/ttyAMA0 Brightness=50 [HD44780] Rows=2 Columns=16 # rs, strb, d0, d1, d2, d3 # For basic HD44780 displays (4-bit connection) Pins=11,10,0,1,2,3 # For Adafruit i2c HD44780 # Pins=115,113,112,111,110,109 # Device address for I2C I2CAddress=0x20 # PWM backlight PWM=0 PWMPin=21 PWMBright=100 PWMDim=16 DisplayClock=1 UTC=0 [Nextion] Port=/dev/ttyAMA0 Brightness=50 DisplayClock=1 UTC=0 IdleBrightness=20 [OLED] Type=3 Brightness=0 Invert=0 [LCDproc] Address=localhost Port=13666 #LocalPort=13667 DimOnIdle=0 DisplayClock=1 UTC=0




MMDVMHost  G4KLX

[General]
Callsign=G9BF
Id=123456
Timeout=180
Duplex=1
# ModeHang=10
RFModeHang=10
NetModeHang=3
Display=None
Daemon=0

[Info]
RXFrequency=435000000
TXFrequency=435000000
Power=1
Latitude=0.0
Longitude=0.0
Height=0
Location=Nowhere
Description=Multi-Mode Repeater
URL=www.google.co.uk

[Log]
# Logging levels, 0=No logging
DisplayLevel=1
FileLevel=1
FilePath=.
FileRoot=MMDVM

[CW Id]
Enable=1
Time=10
# Callsign=

[DMR Id Lookup]
File=DMRIds.dat
Time=24

[Modem]
# Port=/dev/ttyACM0
Port=\\.\COM3
TXInvert=1
RXInvert=0
PTTInvert=0
TXDelay=100
RXOffset=0
TXOffset=0
DMRDelay=0
RXLevel=50
TXLevel=50
RXDCOffset=0
TXDCOffset=0
RFLevel=100
# CWIdTXLevel=50
# D-StarTXLevel=50
# DMRTXLevel=50
# YSFTXLevel=50
# P25TXLevel=50
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0

[UMP]
Enable=0
# Port=\\.\COM4
Port=/dev/ttyACM1

[D-Star]
Enable=1
Module=C
SelfOnly=0
AckReply=1
AckTime=750
ErrorReply=1
RemoteGateway=0
# ModeHang=10

[DMR]
Enable=1
Beacons=0
ColorCode=1
SelfOnly=0
EmbeddedLCOnly=0
DumpTAData=1
# Prefixes=234,235
# Slot1TGWhiteList=
# Slot2TGWhiteList=
CallHang=3
TXHang=4
# ModeHang=10

[System Fusion]
Enable=1
LowDeviation=0
SelfOnly=0
#DSQ=1
RemoteGateway=0
# ModeHang=10

[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=0
# ModeHang=10

[D-Star Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
# ModeHang=3
Debug=0

[DMR Network]
Enable=1
Address=44.131.4.1
Port=62031
Jitter=500
# Local=62032
Password=PASSWORD
# Options=
Slot1=1
Slot2=1
# ModeHang=3
Debug=0

[System Fusion Network]
Enable=1
LocalAddress=127.0.0.1
LocalPort=3200
GatewayAddress=127.0.0.1
GatewayPort=4200
# ModeHang=3
Debug=0

[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
# ModeHang=3
Debug=0

[TFT Serial]
# Port=modem
Port=/dev/ttyAMA0
Brightness=50

[HD44780]
Rows=2
Columns=16

# For basic HD44780 displays (4-bit connection)
# rs, strb, d0, d1, d2, d3
Pins=11,10,0,1,2,3

# Device address for I2C
I2CAddress=0x20

# PWM backlight
PWM=0
PWMPin=21
PWMBright=100
PWMDim=16

DisplayClock=1
UTC=0

[Nextion]
# Port=modem
Port=/dev/ttyAMA0
Brightness=50
DisplayClock=1
UTC=0
#Screen Layout: 0=G4KLX 2=ON7LDS
ScreenLayout=2
IdleBrightness=20

[OLED]
Type=3
Brightness=0
Invert=0
Scroll=1

[LCDproc]
Address=localhost
Port=13666
#LocalPort=13667
DimOnIdle=0
DisplayClock=1
UTC=0

American Radio Relay League | Ham Radio Association and Resources

The American Radio Relay League (ARRL) is the national association for amateur radio, connecting hams around the U.S. with news, information and resources.
Top
We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. More details…