From 93a59264ff2e8515d11aa259577ee106287fd51d Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Fri, 5 Apr 2024 21:25:30 -0400 Subject: [PATCH] pass VSELP1/2 frames; --- p25/P25Defines.h | 2 ++ p25/P25RX.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/p25/P25Defines.h b/p25/P25Defines.h index fd3ec24..f1c8ffa 100644 --- a/p25/P25Defines.h +++ b/p25/P25Defines.h @@ -92,7 +92,9 @@ namespace p25 const uint8_t P25_DUID_HDU = 0x00U; // Header Data Unit const uint8_t P25_DUID_TDU = 0x03U; // Simple Terminator Data Unit const uint8_t P25_DUID_LDU1 = 0x05U; // Logical Link Data Unit 1 + const uint8_t P25_DUID_VSELP1 = 0x06U; // Motorola VSELP 1 const uint8_t P25_DUID_TSDU = 0x07U; // Trunking System Data Unit + const uint8_t P25_DUID_VSELP2 = 0x09U; // Motorola VSELP 2 const uint8_t P25_DUID_LDU2 = 0x0AU; // Logical Link Data Unit 2 const uint8_t P25_DUID_PDU = 0x0CU; // Packet Data Unit const uint8_t P25_DUID_TDULC = 0x0FU; // Terminator Data Unit with Link Control diff --git a/p25/P25RX.cpp b/p25/P25RX.cpp index a3e272d..0b316ad 100644 --- a/p25/P25RX.cpp +++ b/p25/P25RX.cpp @@ -258,6 +258,7 @@ void P25RX::processSample(q15_t sample) } return; case P25_DUID_LDU1: + case P25_DUID_VSELP1: m_state = P25RXS_VOICE; break; case P25_DUID_TSDU: @@ -275,6 +276,7 @@ void P25RX::processSample(q15_t sample) } return; case P25_DUID_LDU2: + case P25_DUID_VSELP2: m_state = P25RXS_VOICE; break; case P25_DUID_PDU: