Merge pull request #395 from juribeparada/nxdn

Check if SACCH is a VCALL during late entry at the first block
This commit is contained in:
Jonathan Naylor
2018-02-12 06:41:33 +00:00
committed by GitHub

View File

@@ -312,8 +312,11 @@ bool CNXDNControl::processVoice(unsigned char usc, unsigned char option, unsigne
unsigned char structure = sacch.getStructure();
switch (structure) {
case NXDN_SR_1_4:
m_rfMask |= 0x01U;
m_rfLayer3.decode(message, 18U, 0U);
if(m_rfLayer3.getMessageType() == NXDN_MESSAGE_TYPE_VCALL)
m_rfMask = 0x01U;
else
m_rfMask = 0x00U;
break;
case NXDN_SR_2_4:
m_rfMask |= 0x02U;