From 83e0689e76b0c00ab5d40d04063b7eb50677af64 Mon Sep 17 00:00:00 2001 From: Thomas Tsou Date: Tue, 20 Aug 2013 16:10:01 -0400 Subject: Transceiver52M: Make GSM pulse filter internal to implementation There is no reason expose the pulse shaping filter outside of the signal processing calls. The main transceiver object makes no use of the filter and there's no reason to pass it around. Initialize the pulse shape with the signal processing library, and maintain an internal static member like many of the other library variables. Similarly destroy the object when the library is closed. Signed-off-by: Thomas Tsou --- Transceiver52M/Transceiver.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Transceiver52M/Transceiver.h') diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h index 91d92b2..3175213 100644 --- a/Transceiver52M/Transceiver.h +++ b/Transceiver52M/Transceiver.h @@ -124,8 +124,6 @@ private: /** send messages over the clock socket */ void writeClockInterface(void); - signalVector *gsmPulse; ///< the GSM shaping pulse for modulation - int mSPS; ///< number of samples per GSM symbol bool mOn; ///< flag to indicate that transceiver is powered on @@ -168,6 +166,7 @@ public: /** start the Transceiver */ void start(); + bool init(); /** attach the radioInterface receive FIFO */ void receiveFIFO(VectorFIFO *wFIFO) { mReceiveFIFO = wFIFO;} -- cgit v1.2.3