From 448a6aea3dcd7d7aed26fda99e828cbb3a60f358 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sat, 12 Feb 2022 20:38:28 -0500 Subject: [PATCH] stub out functions; --- p25/dfsi/LC.cpp | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/p25/dfsi/LC.cpp b/p25/dfsi/LC.cpp index da3bbdec..8fca1ea3 100644 --- a/p25/dfsi/LC.cpp +++ b/p25/dfsi/LC.cpp @@ -117,6 +117,86 @@ void LC::encodeNID(uint8_t* data) encodeStart(raw + 1U); } +/// +/// Decode a voice header 1. +/// +/// +/// True, if decoded, otherwise false. +bool LC::decodeVHDR1(const uint8_t* data) +{ + // TODO TODO TODO + return true; +} + +/// +/// Encode a voice header 1. +/// +/// +void LC::encodeVHDR1(uint8_t* data) +{ + // TODO TODO TODO +} + +/// +/// Decode a voice header 2. +/// +/// +/// True, if decoded, otherwise false. +bool LC::decodeVHDR2(const uint8_t* data) +{ + // TODO TODO TODO + return true; +} + +/// +/// Encode a voice header 2. +/// +/// +void LC::encodeVHDR2(uint8_t* data) +{ + // TODO TODO TODO +} + +/// +/// Decode a logical link data unit 1. +/// +/// +/// True, if decoded, otherwise false. +bool LC::decodeLDU1(const uint8_t* data) +{ + // TODO TODO TODO + return true; +} + +/// +/// Encode a logical link data unit 1. +/// +/// +void LC::encodeLDU1(uint8_t* data) +{ + // TODO TODO TODO +} + +/// +/// Decode a logical link data unit 2. +/// +/// +/// True, if decoded, otherwise false. +bool LC::decodeLDU2(const uint8_t* data) +{ + // TODO TODO TODO + return true; +} + +/// +/// Encode a logical link data unit 2. +/// +/// +void LC::encodeLDU2(uint8_t* data) +{ + // TODO TODO TODO +} + // --------------------------------------------------------------------------- // Private Class Members // ---------------------------------------------------------------------------