mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-21 06:13:49 +00:00
Fix P25 bug introduced by PR #853 with following changes - Fix CP25Data::encodeTSDU() with P25_LCF_GROUP/P25_LCF_GRP_VCH_GRANT
- FIx P25Control P25_LCF_GROUP handling with P25_LCF_GRP_VCH_GRANT as LCF value.
This commit is contained in:
parent
3ba965ed7e
commit
8fe1c551eb
3 changed files with 12 additions and 2 deletions
|
|
@ -432,7 +432,7 @@ bool CP25Control::writeModem(unsigned char* data, unsigned int len)
|
|||
// Build a Group Voice Channel Grant response
|
||||
// Save original LCF and set Grant LCF for encoding
|
||||
unsigned char originalLcf = m_rfData.getLCF();
|
||||
m_rfData.setLCF(P25_LCF_GROUP);
|
||||
m_rfData.setLCF(P25_LCF_GRP_VCH_GRANT);
|
||||
m_rfData.setServiceType(0x00U); // Service options: 0x00 = routine priority, no emergency
|
||||
|
||||
// Encode TSDU with Grant response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue