mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-21 06:03:58 +00:00
Support for YSF2NXDN and YSF2P25 pseudo reflectors
This commit is contained in:
parent
fcf823d837
commit
a8eb0ffa79
8 changed files with 120 additions and 0 deletions
|
|
@ -465,6 +465,16 @@ void CYSFGateway::createWiresX(CYSFNetwork* rptNetwork)
|
|||
if (port > 0U)
|
||||
m_wiresX->setYSF2DMR(address, port);
|
||||
|
||||
address = m_conf.getYSFNetworkYSF2NXDNAddress();
|
||||
port = m_conf.getYSFNetworkYSF2NXDNPort();
|
||||
if (port > 0U)
|
||||
m_wiresX->setYSF2NXDN(address, port);
|
||||
|
||||
address = m_conf.getYSFNetworkYSF2P25Address();
|
||||
port = m_conf.getYSFNetworkYSF2P25Port();
|
||||
if (port > 0U)
|
||||
m_wiresX->setYSF2P25(address, port);
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> entries = m_conf.getFCSNetworkEntries();
|
||||
for (std::vector<std::pair<std::string, std::string>>::const_iterator it = entries.cbegin(); it != entries.cend(); ++it)
|
||||
m_wiresX->addFCSRoom(*it);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue