mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Add code for handling NXDN data calls and remove unused YSF code.
This commit is contained in:
parent
d1ae3b0c18
commit
7737659729
3 changed files with 77 additions and 307 deletions
|
|
@ -92,13 +92,9 @@ unsigned char CNXDNLayer3::getCallOptions() const
|
|||
return m_data[2U] & 0x1FU;
|
||||
}
|
||||
|
||||
bool CNXDNLayer3::getHasInfo() const
|
||||
unsigned char CNXDNLayer3::getDataBlocks() const
|
||||
{
|
||||
unsigned char type = getMessageType();
|
||||
|
||||
return type != NXDN_MESSAGE_TYPE_IDLE &&
|
||||
type != NXDN_MESSAGE_TYPE_VCALL_IV &&
|
||||
type != NXDN_MESSAGE_TYPE_SDCALL_IV;
|
||||
return m_data[8U] & 0x0FU;
|
||||
}
|
||||
|
||||
void CNXDNLayer3::getData(unsigned char* data) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue