1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2026-07-25 11:34:11 -04:00

xlxd 2.0.0

Added compatibility with protocols DMR Homebrew (MMDVM)  and DMR Plus
(dongle)
This commit is contained in:
LX3JL
2017-08-22 20:23:57 +02:00
parent 41465e236d
commit 83278d1363
65 changed files with 6366 additions and 175 deletions
+12 -5
View File
@@ -87,16 +87,17 @@ int main(int argc, const char * argv[])
#endif
// check arguments
if ( argc != 3 )
if ( argc != 4 )
{
std::cout << "Usage: xlxd callsign ip" << std::endl;
std::cout << "example: xlxd XLX999 192.168.178.212" << std::endl;
std::cout << "Usage: xlxd callsign xlxdip ambedip" << std::endl;
std::cout << "example: xlxd XLX999 192.168.178.212 127.0.0.1" << std::endl;
return 1;
}
// initialize reflector
g_Reflector.SetCallsign(argv[1]);
g_Reflector.SetListenIp(CIp(argv[2]));
g_Reflector.SetTranscoderIp(CIp(CIp(argv[3])));
// and let it run
if ( !g_Reflector.Start() )
@@ -116,8 +117,14 @@ int main(int argc, const char * argv[])
}
#else
// wait any key
//for (;;);
std::cin.get();
for (;;)
{
std::cin.get();
#ifdef DEBUG_DUMPFILE
g_Reflector.m_DebugFile.close();
g_Reflector.m_DebugFile.open("/Users/jeanluc/Desktop/dmrdebug.txt");
#endif
}
#endif
// and wait for end