Merge pull request #443 from dd5xl/master

Add forwarding of alphanum payload for func Alert2 msgs
This commit is contained in:
Florian (DF2ET) 2018-07-20 11:47:22 +02:00 committed by GitHub
commit 9c17f83f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,8 +130,9 @@ bool CPOCSAGControl::processData()
LogDebug("Message to %07u, func Alert 1", m_ric);
break;
case FUNCTIONAL_ALERT2:
m_text.clear();
LogDebug("Message to %07u, func Alert 2", m_ric);
m_text = std::string((char*)(data + 4U), length - 4U);
LogDebug("Message to %07u, func Alert 2: \"%s\"", m_ric, m_text.c_str());
packASCII();
break;
default:
break;