From 075f0dbda285a0c2ae7a6ed59d79e03dca2c34bb Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Thu, 25 Jun 2026 17:21:06 -0400 Subject: [PATCH] use the last HDU for the encryption flag; --- src/host/p25/packet/Voice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/p25/packet/Voice.cpp b/src/host/p25/packet/Voice.cpp index 4302dfc8..b842cc75 100644 --- a/src/host/p25/packet/Voice.cpp +++ b/src/host/p25/packet/Voice.cpp @@ -408,7 +408,7 @@ bool Voice::process(uint8_t* data, uint32_t len) LogInfoEx(LOG_RF, "P25 Voice Call, srcId = %u, dstId = %u", srcId, dstId); uint8_t serviceOptions = (m_rfLC.getEmergency() ? 0x80U : 0x00U) + // Emergency Flag - (m_rfLC.getEncrypted() ? 0x40U : 0x00U) + // Encrypted Flag + (m_rfLastHDU.getEncrypted() ? 0x40U : 0x00U) + // Encrypted Flag (m_rfLC.getPriority() & 0x07U); // Priority if (m_p25->m_enableControl) {