From 0ca06e2219f87d76755d6064c2524757d8aa3849 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 21 Mar 2018 22:01:35 +0000 Subject: [PATCH] Add new transparent data bypass. --- SerialPort.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SerialPort.cpp b/SerialPort.cpp index e0d6193..dc05f13 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -68,6 +68,8 @@ const uint8_t MMDVM_NAK = 0x7FU; const uint8_t MMDVM_SERIAL = 0x80U; +const uint8_t MMDVM_TRANSPARENT = 0x90U; + const uint8_t MMDVM_DEBUG1 = 0xF1U; const uint8_t MMDVM_DEBUG2 = 0xF2U; const uint8_t MMDVM_DEBUG3 = 0xF3U; @@ -759,6 +761,10 @@ void CSerialPort::process() } break; + case MMDVM_TRANSPARENT: + // Do nothing on the MMDVM. + break; + #if defined(SERIAL_REPEATER) case MMDVM_SERIAL: { for (uint8_t i = 3U; i < m_len; i++)