mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-21 06:13:49 +00:00
Merge pull request #443 from dd5xl/master
Add forwarding of alphanum payload for func Alert2 msgs
This commit is contained in:
commit
9c17f83f9e
1 changed files with 3 additions and 2 deletions
|
|
@ -130,8 +130,9 @@ bool CPOCSAGControl::processData()
|
||||||
LogDebug("Message to %07u, func Alert 1", m_ric);
|
LogDebug("Message to %07u, func Alert 1", m_ric);
|
||||||
break;
|
break;
|
||||||
case FUNCTIONAL_ALERT2:
|
case FUNCTIONAL_ALERT2:
|
||||||
m_text.clear();
|
m_text = std::string((char*)(data + 4U), length - 4U);
|
||||||
LogDebug("Message to %07u, func Alert 2", m_ric);
|
LogDebug("Message to %07u, func Alert 2: \"%s\"", m_ric, m_text.c_str());
|
||||||
|
packASCII();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue