Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
contrib
service
APRSReader.cpp
APRSReader.h
APRSWriter.cpp
APRSWriter.h
APRSWriterThread.cpp
APRSWriterThread.h
BPTC19696.cpp
BPTC19696.h
CRC.cpp
CRC.h
Conf.cpp
Conf.h
DMRData.cpp
DMRData.h
DMRDefines.h
DMREMB.cpp
DMREMB.h
DMREmbeddedData.cpp
DMREmbeddedData.h
DMRFullLC.cpp
DMRFullLC.h
DMRIds.dat
DMRLC.cpp
DMRLC.h
DMRLookup.cpp
DMRLookup.h
DMRNetwork.cpp
DMRNetwork.h
DMRSlotType.cpp
DMRSlotType.h
DTMF.cpp
DTMF.h
Defines.h
DelayBuffer.cpp
DelayBuffer.h
GPS.cpp
GPS.h
Golay2087.cpp
Golay2087.h
Golay24128.cpp
Golay24128.h
Hamming.cpp
Hamming.h
LICENCE
Log.cpp
Log.h
Makefile
ModeConv.cpp
ModeConv.h
Mutex.cpp
Mutex.h
QR1676.cpp
QR1676.h
README.md
RS129.cpp
RS129.h
Reflectors.cpp
Reflectors.h
RingBuffer.h
SHA256.cpp
SHA256.h
StopWatch.cpp
StopWatch.h
Sync.cpp
Sync.h
TCPSocket.cpp
TCPSocket.h
TGList-DMR.txt
Thread.cpp
Thread.h
Timer.cpp
Timer.h
UDPSocket.cpp
UDPSocket.h
Utils.cpp
Utils.h
Version.h
WiresX.cpp
WiresX.h
XLXHosts.txt
YSF2DMR.cpp
YSF2DMR.h
YSF2DMR.ini
YSF2DMR.vcxproj
YSF2DMR.vcxproj.filters
YSFConvolution.cpp
YSFConvolution.h
YSFDefines.h
YSFFICH.cpp
YSFFICH.h
YSFNetwork.cpp
YSFNetwork.h
YSFPayload.cpp
YSFPayload.h

README.md

Description

This is the source code of YSF2DMR, a software for digital voice conversion from Yaesu System Fusion to DMR digital mode, based on Jonathan G4KLX's MMDVM software.

You can use this software and YSFGateway at the same time, with the default YSF UDP ports (42000 and 42013). In this case, you can select the pseudo "YSF2DMR" reflector in the Wires-X list provided by YSFGateway.

Also, you can connect directly with MMDVMHost, changing the following ports in [YSF Network] section (YSF2DMR.ini):

DstPort=3200
LocalPort=4200

You have to select the destination DMR TG to connect (or private call):

StartupDstId=730
StartupPC=0

YSF2DMR looks for DMR ID of the YSF callsign in the DMRIds.dat file, in case of no coincidence, it will use your DMR ID. Also, all IDs from DMR Network will be converted to callsigns and you will see it at the display of your YSF radio.

You can also use the Wires-X function of your radio to select any DMR TG ID (or Reflector). In this case, you need to connect YSF2DMR directly to MMDVMHost in order to process correctly all Wires-X commands. Please edit the file TGList.txt and enter only your preferred DMR ID list. Use the disconnect function of your YSF radio (hold *) to send a call to TG 4000 for example.

If you want to connect directly to a XLX reflector (with DMR support), you only need to uncomment ([DMR Network] section):

XLXFile=XLXHosts.txt
XLXReflector=950
XLXModule=D

and replace XLXReflector and XLXModule according your preferences. Also, you need to configure the DMR port according the XLX reflector port, for example:

Port=62030

StartupDstId, StartupPC and Address parameters don't care in XLX mode.

This software is licenced under the GPL v2 and is intended for amateur and educational use only. Use of this software for commercial purposes is strictly forbidden.

Crosslink configuration

You can use YSF2DMR to link a YSF Reflector to a DMR network (without using any RF link):

YSFReflector <-> YSF2DMR <-> any DMR Network

Install the YSF2DMR software at the same server where YSFReflector software is located. Configure your [DMR Network] section (YSF2DMR.ini) as usual, depending on your preferred DMR network. Then, you only need to match the YSFReflector UDP port (Port in [Network], YSFReflector.ini) to YSF UDP port (DstPort in [YSF Network], YSF2DMR.ini).

For example, a common UDP port in YSFReflector.ini:

[Network]
Port=42000

Then you need to configure YSF2DMR.ini (example):

[YSF Network]
Callsign=CE1ABC
Suffix=ND
DstAddress=127.0.0.1
DstPort=42000
LocalAddress=127.0.0.1
LocalPort=42012
EnableWiresX=0
Daemon=0

You could also see at "service" folder of this project to see an example of Systemd automatic startup for YSF2DMR. Please see README for more information about installation.