mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-12-22 09:10:57 -05:00
Small Fixes to DMR2YSF
This commit is contained in:
parent
a6aa187a22
commit
81b4b93e50
@ -43,6 +43,17 @@ m_dstPort(0U),
|
||||
m_localAddress(),
|
||||
m_localPort(0U),
|
||||
m_fcsFile(),
|
||||
m_fichCallSign(2U),
|
||||
m_fichCallMode(0U),
|
||||
m_fichFrameTotal(7U),
|
||||
m_fichMessageRoute(0U),
|
||||
m_fichVOIP(0U),
|
||||
m_fichDataType(2U),
|
||||
m_fichSQLType(0U),
|
||||
m_fichSQLCode(0U),
|
||||
m_ysfDT1(),
|
||||
m_ysfDT2(),
|
||||
m_ysfRadioID(),
|
||||
m_daemon(false),
|
||||
m_debug(false),
|
||||
m_dmrId(0U),
|
||||
|
@ -920,9 +920,9 @@ unsigned int CDMR2YSF::findYSFID(std::string cs, bool showdst)
|
||||
if (id == 0) {
|
||||
id = m_defsrcid;
|
||||
if (showdst)
|
||||
LogMessage("Not DMR ID found, using default ID: %u, DstID: %s%u", id, dmrpc ? "" : "TG ", m_dstid);
|
||||
LogMessage("DMR ID not found, using default ID: %u, DstID: %s%u", id, dmrpc ? "" : "TG ", m_dstid);
|
||||
else
|
||||
LogMessage("Not DMR ID found, using default ID: %u", id);
|
||||
LogMessage("DMR ID not found, using default ID: %u", id);
|
||||
}
|
||||
else {
|
||||
if (showdst)
|
||||
|
@ -6,15 +6,14 @@ LocalAddress=127.0.0.1
|
||||
LocalPort=3200
|
||||
FCSRooms=FCSRooms.txt
|
||||
RadioID=*****
|
||||
FICHCallsign=2
|
||||
FICHCallMode=0
|
||||
FICHBlockTotal=0
|
||||
FICHFrameTotal=7
|
||||
FICHMessageRoute=0
|
||||
FICHVOIP=0
|
||||
FICHDataType=2
|
||||
FICHSQLType=0
|
||||
FICHSQLCode=0
|
||||
# FICHCallsign=2
|
||||
# FICHCallMode=0
|
||||
# FICHFrameTotal=7
|
||||
# FICHMessageRoute=0
|
||||
# FICHVOIP=0
|
||||
# FICHDataType=2
|
||||
# FICHSQLType=0
|
||||
# FICHSQLCode=0
|
||||
DT1=49,34,98,95,41,0,0,0,0,0
|
||||
DT2=0,0,0,0,108,32,28,32,3,8
|
||||
Daemon=0
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <cstdint>
|
||||
|
||||
const unsigned int INTERLEAVE_TABLE_9_20[] = {
|
||||
0U, 40U, 80U, 120U, 160U, 200U, 240U, 280U, 320U,
|
||||
0U, 40U, 80U, 120U, 160U, 200U, 240U, 280U, 320U,
|
||||
2U, 42U, 82U, 122U, 162U, 202U, 242U, 282U, 322U,
|
||||
4U, 44U, 84U, 124U, 164U, 204U, 244U, 284U, 324U,
|
||||
6U, 46U, 86U, 126U, 166U, 206U, 246U, 286U, 326U,
|
||||
@ -609,7 +609,7 @@ std::string CYSFPayload::getDest()
|
||||
std::string tmp;
|
||||
|
||||
if (m_dest)
|
||||
tmp.assign((const char *)m_dest, YSF_CALLSIGN_LENGTH);
|
||||
tmp.assign((const char *)m_dest, 5);
|
||||
else
|
||||
tmp = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user